(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
look to peek~ and/or poke~
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...
Use vsnapshot~ from CNMAT's MMJ Depot.
The object behaves like snapshot, but outputs the entire signal vector.