Forums > MaxMSP

audio signal to table (or list) of 200 elements each 50 ms. HOW TO DO?!!??

January 26, 2011 | 3:11 pm

Hi all,
a newbie in MaxMsp, PureData until now….

This is my problem, that was resolved easily in PureData, but no way to find how to do that in MaxMsp….
so, i have an audio signal and i want to write it to a table or a list (better) of NN elements each XX seconds….
very easy in PD:

|~ audio inlet
|
[metro 50]
|
[tabwrite~ waveform]

and define the table: [table waveform 200] ….

by the way, i want to use that to send audio signal snapshots via OSC to Processing to draw the audio…. (i have it done with PD and Proc.)…

thank you so much, and excuse my newbism… but could not find the answer anywhere…..


January 26, 2011 | 3:29 pm

You may have a look to buffer~, record~, peek~/poke~.


January 26, 2011 | 3:36 pm

Hi,
thank you for the replay…
Yes, i have lloked to them, tried to do it with them, but no good results (buffer and record was a good comb, but not what i espected…).
If you have a specific idea, it would be great.
So to recapitulate: given a signal, output a list of 200 elements of the signal values each 50ms…


January 26, 2011 | 4:38 pm

sorry I missed, zl, uzi

– Pasted Max Patch, click to expand. –

January 26, 2011 | 6:25 pm

Hi Emmanuel,

THANK YOU !!!!!
really great, that is exactly what i was lookong for!

so good that people help each other.
i was not ready to patch this compact and beautiful combination.

thank you!


Viewing 5 posts - 1 through 5 (of 5 total)