Hello,
I would like to use the object framp~ which gives the amplitude and frequency of FFT components.
But I didn't understand really well how I can use it.
The thing is I want to cut my sound in frames of 46 ms (2048 samples /44100Hz) and for each frame get the amplitude and frequency.
Has somebody an idea how to set parameters to do this?
Thank you
-
Framp~ - get frequency and amplitude
-
i never used it, but i think you could get this work with fiddle~ - just have a look at it, maybe it helps you.
-
If it's just the 2048 sample frame you're trying to get, you can do this by putting the FFT analysis stuff in a subpatch with a [block~ 2048] object. Window sizes for FFT conform to the block size of the patch. Each bin will then output per sample of the block (i.e. bin 1 = sample 1, bin 2 = sample 2, ... bin 2048 = sample 2048), then the next block starts a new frame.
I should point out that I've only done FFT with Max/MSP (haven't gotten into doing it with Pd yet), but I'm pretty sure it's along those lines.