Here are guidelines and some examples to use LSL with EMOTIV Brainwear®.
- Download and install the EMOTIV App and EmotivPRO.
- Get a EmotivPRO license from https://www.emotiv.com/emotivpro/
After connecting your EMOTIV Brainwear® headset, go to LSL settings menu in EmotivPRO. There are separate tabs for LSL Outlet and Inlet functionality.
Configure for data streams (EEG, Motions, Performance Metrics) as LSL Outlet.
-
Stream name: Show the name of LSL stream. The actual stream name on the other side (Inlet) will be EmotivDataStream-EEG, EmotivDataStream-Motion or EmotivDataStream-Performance-Metrics, depending on the type of data stream.
-
Data stream: There are 3 types of data streams: EEG, Motion, Performance Metrics. Each one will create an individual LSL stream.
-
Data format: Currently, 2 types are supported: cf_float32 or cf_double64.
-
Transmit type: We support both Sample and Chunk. A chunk contains certain number of samples, depending on the Chunk size.
Notes: If you choose type cf_float32, the timestamp might not be correct as expected because the timestamp value is out of range(-16777216 to 16777216) which mentioned in LSL doc.
To support sending data from a LSL Outlet to Emotiv data streams.
Currently we support sending markers to the Inlet with 2 options:
- A simple marker value - Double / integer type is expected but EmotivPRO will extract only the integer part before adding into data stream.
- Expected format of data:
{"MarkerValue"}
- Marker with time for timing synchronization - The marker event is a vector with 3 elements:
MarkerTime
is the epoch time of the event in double type.MarkerValue
is value of marker. Double / integer type is expected but EmotivPRO will extract only the integer part before adding into data stream.CurrentTime
is current epoch time (double type) when the marker is being pushed to the Inlet. It is usually later than theMarkerTime
.- Expected format of data:
{"MarkerTime", "MarkerValue", "CurrentTime"}
After sending marker via LSL, You can see the stream name in the Inlet page. Choose one then click the Connect button. After that, you will see the marker being added to the data stream as below:
There are some guidelines and examples on 3rd party applications:
-
Guidelines for MATLAB.
-
Guidelines for OpenViBE.
-
Guidelines for C++ project.
-
Guidelines for PsychoPy project.
-
Guidelines for Python project.
-
Guidelines for Unity project.
See here.