AudioSampleBuffer values range?


#1

HI, 

 

I was wondering what the range is for the float values stored in an AudioSampleBuffer. Is it [-1,1] or something else ?


#2

Well, there's no actual rule about the range - you could use it as a container class to hold any type of floating point number you like.

But yes, everything I've ever written that uses an AudioSampleBuffer will indeed expect it to have a normalised range of -1 to 1.


#3

OK thank you !