this may be a very silly question, so I hope the answer will come very soon… and very easy!
the fact is that I assumed the buffer~ object could contain only values ranging from 0. to 1. divided in a number of floating point values depending on the bit-rate…
I am now developing a patch where values to be stored in buffer~ are the "amplitudes" of fft bins and after worrying for some time about how to rescale the outcome of pfft~ "nofft" outlet into a 0. to 1. range I found out (thanks to the peek~ object) that values get stored in a buffer~ even if they exceed such range (the highest value I stored is 32766.246094).
so, is there any range limitation to values stored in a buffer~?
if there is any, how can it be calculated?
Yes, there is a maximum to it: the highest number (and lowest as well) you can express in 32 bit floating point. Numbers exceeding this maximum will not be generated by your max patch, so basically, you are safe. Saving the content of the buffer to file is another story.