32 bit Float

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
lancee
Posts: 12
Joined: Thu Apr 23, 2009 4:01 am
Operating System: Please select

32 bit Float

Post by lancee » Wed Jan 20, 2010 6:53 pm

Hello!

I just wanted to ask what is the exact buffer size of a 32 bit float in Audacity? I'm doing some SNR calculation and I need to know its buffer size to get the SNR. What does a 32 bit float means?

Once the audio file being imported to Audacity, Are there ways to get sampling at any time specified. For example, I have 4 minute audio file. Then I'll try to get the dB at some point of time let say at 0.25 min sec, what is its dB? I tried manually but I cannot get the accurate dB by looking at the dB at the left side.

Thanks!

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: 32 bit Float

Post by steve » Wed Jan 20, 2010 7:44 pm

32bit float is a rather complicated way of achieving extremely high precision calculations. There is an explanation here: http://en.wikipedia.org/wiki/IEEE_754-1985
lancee wrote:have 4 minute audio file. Then I'll try to get the dB at some point of time let say at 0.25 min sec, what is its dB?
For the "peak" dB, the easiest way to get a figure is to select (left mouse click + drag) the audio that you want to find the peak value of, then select "Amplify" from the Effects menu.

The Amplify effect is automatically set to the maximum amount of amplification that can be applied to the audio without causing clipping.
To put it another way, the number of dB that Amplify will automatically be set at, is the number of dB below zero of the selection. If Amplify is set to amplify by (example) 11.5dB, then the peak amplitude of the selection is currently -11.5dB (minus 11.5)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

gerdonhanry
Posts: 3
Joined: Wed Mar 31, 2010 12:40 pm
Operating System: Please select

Re: 32 bit Float

Post by gerdonhanry » Wed Mar 31, 2010 1:02 pm

From my point of view, A 32 bit system will most likely have 32 bit integers, so the largest value is 4,294,967,296. You can only assume the range of -32,767 to 32,767 for int if you want your code to be portable though. If you want at least a 32 bit data type then long int is the way to go.
Last edited by gerdonhanry on Fri Apr 02, 2010 12:50 pm, edited 1 time in total.

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: 32 bit Float

Post by steve » Wed Mar 31, 2010 4:16 pm

gerdonhanry wrote:That is up to your implementation
What is?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply