Jump to content

What is 32Bit Floating point


Recommended Posts

OK very quickly:

 

In digital audio, you sample the value of an analog electric signal coming from the mic at regular intervals. Each sample is coded with bits. A certain number of bits gives you a discrete number of values you can code. Any analog value between those discrete numbers will have to be "quantized", or approximated to the closest digital value. The more bits you have, the less quantization errors you get, and the more faithful the digital representation of your analog signal.

 

So 16 bits is great, and 24 bits is awesome.

 

But still, if you're using a lot of processing, with 24 bits you could overload a plug-in or your summing bus for example. So to give you even more dynamic range, Logic's audio engine (and for that matter, most native audio engines out there) give you 32 bit floating point. So now you can use 24 bits to code the value of the signal, and you have 8 bits left to code the range of that value.

 

Now for a minute, let's say we're working with decimal numbers instead of bits, and let's say you work with 3 "bits" fixed point.

 

You can code 001, 002, ... up to 999. If you have 999 and one of the processing plug-in wants to amplify that signal by a factor of 10, then you'd have to code 9,990, which you can't. You're overloading.

 

Now let's say you work in 5 "bits" floating point. 3 "bits" for the precision, 2 "bits" for the resolution.

 

Now you would have:

 

999 (x01)

 

Multiply that by 10, and you get.

999 (x10)

 

You don't lose any resolution, and you don't overload.

 

OK this was really an oversimplification so there are a lot of things that a mathematician would say are wrong in this post, but I wanted to give you an idea of how it works.

Link to comment
Share on other sites

Thanks David!

Always on the ball.

 

Last summer I was recording a vocalist with bad control of her dynamics, and this caused serious clipiping - shouldn't the 32bit FP prevented this?

I was recording with a motu 828MK2.

Link to comment
Share on other sites

Last summer I was recording a vocalist with bad control of her dynamics, and this caused serious clipiping - shouldn't the 32bit FP prevented this?

No, the recording is done in 16 or 24 bit fixed point depending on your settings. What would prevent the clipping is to use 24 bits and turn down the gain on the mic preamp.

 

32 bit floating point is only for internal processing within Logic.

 

When recording audio, Logic has the stupidest job in the world: take the 0s and 1s coming from the converter, and place them in a computer file. That's it. Period. Any clipping occured in your hardware, at the input of the converter. Nothing Logic can do to prevent that!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...