(Audio) Signal to float transformation for each sample.

Feb 13, 2013 at 8:23am

(Audio) Signal to float transformation for each sample.

Hi there,
I have written an external for Max, which is processing with float numbers. But now I’ve got trouble with the samplewise transformation from audio signal to float numbers. Is there any possibility?
“number~” gives me only each 250 ms the sample’s actual float value and the time interval for “snapshot~” is at least 1 ms, which is only each 48th sample value (by 48kHz samplelrate).
Kind regards,
Markusi

#66490
Feb 13, 2013 at 4:05pm

look to peek~ and/or poke~

#239311
Feb 14, 2013 at 10:43am

Hi,
thanks for the reply!
I’ve tried to use “poke~”, “buffer~” and “peek~” but in the end I still got the problem, that “peek~” can’t read the buffer in realtime.
Peek~ needs an Index, for reading the correct the sample in the buffer, but unfortunately this inlet expects an int (or a float) value again. And as it seems the only way to create an samplewise counter ist to use the object “counter~”, whose outlets only creates a signal…

#239312
Mar 12, 2013 at 11:50pm

Use vsnapshot~ from CNMAT’s MMJ Depot.
The object behaves like snapshot, but outputs the entire signal vector.

#239313

You must be logged in to reply to this topic.