OpenBCI_GUI, modified for other EEG device
Hey all,
Say I have numbers ranging from 0 to +- 2000 from another EEG device on Processing. I want to custom plot these on the OpenBCI GUI. How would I go about doing that in the OpenBCI GUI code.
Ahmed
Ahmed
Comments
Yes I want to plot my other device's EEG data, and it's not OpenBCI. I have the numbers in Processing, and I need to plot it. I sort of forgot to mention that it was live data.
I have made some progress on this by modifying the synthesizeData function and putting in the raw data Integers instead of the val_uV value at the end, but I want my readings to be accurate, as OpenBCI's EEG would be plotted on the OpenBCI GUI. So I need help with that.
I already have it playing from a recording. It's the Live that's the issue.
It's the emotiv epoc, I want to display its live stream on the OpenBCI GUI. No I havn't checked that but I will.
Say if I do get the microvolts values: Where exactly do I input these values? My best guess would be right now to change the values of curDataPacket.values[Ichan] (for example in the Synthesize function in OpenBCI_GUI file), and when I'll run the algorithmic synthesizer, it will display the live values.
What do you think about this? I've been going this way about it right now. My current value of curDataPacket is as follows: curDataPacket.values[Ichan] = (int) (0.5f+ Float.valueOf(tokens[Ichan]) / scale_fac_uVolts_per_count);
Where tokens is an array of the numbers inputted from the Emotiv Epoc with length 17: 14 electrodes, 1 unknown value, and 2 gyroscopes.
Ahmed
I already have the numbers in Processing using Cykit, emotkit's Windows cousin.
This is just the testing/debugging phase, of course the end version will have a separate Emotiv window, like the Live or the Playback one.
I just need to know where exactly to input the numbers, the rest I'll just handle myself.
So you need to adjust any portions of the OpenBCI_GUI that incorporate the sample rate. That includes the horizontal axis scaling, FFT, filters, etc.
In VPL environments such as BrainBay, BioEra, OpenViBE, neuromore, etc. -- the sample rate automatically adjusts. As it is part of the descriptor information that is made available through the connection pipes. That is, the pipes pass both "in band" data stream, and "out of band" configuration information.
William