I’d like to use raw data in Max/MSP/Jitter (mostly in MSP) and I wonder if anyone knows how to do this. Specifically I would like to sonifiy EEG data. To do this I would I would like to know how to create an MSP signal directly from the data. EEG data is samples of a varying signal over time in the same way that audio is (albeit at a faster sampling rate), but I don’t know what file types max will handle and how to deal with data so that I can use it in max. There are many places that you can get eeg data from, here are two examples:
…starting with line 6 you have the data. This would be super-simple to access using the [text] object, send it "line $1" commands and use [zl ecils 2] to get the sample number and value by themselves (unless you need the first two values for something). Then use [scale] with the right arguments to get the values to a -1. to 1. range (possibly with tweaking), and use [peek~] to write the values directly to a buffer~.
Interested to hear what you come up with! Wish I had some EEG equipment too, I wanna hear my thoughts… ;-)