Again with the brainwaves
I’m still playing around with the EPOC neuroheadset by Emotiv, as described in previous posts, such as Realtime Brainwave Data with WPF and Fun with brainwaves, part 3: Here’s some code. This time, I’m converting brainwaves into soundwaves in realtime (well, near-realtime).
I’ve built a simple signal processing pipeline, and I feed it signals from the EPOC’s neurodata stream. Once the brainwaves are transformed into frequency space, I do some filtering and then emit an audio signal that’s synthesized by using an inverse FFT. The raw sine waves are a bit brutal on the ears, so I also drive the MIDI device with pitches that corresponding to various brainwave frequencies. This produces some interesting sci-fi sound effects that resemble the score to the last act of 2001: A Space Odyssey.
Here’s a quick video that demonstrates the signal pipeline in action.
Technorati Tags: chaos,brainwave,EEG,.NET Framework
Comments
Anonymous
September 08, 2010
Nice!!! Just out of curiosy, how long did it take you to write this app? The instrumental overlays seem quite impressive I must say.Anonymous
September 09, 2010
Thanks, macias! It probably took a week altogether. The hardest part was figuring out how to create an in-memory WAV file for the the raw synthesized signal. The MIDI part turned out to be the easiest!Anonymous
September 13, 2010
It sounds like my atari in the 1980s. I heard similar sounds with the Epoc headset. www.youtube.com/watchAnonymous
September 13, 2010
The comment has been removed