I'm using AVAudioSession to get raw samples from a microphone and trying to display a waveform. Does anyone know what is the range of values to expect? I don't see anything in the documentation. From testing, I can see that it can go up to +/- 4.
The only reliable way I seem to be able to do this is to use AVAudioConverter() to convert the samples to Int16, then to normalized floats. But that seems rather inefficient.
The only reliable way I seem to be able to do this is to use AVAudioConverter() to convert the samples to Int16, then to normalized floats. But that seems rather inefficient.