CSV into OSC into Synthesis

Corrado  Cerutti 's icon

Hey all!

I'm quite new in Max/MSP and I think I started with a complex topic! I've recorded a session with a dancer in Mocap and I received a CSV file (since my spat5.~ apparently recorded only one circular azimuth in OSC) and I found a topic here to put a csv file into coll.

I'm kinda stuck since I've not so much experience with Max and I'm struggling to find solutions to my problems. To explain myself: I'd love to use the data from the dancer to control sounds in max. I guess the path CSV --> COLL --> OSC---> SOUNDS is what I got till now.

Any help? I find this extremely interesting, but maybe it's too advanced for me now without any help. I attach the patch I'm working on.

Many thanks to anyone who could help me!

Corrado

Max Patch
Copy patch and select New From Clipboard in Max.
tabfile.txt
txt 41.99 MB

Diemo Schwarz's icon

The csv file looks non-trivial. You could replace commans by spaces using sed on the terminal and then load it into Max's [text] object, where you have better control which lines to read.

Corrado  Cerutti 's icon

Thanks Diemo! After loading it into text object, what's the next passage for having osc messages?

Source Audio's icon

if you have spaces in separated items, which you have in that file

replacing comma with space as delimiter will get you out of column order.