real-world audio control/brainwaves
We looked at using "real world" audio data (i.e. from a microphone<)
as a control mechanism. Then we took some of the same ideas and applied
them to brainwave signals from our simple EEG sensors. Special
guest
Dave Soldier (Sulzer)
gave us the True inside scoop on Things Neuronal.
Links
pitch and time audio stuff:
- [bonk~] object download
-- where to get the latest Max/MSP version of Miller Puckette's
timing object [NOTE: get the 64-bit version
here (scroll down)
if you prefer to use it)
- [sgmund~] object download
-- where to get the latest Max/MSP version of Miller Puckette's
pitch analysis object [NOTE: get the 64-bit version
here (scroll down)
if you prefer to use it)
Muse EEG stuff:
- Muse EEG headband
-- Amazon page to purchase it if you'd like
- Muse website
-- the company's main web site for the Muse EEG
- Muse Developer SDK
-- contains the 'musio' executable you will need to run the class examples
(see the notes in the "Class Downloads" section below) along with the
visualizer app and a few other goodies.
- Muse connection examples
-- shows how to use the OSC capabilities of the Muse system; the Max/MSP
example is down towards the bottom
Dave links:
- davesoldier.com
-- Dave's main music/art page
- sulzerlab.org
-- Dave's main lab/neuro page
Class Downloads
- week7-patches.zip
-- the patches I showed in class. There are a few I didn't have time
to show, so will demo them next time. Some commentary on what's
included (there's a lot here!):
- timer*.maxpat -- this is the sequence of patches I built showing
how to extract an 'onset' from an audio signal for measuring timing,
starting with a simple CR ("return") key measurment
- bonk*.maxpat -- better timing extractor patches
using the [bonk~] object
- sigmund*.maxpat -- pitch analysis fun using the [sigmund~]
object. Some of the later patches use [rtcmix~] as well because
of the scheduling capabilities
- piano1-drone1 -- Logic projects used in the brain*.maxpat
patches for soumd
- brain*.maxpat -- except for brain1.maxpat (which shows
how I used the older iCube EEG headset), these use the Muse headset
for EEG data. To use these:
1. turn on the headset so it is ready to accept a bluetooth connection
2. double-click on the start-cmd2 executable file. This assumes
that you have installed the
Muse Developer SDK
and you have a "Muse" folder with all the stuff in your /Applications
folder. start-cmd1 is for use when you only want to use
the visualizer (but start-cmd2 will work in that case, too).
start-cmd2 will establish a bluetooth connection to the
headset and begin broadcasting the EEG data on UDP ports 5000
and 5001. If you use the Muse visualizer, you set it up to
receive on port 5000. All of the brain*.maxpat max patches
are set to receive data on UDP port 5001.
3. be sure to close the terminal window that started up when you
clicked on the start-cmd2 executable if you need to reset
or close headsets. Otherwise it will try to doubly-connect to
things and it won't wurk gud.
- OpenSoundControl.mxo, OSC-route.mxo, OSC-route.help.maxpat --
these are needed to do the UDP data connection for the Muse EEG data.
If you already have the CNMAT OSC objects installed, you should delete
these.
- bmax.js and bmin.js -- simple javascript files I used
in the brain2-autonormalize.maxpat (will show next class)
- cat1.aif, thinking.aif -- soundfiles necessary for some of
the snazzy brainwave demos.