Xerlome wrote:Thank you, Steve, this is a big help. I want to clarify a couple of things.
No problem, but first let's clarify about "lossless".
Strictly speaking "lossless" means that the conversion is "perfect" - no loss of quality at all.
In real life, hardly anything is "perfect", but in audio engineering there is often "so close to perfect that it makes no audible difference".
Converting from 32 bit float to 16 bit integer is in this camp. 16 bit WAV format is "very very nearly perfect", so it is referred to as "lossless". Mathematically it may not be "absolutely perfect", but it is so close that it rarely makes any difference.
320 kbps MP3 is "extremely good quality", but a little less perfect than WAV. Repeatedly re-encoding MP3s, even at 320 kbps, will eventually produce a noticeable deterioration in the sound quality. MP3 is referred to as a "lossy" format because there is
always some loss of sound quality.
Xerlome wrote:When I download an mp3 or mp4, am I encoding or decoding?
"Downloading" and "Recording" are different things.
If you are "downloading a file" then you are not doing either encoding or decoding. You are just copying the file from one location (somewhere on the Internet) to another (somewhere on your hard drive).
If you are "recording" an MP3 file (for example, if you are recording Internet radio, then the Internet stream (in MP3 format) is decoded by your radio player and converted by your sound card into analogue sound. You are then converting that analogue sound back into (uncompressed) digital audio and recording it.
"Downloading" a file will produce an "exact" copy of the original file.
"Recording" will produce a slightly reduced quality copy. The quality of the copy depends on how accurately you sound card can do the conversions from digital to analogue and back to digital.
Xerlome wrote:Which am I doing when I open the file in Audacity?
When you "open" (properly called "Importing") an MP3 file into Audacity, the MP3 is
decoded from MP3 into "uncompressed" digital audio. Audacity always works internally with uncompressed audio. The audio in Audacity is an uncompressed ("decoded") copy of the MP3.
Xerlome wrote:And when I export?
When you Export from Audacity, the audio data is
encoded into the required format.
Encoding to WAV format is "lossless"; that is, the encoding is (virtually) perfect.
Encoding to a "lossy" format, such as MP3, MP4, WMA.... is "lossy"; that is, there is some loss of sound quality.
Loss of sound quality when encoding to a lossy format is unavoidable. The best we can do is to minimise the amount of deterioration.
Xerlome wrote:Is there any loss during import to Audacity?
No, the audio is decoded and copied (virtually) perfectly from the file into Audacity.
Xerlome wrote: In the conversion to to WAV? Is there no loss editing a WAV file?
In normal circumstances, working in WAV format is virtually lossless.
For absolute "perfection" 32 bit float format should be used, but for practical reasons it is rarely used outside of Audacity.
Xerlome wrote:Another poster said we should edit at 32 and export at 16 because "32 bit float is not widely supported by other software".
Audacity works internally in 32 bit float format (think "EXTREME" high quality).
32 bit float is not widely supported, and file sizes are very large (double the size of a normal 16 bit WAV file).
16 bit WAV is generally considered "close enough" to "perfect" for most purposes.
32 bit float format is useful in audio editors because processing the audio can make small errors much bigger. The extreme quality of 32 bit float format ensures that there is no deterioration in sound quality while you are working.
Xerlome wrote:When you say I don't need to reset to 16 bit on export, do you mean under edit preferences?
Normally you can leave Audacity Preferences at their default settings. These settings have been carefully worked out to give best performance and quality in the vast majority of cases. The default "Quality" settings can be seen here:
http://manual.audacityteam.org/o/man/qu ... ences.html
There are a very few cases where other settings may be slightly preferable, but such cases are quite rare and the possible benefits are small. I would recommend sticking with the default settings here.
Xerlome wrote:Processing the way I described and you have qualified, how much damage would you expect starting from a 128 mp3?
I would guess that the additional damage would be hardly noticeable, though of course it is always possible to make a pig's ear of anything
