Hi curiositry
“You just need to bandpass the signal (for each band) and then take the amplitude. (This is easy in Python — see https://github.com/curiositry/EEGrunt/blob/master/EEGrunt.py#L258 — but I haven’t tried it in JavaScript.)”
Ha, easier said than done! But I”m game to give that a try once my OpenBCI arrives. Will probably pester you with questions at that point.
“You could add a link to the project’s GitHub repository to your above post, for anyone who’s curious about the code, and a link to the live version.”
Excellent advice, I just did that (Alpha Gamma Waves is my old blog, Brainwaves.io is my new improved version).
“Speaking of which, it might be worth talking about the security of the hosted app (so users know how whether the data they run through the online version remains private).”
I just added Stat Counter (http://statcounter.com/) code (to myonline version) so that I can see how much attention the Brainwave Analyzer is getting. But I’m definitely not capturing uploaded data, plus any captured data would be pretty meaningless without context. At some point I do want to setup an upload area for anyone who wants to upload screenshots of experimental results and details of the experiment.
But for anyone concerned about security, they can just download The Brainwave Analyzer from Github (Github version does not have the Stat Counter code) and without need of the internet.
“I also like that you can specify the start and end frequency for each “band”, since there’s no “standard” for what frequency range constitutes which band. I didn’t notice this last time”
Yes, I had just uploaded the flexible band version, which is probably why you didn’t notice it earlier. I had always assumed that band ranges were standardized, but they definitely are not., so that’s why I asked Nayuki to add the band flexibility version.
In the world of EEG, band definitions seem to be pretty much anything goes!
Bye for now,
Katie