Page 1 of 2

Default WAV 24-bit extension is .AIFF

Posted: Tue Nov 21, 2017 12:08 pm
by ppw1
In the more recent versions of Audacity,

when exporting audio to "Other uncompressed files" -> Header: "WAV (Microsoft)", Encoding: "Signed 24-bit PCM", the file extension gets set to .AIFF when it should be .WAV. (It was .WAV in the previous versions. All encoding types under the header WAV (Microsoft) have the extension .AIFF.) I don't know if this is deliberate or not, but

WAV (Microsoft) signed 16-bit PCM has a .WAV file extension.
WAV (Microsoft) 32-bit float PCM has a .WAV file extension.

It's only right for the 24-bit format to have a .WAV extension as well.

Re: Default WAV 24-bit extension is .AIFF

Posted: Tue Nov 21, 2017 1:12 pm
by steve
Please test with Audacity 2.2.0.

Re: Default WAV 24-bit extension is .AIFF

Posted: Tue Nov 21, 2017 1:16 pm
by ppw1
steve wrote:Please test with Audacity 2.2.0.
For Audacity 2.2.0, the opposite seems to be the case: .WAV is set as the default extension for all other uncompressed files, including AIFF, AU, WAVEX, W64 .. each of which has their own file extension ...

Re: Default WAV 24-bit extension is .AIFF

Posted: Tue Nov 21, 2017 3:34 pm
by waxcylinder
ppw1 wrote:
steve wrote:Please test with Audacity 2.2.0.
For Audacity 2.2.0, the opposite seems to be the case: .WAV is set as the default extension for all other uncompressed files, including AIFF, AU, WAVEX, W64 .. each of which has their own file extension ...
That looks to be the case when I test on W10 on 2.2.0 (and on 2.2.1 alpha). No account seems to be taken of what the user selects in the Format Options>Header dropdown menu on the Save as type>Other uncompressed files dialog - I would expect to in ideal circumstances.

WC

Re: Default WAV 24-bit extension is .AIFF

Posted: Tue Nov 21, 2017 5:59 pm
by waxcylinder

Re: Default WAV 24-bit extension is .AIFF

Posted: Wed Nov 22, 2017 3:08 pm
by waxcylinder
waxcylinder wrote:I thought this rang a bell: https://bugzilla.audacityteam.org/show_bug.cgi?id=1355
And today it rang an even louder bell as I tested on Windows 10 and macOS High Sierra.

It appears to be a general bug affecting all platforms whereby:
The underlying problem would appear to be the when using "Other uncompressed files" as the "Save as type" in the Export dialog when the user goes to the "Format Options" part of the dialog and chooses something other then the default or last-used in the "Header" dropdown - Audacity does not update the file extension in the "File name" data box.

Pressing the OK button will however cause Audacity to export the file in the required format and with the correct extension that the user specified in the "Header" dropdown.

A subsequent visit to The Export Audio dialog will show that Audacity remembers the "Header" type correctly AND it sets the extension in the "File name" correctly. BUT changing the "Header" type to something else shows that then the "File name" extension is once again not visually changed.
Accordingly I updated the bug report extending it to all platforms and updated the steps to reproduce and the release note for this bug.

I also upgraded it from P3 to P2 (Priority level 2).

Full bug report here: http://bugzilla.audacityteam.org/show_bug.cgi?id=1355

Many thanks for (re)alerting us to this ppw1 8-)

Peter

Re: Default WAV 24-bit extension is .AIFF

Posted: Wed Nov 22, 2017 4:37 pm
by ppw1
waxcylinder wrote: Many thanks for (re)alerting us to this ppw1 8-)
Peter
Don't mention it. I'm always happy to help :)

Please also see my other posts for more bug reports / suggestions, heheh :)

Re: Default WAV 24-bit extension is .AIFF

Posted: Thu Feb 22, 2018 10:19 pm
by ppw1
I'd like to note that this bug is still present in version 2.2.2.

Re: Default WAV 24-bit extension is .AIFF

Posted: Fri Feb 23, 2018 10:20 am
by waxcylinder
Indeed - and it's still high on my QA list - in fact I sent an email to Team only yesterday highlighting the need to fix tis bug (along with others rated P2).

Unfortunately I can't fix it myself - but I will continue to nag ...

Peter.

Re: Default WAV 24-bit extension is .AIFF

Posted: Sun Feb 25, 2018 1:01 pm
by ppw1
Well, since I'm here, I may as well write up a list of correct header-extension matches for future reference:
  • AIFF (Apple/SGI) - .aiff
    AU (Sun/NeXT) - .au
    AVR (Audio Visual Research) - .avr
    CAF (Apple Core Audio Format) - .caf
    HTK (Hidden Markov Model Toolkit) - .htk
    IFF (Amiga Interchange File Format/SVX8/SV16) - .iff
    MAT4 (Octave 2.0) - .mat
    MAT5 (Octave 2.1) - .mat
    MPC (Akai MPC 2k) - .mpc
    PAF (Ensoniq PARIS) - .paf
    PVF (Portable Voice Format) - .pvf
    RAW (header-less) - .raw
    RF64 (RIFF 64) - .rf64
    SD2 (Sound Designer II) - .sd2
    SDS (Midi Sample Dump Standard) - .sds
    SF (Berkeley/IRCAM/CARL) - .sf
    VOC (Creative Labs) - .voc
    W64 (SoundFoundry WAVE 64) - .w64
    WAV (Microsoft) - .wav
    WAV (NIST Sphere) - .wav
    WAVEX (Microsoft) - .wav
    WVE (Psion Series 3) - .wve
    XI (FastTracker 2) - .xi