"32-bit monaural sound" in Jack

I played with Jack , and I noticed that the default sound type is JACK_DEFAULT_AUDIO_TYPEset to “32-bit monochrome monochrome sound”.

I'm a bit confused: IEEE defines a 32-bit floating-point range from about 3.4E-38 to 3.4E + 38, and I was wondering what the maximum and minimum “undistorted” amplitude that jack_default_audio_sample_tcan hold this type of sound. For example, if some DSP algorithm gives me samples in the range [0,1], how can I correctly convert between them and the Jack format?

+3
source share
1 answer

, 16- 24- . IIR, , , . , , .

x_float = x_int * (1.0/SHRT_MAX), , y_int = y_float * SHRT_MAX 16- . 24- ADC_MAX = (1 << 24) - 1.

JACK, , , +/- 1 .

+5

All Articles