Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: do you lose quality when lowering a wav file volume then raising it up (Read 19709 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

do you lose quality when lowering a wav file volume then raising it up

ok i'm editing some sound samples and they're starting to get annoying hurting my ears after editing stuff for hours.. so i went thru them all again later and got a lower level of volume, where you feel that its a bit too low. I'm wondering if i go to raise up the volume later in the future will i lose some quality? Wasnt sure if there's a threshold where if you lower the volume enough it loses that data. Ran a test where i lowered it by -40db and it was tiny, then raised it back up by 40 and compared it to the original and seemed identical. Saved a -20db file and a -40db file and they were both the same file size. So i'm guessing it's keeping all that data even though the volume is lower. But in the volume level tests i lowered it to the minimum, -inf db.. which seems to be a step past -59 so maybe -60, if i try and raise it up by +60 after, can't do it.. its mute like if it lost the data. 59 and back can work though. I'm wondering if some of those files i'm working on am i losing some part of the sound spectrum by it being a lower volume or can i raise it up back later and it would be the exact same file as if i kept it louder.

do you lose quality when lowering a wav file volume then raising it up

Reply #1
why don't you just lower your playback level instead of altering the waves amplitude?

do you lose quality when lowering a wav file volume then raising it up

Reply #2
Save the files in floating point format will solve your problem.

do you lose quality when lowering a wav file volume then raising it up

Reply #3
so i went thru them all again later and got a lower level of volume, where you feel that its a bit too low. I'm wondering if i go to raise up the volume later in the future will i lose some quality?
I echo what Propheticus asked.

Quote
Ran a test where i lowered it by -40db and it was tiny, then raised it back up by 40 and compared it to the original and seemed identical. Saved a -20db file and a -40db file and they were both the same file size. So i'm guessing it's keeping all that data even though the volume is lower.
This is not how uncompressed audio works at all. By definition, the files will be of the same size regardless of what they contain. You would find the same result with one file being silence.

Quote
But in the volume level tests i lowered it to the minimum, -inf db.. which seems to be a step past -59 so maybe -60, if i try and raise it up by +60 after, can't do it.. its mute like if it lost the data. 59 and back can work though.
Naturally, for –infinity is equal to silence.

Quote
I'm wondering if some of those files i'm working on am i losing some part of the sound spectrum by it being a lower volume or can i raise it up back later and it would be the exact same file as if i kept it louder.
You are not “losing some part of the sound spectrum” in the sense of any particular range of frequencies, or the infamous ‘soundstage’, or anything like that. You are adding noise to a degree that varies directly with the number of bits truncated by your attenuation in proportion to the number of bits used in the relevant mathematics. This noise remains when the resulting file is re-amplified.

Sure, using floating-point could alleviate all/most such concerns. But again, do you not have a volume control?

do you lose quality when lowering a wav file volume then raising it up

Reply #4
ok i'm editing some sound samples and they're starting to get annoying hurting my ears after editing stuff for hours.. so i went thru them all again later and got a lower level of volume, where you feel that its a bit too low. I'm wondering if i go to raise up the volume later in the future will i lose some quality?
If you lower the volume in a Digital Audio Workstation and save the file you will probably lose dynamic range, by simple removing the quiet part (lowest bits) of the audio. I said probably because if you save the resulting file using a higher bitdepth than the original file, you may not lose any dynamic range. Each bit of bitdepth is about 6dB of dynamic range. So to not lose any audio data after lowering the volume by say 32dB, you'd need to increase about bit depth by at least 6 bit. If your files are consistently too loud, you might want to expand the dynamic range of the signal with an expander, or record with more dynamic range.
It's only audiophile if it's inconvenient.

do you lose quality when lowering a wav file volume then raising it up

Reply #5
ok i'm editing some sound samples and they're starting to get annoying hurting my ears after editing stuff for hours.. so i went thru them all again later and got a lower level of volume,


+1 to what Propheticus said - why not just turn down the volume control on your monitoring system?

Quote
I'm wondering if i go to raise up the volume later in the future will i lose some quality? Wasnt sure if there's a threshold where if you lower the volume enough it loses that data.


In any audio system there is a point where any further lowering of signal level will start pushing the signal below the noise floor. While you can hear music that is somewhat buried in noise, bury it deep enough and it is truly lost.

Quote
Ran a test where i lowered it by -40db and it was tiny, then raised it back up by 40 and compared it to the original and seemed identical. Saved a -20db file and a -40db file and they were both the same file size. So i'm guessing it's keeping all that data even though the volume is lower.


File size is not an accurate guide to sound quality.

Quote
But in the volume level tests i lowered it to the minimum, -inf db.. which seems to be a step past -59 so maybe -60, if i try and raise it up by +60 after, can't do it.. its mute like if it lost the data.


That would appear be a peculiarity in the techniology used to reduce the level.  Apparently attenuation greater than a certain amount is interpreted as muting. A bit odd for an audio editor.

Quote
I'm wondering if some of those files i'm working on am i losing some part of the sound spectrum by it being a lower volume or can i raise it up back later and it would be the exact same file as if i kept it louder.


You may be confusing what you perceive with what actually happens technically speaking.

Because of the Fletcher Munson characteristic of your ears, reducing SPL at your ear decreases your perception of the loudness of sounds at both ends of the audio spectrum.

Any good volume control will attenuate all in-band frequencies the same.

do you lose quality when lowering a wav file volume then raising it up

Reply #6
Any good volume control will attenuate all in-band frequencies the same.

I'd much prefer one that is fitted to my equal loudness profile, personally.

do you lose quality when lowering a wav file volume then raising it up

Reply #7
You are loosing resolution (if you save in an integer format, such as 16-bit or 24-bit WAV).  Even though you don't hear any quality loss, I'd say it's "bad practice" to do this as part of music/sound production.  You wouldn't do that with your analog signal, would you?  Reduce a line level signal by 20 or 40 dB, and then run it through a mic preamp to bring the level back up?

Quote
ok i'm editing some sound samples and they're starting to get annoying hurting my ears after editing stuff for hours..
Unless you have calibrated your system, there is no known relationship between the digital level (dBFS) and the acoustic sound volume level (dB SPL).

This article recommends an acoustic level of 85dB SPL:
Quote
Over 1000 convention attendees filled the theatre center section...  “How many of you thought the sound was too loud?” About 4 hands were raised. “How many thought it was too soft?” No hands. “How many thought it was just right?” At least 996 audio engineers raised their hands.
This is an incredible testament to the effectiveness of the 85 dB at 0 VU standard...


You might want to get an SPL meter and adjust your (acoustic) monitor level.    You don't have to monitor at 85dB full-time during all editing.  But when you want to know what it "sounds like", it's good to have a standardized reference level.


 

do you lose quality when lowering a wav file volume then raising it up

Reply #9
It could alleviate pop-fatigue. But it might be a smiley curve EQ could do the trick just as effectively.

do you lose quality when lowering a wav file volume then raising it up

Reply #10
It's effectiveness would depend on how well you choose curves to best fit the general population and provide tweaks/presets to better fit any given individual; compensation for those with hearing loss and other gross outliers notwithstanding.

do you lose quality when lowering a wav file volume then raising it up

Reply #11
It could alleviate pop-fatigue. But it might be a smiley curve EQ could do the trick just as effectively.

Perhaps, but the point is that the amount of smile would be inversely proportional to the output level.

PS: I can split this if people are interested.  I was throwing it out there as pie in the sky (emphasis placed on fitted to MY profile).  FWIW, I like the variable loudness feature in Yamaha 2-ch receivers, though I generally use it more as a third EQ control, rather than a second (or primary) volume control as is recommended in the manual.

do you lose quality when lowering a wav file volume then raising it up

Reply #12
Any good volume control will attenuate all in-band frequencies the same.

I'd much prefer one that is fitted to my equal loudness profile, personally.


Would this be worth implementing?  It could be implemented.

Equal loudness is playback level, so you would need some idea of the actual playback volume and frequency response. I wonder if such a frequency based volume wouldn't confuse our brains which are accustomed to frequency neutral volume. I could see it for simple listening, but working with sound and attempting to make judgments on balance etc, mixing, it might not work well.

Regards attenuating a sample, generally not a good idea, but maybe very dependent on the nature of the sampled sound. If you attenuate a pure tone it isn't clear to me anything is lost, maybe change in noise level. Attenuating signal effectively raises the final noise level.

do you lose quality when lowering a wav file volume then raising it up

Reply #13
Any good volume control will attenuate all in-band frequencies the same.

I'd much prefer one that is fitted to my equal loudness profile, personally.

Isn't there already an fb2k or vst plugin for this? I know I have it installed, but don't use it. Not at my PC to check what it's called. To my ears (used to normal volume controls) it sounds quite unnatural, but that might be just a lack of correct calibration to actual listening level.

OP: -40dB and back at 16 bits is enough to add easily audible noise or distortion to quiet sounds. It leaves only the dynamic range (background hiss) of cassettes. If you have only loud sounds you will not hear the problem.

Cheers,
David.

do you lose quality when lowering a wav file volume then raising it up

Reply #14
Equal loudness is playback level

No, equal loudness is equal loudness.  While it is a function of playback level it is quite different from playback level.

@David's question that was slipped in during my response:
I have no idea.  Calibration is definitely key, both to SPL and to the user's response.

do you lose quality when lowering a wav file volume then raising it up

Reply #15
Save the files in floating point format will solve your problem.


Could you elaborate on that? Can you actually save a WAV file as floating point or as integer? I never heard of that before, sounds interesting. To test it, I opened a WAV file in Audacity (audio editor), and it shows "32-bit float" in file info. However, when I normalize the audio to a very low volume and then turn it back up again, a lot of noise is added to the file. So it seems to be a "lossy" process even if it's saved in floating point format.

By the way, isn't floating point discarding accuracy as well? What about values like 5,3333333~?

do you lose quality when lowering a wav file volume then raising it up

Reply #16
Save the files in floating point format will solve your problem.


Could you elaborate on that?


I think this thread answered your question pretty good.
http://www.hydrogenaudio.org/forums/index....st&p=434237

And I think you did not correctly configured Audacity to use floating point format. I uploaded a video to show it.
http://youtu.be/E_D6d83nVUE

do you lose quality when lowering a wav file volume then raising it up

Reply #17
Thank you. Links useful.

do you lose quality when lowering a wav file volume then raising it up

Reply #18
why don't you just lower your playback level instead of altering the waves amplitude?


then i won't hear the hiss for noise removal

do you lose quality when lowering a wav file volume then raising it up

Reply #19
Still don't get it. Won't lowering the waveform by xxdB instead of changing playback volume xxdB result in the same problem? Either way the hiss will be softer... By attenuating your wave and then turning up the playback volume you could possibly even introduce/amplify noise produced by your own equipment.

do you lose quality when lowering a wav file volume then raising it up

Reply #20
Still don't get it. Won't lowering the waveform by xxdB instead of changing playback volume xxdB result in the same problem? Either way the hiss will be softer... By attenuating your wave and then turning up the playback volume you could possibly even introduce/amplify noise produced by your own equipment.


I'm not doing any of this on headphones.. its thru an amp and then these big tower speakers that have 3 woofers on them. If i lower my amp volume i dont hear the hiss as well. So even though the wav volume level is now lower i can still hear the hiss compared to if i turned down the amp instead. So gotta have it at this volume level.

I've got 1800 sound effect samples i'm going thru.. done 900. On the weekend thought of re-checking the first files i had done and way too loud so had to go thru the 900 again turning down all the volume levels. After that checked the start ones again and they're all close.

A couple months ago when i was making the 1800 there was a volume knob change. Those earlier files when i go thru them now, i hear more hiss that i didnt hear before and gotta re-do noise reduction on those older files. Not gonna mess with my volume knob at this point. lol.


ok now back to what i'm wondering.. if anybody knows how wav files work.. like those tests i ran where i took a normal sounding wav and lowered it by -40db then raised it again.. sounded the same. You'd think doing that would add some kind of hiss or something. But it didnt.. It seems like in a wav file anything to do with volume is just a number so even though you dont hear it, its still contained in the file. But apparently somebody up there mentioned that file size doesnt have to do with that so even if it was a -inf it'd still be the same size but the original material isnt there anymore. Thats what i'm wondering.. wheres the point where that data gets lost when i do -inf compared to -59db.. its getting lost somewhere. So wheres the point where stuff gets thrown out and if i go to raise the volume later are there things that'll be lost? You guys got all that? and dont use any big words like attenuation or floating point format cause i dont know what that means. I didnt go to college for all this, like you guys ya know.

do you lose quality when lowering a wav file volume then raising it up

Reply #21
oh, another thing i'm wondering about is when i'm lowering the volume of a file lets say its still too loud and i run it again to lower the volume another time after already doing it, is that bad? like do i have to lower it all down in one shot? Lets say you do -10db all at once, is that the same as doing -1db ten times? or would that one have more hiss or something. Cause sometimes as i go thru the files i'm working on a second time i'll go oh that's gotta go down 1 or 2db. Is this causing more noise or something? I guess i'm thinking about the old days with cassette where its so bad doing things a second time.

do you lose quality when lowering a wav file volume then raising it up

Reply #22
If you want to listen for hiss, turn the overall volume down and boost the treble.

Having read all that you have posted I still don't know what your goal is, but I don't think its happening.

do you lose quality when lowering a wav file volume then raising it up

Reply #23
A couple months ago when i was making the 1800 there was a volume knob change. Those earlier files when i go thru them now, i hear more hiss that i didnt hear before and gotta re-do noise reduction on those older files. Not gonna mess with my volume knob at this point. lol.


Can you explain this in more detail?  I can't understand what it is that you're doing.

ok now back to what i'm wondering.. if anybody knows how wav files work.. like those tests i ran where i took a normal sounding wav and lowered it by -40db then raised it again.. sounded the same. You'd think doing that would add some kind of hiss or something. But it didnt..


It depends on what you did.  If you did it to a 16 bit WAV file, saved it as WAV, and then read it back in, then yes it reduced the SNR of the file by 40dB (although if the SNR was already low it might not have mattered). 

If you just lowered and raised it in your editor without saving it, the software hopefully used floating point precision and therefore introduced no additional noise.

It seems like in a wav file anything to do with volume is just a number so even though you dont hear it, its still contained in the file. But apparently somebody up there mentioned that file size doesnt have to do with that so even if it was a -inf it'd still be the same size but the original material isnt there anymore. Thats what i'm wondering.. wheres the point where that data gets lost when i do -inf compared to -59db.. its getting lost somewhere. So wheres the point where stuff gets thrown out and if i go to raise the volume later are there things that'll be lost? You guys got all that? and dont use any big words like attenuation or floating point format cause i dont know what that means. I didnt go to college for all this, like you guys ya know.


A 6 dB volume reduction throws away 1 bit.  For 16 bit WAV you have 16 bits.  Throw them all out and nothing is left.  So -96dB reduction == -inf.

Cause sometimes as i go thru the files i'm working on a second time i'll go oh that's gotta go down 1 or 2db. Is this causing more noise or something?


Yes it is, although not a huge amount.  If you're going to do multiple adjustments, save them to 24 bit WAV files so that you have more dynamic range available.

do you lose quality when lowering a wav file volume then raising it up

Reply #24
You are loosing resolution (if you save in an integer format, such as 16-bit or 24-bit WAV).  Even though you don't hear any quality loss, I'd say it's "bad practice" to do this as part of music/sound production.  You wouldn't do that with your analog signal, would you?  Reduce a line level signal by 20 or 40 dB, and then run it through a mic preamp to bring the level back up?

[<snip>


Actually there is commercial equipment that does EXACTLY that. The Sony BetaCam SP decks from the '80s have a switch for each audio channel that adds input attenuation of a line level signal to the mic preamp. It is NOT a variable gain amp. They are not alone in this practice.

Something to remember - in an integer system every time you drop 6dB you're effectively discarding a bit and you will not 'get it back' when you boost the gain.