Bitrate doubles when exporting to WAV
Forum rules
This forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
-
SoundRacer
- Posts: 6
- Joined: Mon Jan 07, 2019 4:15 pm
- Operating System: Windows 10
Bitrate doubles when exporting to WAV
I open a wav file in Audacity 2.2.2, Win 10 64bit. The file is Mono, 22050Hz, 32-bit float. Project Rate (Hz) is 22050. 1 (Mono) Recording. In the folder the file has the Bitrate 352 kbit/s. But if I export as wav the new file shows Bitrate 705 kbit/s and has doubled in size from 111 kB to 222 kB even if I make no changes with the file in Audacity. This has happened several times and yesterday I could stop it from happening when I changed from 2 (Stereo) Recording to 1 (Mono) Recording but today it suddenly started to double the bitrate again. The wav file is one of the four engine sound files used for generating a SoundRacer file and the generating SW cannot work whith the double Bitrate.
Re: Bitrate doubles when exporting to WAV
What is the sample rate and number of channels of the exported file? (this webpage can tell you: https://mediaarea.net/MediaInfoOnline )SoundRacer wrote: ↑Mon Jan 07, 2019 5:06 pmif I export as wav the new file shows Bitrate 705 kbit/s
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: Bitrate doubles when exporting to WAV
Also, just wondering why you are using 32-bit float. That seems like massive overkill considering your original files have a low sample rate (22050 Hz).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: Bitrate doubles when exporting to WAV
By default, Audacity works internally at 32-bit floating point so what you see isn't always what you start with or what you get. Usually you are not importing/exporting floating point.The file is Mono, 22050Hz, 32-bit float. Project Rate (Hz) is 22050.
For uncompressed files: Bitrate (kbps) = Sample Rate (kHz) x bit depth x number of channels.
22.050kHz x 16 bits x 1 channel = 353 kbps
22.050kHz x 16 bits x 2 channels = 706 kbps
22.050kHz x 32 bits x 1 channel = 706 kbps
FYI - As you can see, we can calculate the bitrate for uncompressed files but when we're working with uncompressed files we usually we don't talk about bitrate... Usually we talk about the sample rate, bit depth, and number of channels... Normally we only talk about bitrate for compressed files.
If your system requires a certain format you probably need all of those details "match". It's probably not enough to know the bitrate. The same goes for compressed formats... The bitrate and compression format may not be enough information.
-
SoundRacer
- Posts: 6
- Joined: Mon Jan 07, 2019 4:15 pm
- Operating System: Windows 10
Re: Bitrate doubles when exporting to WAV
The file spec was decided by the sound engineer (Greg Hill, Australia) that supplied the original engine sound files for SoundRacer: idle is 11025 Hz, 176 kbit/s, onlow, onhigh (acceleration sounds) and offlow (deceleration sound) are 22050Hz, 352 kbit/s, all are mono and shows as 32-bit float when opened in Audacity.
But I may have just found the problem, looking in Edit/Preferences/Quality/Default Sample Rate was 11025 in the 22050 Hz offlow file. When I changed to 22050 the exported wav was 352 kbit/s again! So it must be the same as original sample rate.
But I may have just found the problem, looking in Edit/Preferences/Quality/Default Sample Rate was 11025 in the 22050 Hz offlow file. When I changed to 22050 the exported wav was 352 kbit/s again! So it must be the same as original sample rate.
Re: Bitrate doubles when exporting to WAV
As DVDdoug wrote, that's because Audacity automatically converts them to 32-bit float format.
11025 kHz, mono, 176 kbps = 16 bit
22050, mono, 352 kbps = 16 bit.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
SoundRacer
- Posts: 6
- Joined: Mon Jan 07, 2019 4:15 pm
- Operating System: Windows 10
Re: Bitrate doubles when exporting to WAV
Thanks steve and DVDdoug for assistance, now I will start a new question about the problem that I tried to solve with Audacity