Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Organising EEG OSC Dat

General discussion about anything TouchDesigner

Organising EEG OSC Dat

Postby ryanbruggeman » Fri Mar 15, 2019 4:03 pm

Hi all!

I am working with a Muse EEG headset and have it communicating with TD through the OSC In dat. Im receiving 10 rows of values and am only wanting to use 4 for further data visualization using GLSL. What would be the best way of getting only the first four values from the OSC In dat to then communicate with a GLSL or geometry?

Thanks for the help!

Ry
ryanbruggeman
 
Posts: 6
Joined: Wed Oct 03, 2018 10:17 pm

Re: Organising EEG OSC Dat

Postby timgerritsen » Fri Mar 15, 2019 7:28 pm

Hi there,

I would first convert it to a CHOP (DatTo CHOP).. and then use a Shuffle CHOP set to 'sequence every 4 samples' to align them to 4 channels.. In the shader you can then add a certain offset to your texelFetch().

Cheers,
Tim
timgerritsen
 
Posts: 66
Joined: Sun Jan 24, 2016 6:57 am


Return to General TouchDesigner Discussion

Who is online

Users browsing this forum: Google [Bot] and 13 guests