The Amplify effect has a side effect

Help for Audacity on Windows.
Forum rules
ImageThis 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.
Post Reply
sinuslog
Posts: 8
Joined: Sun Mar 08, 2015 2:51 am
Operating System: Please select

The Amplify effect has a side effect

Post by sinuslog » Sun Mar 08, 2015 2:56 am

When I use Audacity 2.0.6 to amplify a piece of music, the bitrate goes up (I checked it in Foobar2000). For instance, a piece of music (flac) went from 700 to 1419 kbps after an amplification by a factor of 0.8 dB. Moreover, if I import the same flac file (700 kbps) and then export it without modifying it, the bitrate goes to 1407 kbps.

Is there a reason for that ?

kozikowski
Forum Staff
Posts: 69384
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: The Amplify effect has a side effect

Post by kozikowski » Sun Mar 08, 2015 4:13 am

Who made the original FLAC? Given there isn't something broken, FLAC is a compressed format and they pay attention to show content. Part of the show content is the dither signal that Audacity adds to the show. Audacity works internally at 32-floating, not 16. When you export, assuming you come back to 16, Audacity adds a tiny noise signal to hide the data errors and this can affect the export.

Also, assuming you exported at 32 floating, the show is very much larger than it was.

Audacity isn't a WAV editor. It's an audio production editor. It's goal is to sound good, not to have every bit in the right place.

Koz

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

Re: The Amplify effect has a side effect

Post by steve » Sun Mar 08, 2015 12:05 pm

sinuslog wrote:For instance, a piece of music (flac) went from 700 to 1419 kbps
1419 kbps is very high for FLAC format and suggests that you are probably using 24 bit FLAC. In the Export dialog, click on the Options button to see if it is set for 16 bit or 24 bit. 24 bit FLAC files are typically about double the size of 16 bit FLAC.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

sinuslog
Posts: 8
Joined: Sun Mar 08, 2015 2:51 am
Operating System: Please select

Re: The Amplify effect has a side effect

Post by sinuslog » Tue Mar 10, 2015 6:27 am

You're right, it was set to 24 bit. I changed it to 16.
Thank you.

sinuslog
Posts: 8
Joined: Sun Mar 08, 2015 2:51 am
Operating System: Please select

Re: The Amplify effect has a side effect

Post by sinuslog » Tue Mar 10, 2015 6:56 am

About that file that went from 700 at 16 bit to 1419 kbps at 24 bit, I have deleted the 16 bit version. If I convert the 24 bit version back to 16 bit, will there be a loss in quality ?

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

Re: The Amplify effect has a side effect

Post by steve » Tue Mar 10, 2015 12:50 pm

sinuslog wrote:If I convert the 24 bit version back to 16 bit, will there be a loss in quality ?
Well obviously you lose 8 bits per sample, but those are the "least significant" bits - in other words, those bits contribute least to the sound.
Being that the recording was previously a 16 bit Flac file, there will be virtually no meaningful data in those bottom 8 bits. When converting from a high bit depth to a lower bit depth (24 bits to 16 bits), there will be rounding errors in the least significant bit (the 16th bit) of the new format. Depending on how the conversion is done, the rounding errors may be averaged out over the least significant 2 (or even 3) bits so as to minimise harmonic distortion, but regardless of the method, the rounding errors will be very small.

I would guess that if you convert the 24 bit Flac files to 16 bit, then compare the two files (by listening) that you will not be able to hear any difference unless you turn the volume up really loud during very quiet parts of the recording. You may notice a slight difference in background noise if there are parts of the recording that are sufficiently quiet (such as at the very tail end of a fade-out). That difference may not be "worse" - it may even sound "better", because all that you are really losing is the bottom 8 bits of the 24 bit version, which never existed in the original 16 bit version. My advice is to try it, and then listen very critically to the difference before deciding whether it's worth the effort to re-convert.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

sinuslog
Posts: 8
Joined: Sun Mar 08, 2015 2:51 am
Operating System: Please select

Re: The Amplify effect has a side effect

Post by sinuslog » Tue Mar 10, 2015 11:46 pm

I'll have to check all my files, but I'll take my time. Many thanks for the infos. Best regards.

Post Reply