Command-line tools for the Lab Streaming Layer.
pip install lsl-cli
git clone https://github.com/yop0/lsl-cli.git
cd lsl-cli
pip install .
The package comes with autocompletion files for Bash and Zsh.
To enable autocompletion, use the following command to automatically source the autocompletion file (for Bash users, replace ~/.zshrc
with ~/.bashrc
):
lsl complete >> ~/.zshrc
$> lsl list # List available stream outlets
$> lsl show {outlet} # Show outlet data (in XML format)
$> lsl echo {outlet} # Continuously print received data
$> lsl find # Use options to specify outlet properties (e.g. --name, --channel_count, ...)
$> lsl stub {name} # Create a stub outlet streaming random data
$> lsl rate {outlet} # Evaluate timestamps and arrival rate of an outlet
$> lsl delay {outlet} # Evaluate the average delay of timestamps
$> lsl xdf info {file} # Show infos of recorded streams
$> lsl xdf rate {file} # Show nominal and effective rate of recorded streams
$> lsl xdf play {file} # Plays the recorded file on LSL