Skip to content

johmedr/lsl-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lsl-cli

Command-line tools for the Lab Streaming Layer.

Installation

Method 1: Using pip

pip install lsl-cli

Method 2: From source

git clone https://github.com/yop0/lsl-cli.git
cd lsl-cli
pip install .

Enabling autocompletion (bash/zsh users)

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

Usage

$> 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  

About

Command-line tools for Lab Streaming Layer

Resources

License

Stars

Watchers

Forks

Packages

No packages published