Forums > MaxMSP

(Audio) Signal to float transformation for each sample.

February 13, 2013 | 8:23 am

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


February 13, 2013 | 4:05 pm

look to peek~ and/or poke~


February 14, 2013 | 10:43 am

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…


March 12, 2013 | 11:50 pm

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


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