Prev Previous Post   Next Post Next
Old 2nd January 2006, 09:03   #1
ulillillia
Senior Member
 
ulillillia's Avatar
 
Join Date: Feb 2002
Location: Minot, ND, USA
Posts: 381
32-bit WAV files - floating point versus integerical

Not sure where to post this, but this seems the best bet. Some of the latest WAV files have 32-bit precision. If you know programming, you should know that there are three types of 32-bit variables: float, int, and long. The more bits that are used, the greater the precision, but the more disk space and memory is used as well.

My question is, what advantages does 32-bit floating point (floats) have over 32-bit integerical (ints or longs) for WAV files? I understand that 32-bit floats have support for fractions and decimals along with exponents. I don't see what use it has for WAV files. They all have the same degree of precision. I'm just curious, that's all.

void BlueWater() {water.color=blue; while(GameRunning) {if (fox.pos == InBlueWater) {fox.air--; FoxDrown(fox.air);} else {fox.air=1800; fox.flags = WantsToGetWet; } WaitFrames(1); }} // My top favorite thing in 2D Sonic (as C)
ulillillia is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Community Center > Music O'Rama

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump