Collin’s Lab: Brainwave Beats

Music Science
Collin’s Lab: Brainwave Beats
YouTube player

Measuring brainwaves is not just for neuroscientists anymore – new affordable consumer level EEG devices ( & even some toys) do a respectable job at measuring tiny voltage pulses given off by neurons firing in the brain. Cool – but how shall we use these new found sensory powers? To automatically compose electronic music, of course!

Those interested in listening to beats made by their own brains (with help from a MindSet device) can download and run the MindSet Beat Sequencer code for Processing. The software has not been optimized/streamlined as of yet, but if you familiarize yourself with the required proMIDI & MindSetProcessing libraries, it will likely make sense. Those without a MindSet might consider modifying the Beat Sequencer code to automatically generate MIDI loops by choosing random patterns every second or so (fun!).

As I mentioned in the video, I struggled with recurring connectivity issues between the MindSet and Processing within Mac OS 10.6.7. (still unsure as to a cause, though a snafu in the serial RXTX library seems possible) Removing the device from Bluetooth preferences, shutting down, rebooting, and re-pairing the device was my only therapy. Sean Montgomery (author of the Biosensing Primer in MAKE Volume 26) assures me he had no such issues using Windows.

27 thoughts on “Collin’s Lab: Brainwave Beats

  1. Seth Johanson says:

    Can you tell me where you got the EEG headset.

    Thanks

    Seth

    1. Collin Cunningham says:

      note: see my reply below

  2. Collin Cunningham says:

    whoops – forgot to actually link NeuroSky’s MindSet page site:

    http://store.neurosky.com/collections/hardware/products/mindset

    I’m actually borrowing the MindSet from MAKE’s project lab. FYI – NeuroSky’s MindWave device has less features but costs half as much:

    http://store.neurosky.com/collections/hardware/products/mindwave-1

    No sign of a MindWave processing library though.

    1. Anonymous says:

      Use the Mindset library and hack back on what doesn’t work. They’re basically the same piece of kit.

      I too have problems with the BT, as the PC I’m using it on has
      its own incompatible BT preinstalled. I’m going to try it on one which doesn’t.

      1. Collin Cunningham says:

        (fyi – different avatar, same Collin)

        Yes, that’d be the first strategy I’d try. The Mindwave uses an RF dongle instead of BT so it might alleviate our problems altogether.

  3. Daniel Kim says:

    Ha ha! I just read about anime cosplay cat-ears that respond to your brain activity

    http://www.geekosystem.com/cat-ears-mind-control/

    Made by

    http://neurowear.net/

  4. Christian Restifo says:

    I keep waiting for the music from Close Encounters of the Third Kind to start…..;^)

  5. Clark Eagling says:

    Cool stuff, Colin, but if you sped up the BPM and/or allowed for a higher resolution than 1/4 notes, you’d get much more interesting, dynamic patterns. The data is being a bit too harshly quantized.

    1. Collin Cunningham says:

      I tried – speeding things up sounded a bit too chaotic. Extending the pattern list resolution to 16th notes would make things more interesting – sure it could be dynamically generated too.

  6. Anonymous says:

    Hi Collin,

    Amazing video, gonna try it out and scare the cat!

    I was wondering about the M4L patch you used, can you make it available at all?

    Thanks

  7. Jim Lombardo says:

    Neat project Collin! But the Processing sketch you posted (MindSetBeatSequencer-110505b.zip) appears to be corrupt.

    1. Tim Mason says:

      MindSet Beat Sequencer file is corrupted and will not unzip??? :( Ahhhhhh

  8. Richard Dennis Bartlett says:

    This rules Collin! Hooking up a strobe is a good idea, you can easily induce different brainwave states if you have lights blinking at the correct frequency. cf Dreamachine: http://en.wikipedia.org/wiki/Dreamachine

  9. Anonymous says:

    Hi Colin,
    I bought the MindWave just because of your hint, thank you very much.
    But: could you please upload the file  <> a second time somewhere?
    I tried the OSX native Archive Utility and got “The Unarchiver” as well – with the outcome that it ll create *.cpgz and *.rar in a loop. When trying to open this one in Windows 7 I am told the *.pde is “destroyed.”
    Many thanks in advance and:
    best regards from Germany,
    Paul

  10. Scott Young says:

    Hi, I’m having trouble downloading the code as other people have said.  Great idea, was laughing into my cornflakes the morning I saw this.  Perfect mix of science and fun.

    Cheers,
    Scott.

  11. Scott Young says:

    Hi, I’m having trouble downloading the code as other people have said.  Great idea, was laughing into my cornflakes the morning I saw this.  Perfect mix of science and fun.

    Cheers,
    Scott.

  12. Rabia Akbar says:

    please re-upload the source code zip-file,the file is corrupted

  13. Vlad Alfredov says:

    That seems like an interesting device… has anyone tried to take it a part ? I am curious about what it’s actually made of…(dry electrodes, Bluetooth ?anything else?)  it might be the case that people can build their own without too much hassle for much less than the price

  14. Daniel Whitney says:

    Duuuude

    I messed my pants when I found this video. I have been researching for months how to sonify eeg data using my Emotiv Epoc.EEG device. Can I get there form here or do I need to buy the mindset? This may sound strange but this is a actual dream coming close to becoming true. Very happy. THANK YOU!!!!!

    Dan

    1. Tim Mason says:

      I was wondering if you had a working copy of MindSetBeatSequencer-110505b.zip as the one on this page is corrupt. Could you send me a copy please.

  15. Benjamin says:

    Hi Collins, very nice video.
    I tried downloading the zip file, but I cannot unzip :
    file #1: bad zipfile offset (local header sig): 0

    would you mind sending me the file, I am prety exited to try your code out.

    Cheers men, and thanks

  16. neurosky mindwave + arduino hack: brainwave beats | devilDroid says:
  17. E-dæmon » 5 october 2012 says:

    […] The following movie was very inspiring today. After discussion we found out that it is not possible to see the different mind waves with the device we use. The device in the movie is much more expensive. Link: http://blog.makezine.com/2011/05/05/collins-lab-brainwave-beats/ […]

  18. Tim Mason says:

    I was wondering if you had a working copy of MindSetBeatSequencer-110505b.zip as the one on this page is corrupt. Could you send me a copy please.

  19. Collin’s Lab: Brainwave Beats | How to Videos, Articles & More |How To - Tips for your phone, tablet, computer, home theater says:

    […] http://blog.makezine.com/?p=95705Measuring brainwaves is not just for neuroscientists anymore – new affordable consumer level EEG devices ( & even some toys) do a respectable job at measuring tiny voltage pulses given off by neurons firing in the brain.Cool – but how shall we use these new found sensory powers? To automatically compose electronic music, of course! […]

  20. dubcults says:

    any chance to get another link for
    MindSetBeatSequencer-110505b.zip

    file seems to be corrupt.. thanks!

  21. Ali Murtaza says:

    Hey! This is amazing. But the MindSet Beat Sequencer code zip link seems to have a damaged zip file.

    Is there any way the link could be updated, or someone who downloaded it when it was working share it?

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK