Forum › General › General questions and discussions › Access to the Cortex API, Connection to Red-Node, Streming OSC
- This topic has 2 replies, 2 voices, and was last updated 3 years ago by Ott Michael.
-
AuthorPosts
-
November 18, 2021 at 6:28 pm #745
Hello,
I am trying to figure out the different connectivity options I would have with an Emotiv Epoc X. I would use it for audio-visual art installations.
1. Assuming that I do not have an Emotiv Pro License but the BCI OSC Upgrade: Would I be able to stream realtime data from BCI over OSC? And at which rate? Does it include RAW EEG Data?
2. I tried to test the connection with node-red with a simulated device in the Emotiv Launcher. I followed the video Emotiv published on youtube. It took me a while to find out how I can get an APP ID and Secret by trail and error because that was not explained anywhere. Sadly, npm installed the Modules to a different path (./node-red/node_modules is empty) and I have not yet been able to track them down. If I could: Would at what rate would node-red get access to the realtime data from the Epoc X? Is there a difference for RAW Data and Commands/Facefeatures (blink, clench ect) in terms of realtime aquisition?
I would be grateful if someone could answer these questions.
November 19, 2021 at 3:26 am #746Hello Michael,
Thank you for your questions.
For your first question, please refer this document: https:<wbr />/<wbr />/github<wbr />.com<wbr />/Emotiv<wbr />/opensoundcontrol<wbr />/tree<wbr />/master. BCI_OCS currently supports Facial Expression , Mental Commands and Perfomance Metrics data streams. For Raw EEG API, you need to have the paid version of the EmotivPRO license and have access to Raw EEG API, which you can just apply for when you already have the active subscription.
For your second question, perhaps you have installed packages globally. Here is a hint how to track them down https:<wbr />/<wbr />/stackoverflow<wbr />.com<wbr />/a<wbr />/5926706
Different streaming data should run equally fast and has the same sense of “realtime”, but there is different of how many sample data are coming from Cortex. For reference, please see the document for more information https:<wbr />/<wbr />/flows<wbr />.nodered<wbr />.org<wbr />/node<wbr />/node<wbr />-red<wbr />-contrib<wbr />-emotiv<wbr />-bci in the “Output” section.Hope this helps. Please don’t hesitate to contact us if you have further questions.
November 19, 2021 at 10:58 am #747Thank you for your fast reply, it was really helpful. I was able to test the connection and signal-flow with node-red with a simulated EPOC X (256 Hz samplerate) device. I was able to receive all events (blinking ect.) and frequency bands in realtime without noticeable delay. I registered an APP in my Account without a EmotivPRO license and without ticking the box for EEG data. Am I right to assume that the Band-Frequencies are not considered Raw EEG and that these connections would yield the same result with the real EPOC X or is there a difference?
I think there might be an error in the Documentation regarding the frequency Bands, it lists different Output frequencies in the description and the Output section. But maybe I am just misunderstanding it:
This node outputs Frequency Band Power at a frequency rate of 8Hz and allows you to select which band (e.g. alpha) you would like to use.
<h4 id=”input-5″>Input:</h4>
Authorization token
<h4 id=”output-5″>Output:</h4>
Integer, at a frequency rate of 32, 64 or 128 Hz (depending on headset and configuration) -
AuthorPosts
- You must be logged in to reply to this topic.