Obviously, I know that. Similarly if you have 32-bit Default Sample Format, then import an APE file the track info will say 16-bit. Save it as a project and reopen it and track info now says 32-bit float.steve wrote:That is a spurious argument because the Track Info does not show the format of the audio in the track. The Track Info only shows the "default" format for the track. For example, if you copy some 16-bit audio from a "16-bit track" and paste it into a "32-bit float track", then you have 16-bit audio data in a track that says "32-bit float" in the Track Info.Gale Andrews wrote:But if you have a 16-bit track, process it at 32-bit float then return it to the track as 32-bit float rather than 16-bit, what does the Track Info say?
Adding one more confusion doesn't make everything right, we should address the track info problem IMO.
MP3 imports currently respect the Default Sample Format. Is this about importing an Audacity-encoded MP3 where Luke M suggests the file has 16-bit values?steve wrote:I think that where possible, files should import in their original bit-depth. Importing a 16 bit WAV file imports as 16-bit etc.
In cases where the import format is limited by the importer, then the file would import in whatever format the importer delivers. Importing an MP3 file with Lame would import as 16-bit because that is what LAME delivers.
One behaviour I do I disagree with is that 24-bit WAV imports as 32-bit float when Default Sample Format is 24-bit. So I assume you disagree too, but for different reasons?
Do you envisage making "Store at Default Sample Format" a preference, off by default, or get rid of Default Sample Format? I think if we are going to have Default Sample Format we should respect that on import, irrespective of the file (even though there was a case OGG should have gone against that).
And I say that even though always importing a 16-bit file at 16-bit resolution would save space. Most people want to use effects, so they will be taking more space if we compel returning processed audio at 32-bit float.
I do broadly agree, on account of the accumulated dithering. I think though that this should be an on-by-default preference rather than compulsory. I also think before we do that we must fix the track info so it behaves non-confusingly.steve wrote:"Processing" the audio is always performed as 32-bit float. This is where we should change the behaviour - when returning the processed data to the track we should NOT convert back down to integer format.
Gale