Fixed To Float Core Object

The fixed to float (fixed2float) core object accepts audio buffers that are in fixed point format (16-bit, 24-bit, 32-bit, etc) and outputs buffers that are in floating point format.

The number of channels is configurable from the signal flow designer and the number of inputs is equal to the number of outputs.

The user can configure the scalar value to suit the fixed point format of the input samples. The reciprocal of this scalar value is multiplied by the fixed point input samples to convert them to floating point.

For example, to convert from 32 bit fixed point to float, this scalar value must be:

(1 << (32-1) – 1) = 2,147,483,647

_________________

Rate this post!