A real-time visualizer for EEG data.
Main use case, currently: Receive EEG data via LSL and visualize, e.g. for neurofeedback.
This should be considered an unfinished toy project at this stage.
The binary incorporates several submodes that can be accessed via a subcommand tree. E.g. to run the spectrum analyzer client, use the following command:
eeg-visualizer client visualizer short-time-spectrum
Each submode comes with its own help
subcommand to print a usage message that
documents all further submodes, flags and options. Running eeg-visualizer help
prints the top-level usage message, so you can go from there.
Plus CMake and optionally Ninja for building.
Building on Windows should be possible, but has not been tested as of yet.
For *nix:
mkdir -p build; cd build
cmake ..
make
Debug build for development:
mkdir -p build; cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Debug
cd ..
ninja -C build
A package definition for Guix is also included.
By default, the LSL library prints info messages e.g. when connecting to the network. This can be configured via a configuration file, which can be created as follows:
mkdir -p $HOME/lsl_api && printf "[log]\nlevel = -2" > $HOME/lsl_api/lsl_api.cfg
Caution: If a configuration file already exists at $HOME/lsl_api
, it will be
overwritten by the above command. There are multiple possible locations for LSL
configuration files. It is recommended to use the same configuration on all
servers and clients on a network. Also see the LSL documentation.