Here is my patch :
If you hit space bar and move the number box until 512 values are displayed, and then press the 'c' key you will load the buffer with this values.
I made it via a coll object and a counter+metro because my values are coming (A1x) with a non constant sampling rate ... (around 200Hz) and I thought that I could load the buffer @200Hz after the coll object.
This was a bad idea. I forgot that Max will load the buffer with the sampling rate in DSP status.
So my question is : If I receive 512 values @ 200Hz from my sensor (so it is around a 2.5 sec buffer), how can I make Max load the buffer with the effective values at the effective sampling rate instead of loading it at 48000 KHz in my case ??
I would like to get the FFT of this buffer, so I would like it to be sampled at the same frequency than my incoming values, and not the frequency of the DSP status. Am I wrong ??
I am quite lost on this issue,
Thanks a lot,
Have a nice day,