AAC files change sample format displayed at left of track?

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.
Locked
allencmcbride
Posts: 149
Joined: Wed Jul 30, 2008 2:02 am
Operating System: Please select

AAC files change sample format displayed at left of track?

Post by allencmcbride » Tue Mar 10, 2009 4:12 pm

I asked a question last year that Gale Andrews answered for me: http://audacityteam.org/forum/viewtopic.php?f=17&t=6418

Based on that, I thought the sample format displayed at the left of each track was just a reflection of one's default settings, telling you that any newly created audio would be in that format, even though the current audio might be in a different format.

But I just noticed that, even though I have my default set to 32-bit, when I import an AAC file, the track's sample format display changes to 16-bit PCM. Importing WAVs, FLACs, or MP3s doesn't do this; the display keeps saying 32-bit no matter what the format of the audio I imported.

Can anyone explain the subtleties of Audacity's sample format display?

--Allen

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

Re: AAC files change sample format displayed at left of trac

Post by kozikowski » Tue Mar 10, 2009 5:42 pm

This is me with fresh coffee, waiting on the edge of my seat.

Koz

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: AAC files change sample format displayed at left of trac

Post by Gale Andrews » Mon Mar 23, 2009 3:55 am

allencmcbride wrote:I asked a question last year that Gale Andrews answered for me: http://audacityteam.org/forum/viewtopic.php?f=17&t=6418

Based on that, I thought the sample format displayed at the left of each track was just a reflection of one's default settings, telling you that any newly created audio would be in that format, even though the current audio might be in a different format.

But I just noticed that, even though I have my default set to 32-bit, when I import an AAC file, the track's sample format display changes to 16-bit PCM. Importing WAVs, FLACs, or MP3s doesn't do this; the display keeps saying 32-bit no matter what the format of the audio I imported.

Can anyone explain the subtleties of Audacity's sample format display?
The subtleties are (I believe) as I describe. I'm on Windows, where FFmpeg is the only way you can import AAC, and whenever FFmpeg is used to import a file, 16-bit resolution is used for 16-bit files, even if Default Sample Format is 32-bit float. I didn't notice that before, and I don't know yet if this is intended, or is some kind of limitation with FFmpeg, or our implementation of it in Audacity.

Have you installed FFmpeg:
http://www.audacityteam.org/manual/inde ... -Ins#macff

and when you go File > Import Audio what filter do you use to import the AAC file - is it "FFmpeg-compatible files" (which forces FFmpeg to import the file)? If you don't use the FFmpeg filter I believe QuickTime would import AAC, though not being on Mac I don't know if there is an explicit "AAC Files" filter.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

allencmcbride
Posts: 149
Joined: Wed Jul 30, 2008 2:02 am
Operating System: Please select

Re: AAC files change sample format displayed at left of trac

Post by allencmcbride » Mon Mar 23, 2009 4:15 am

Thanks! This does help me to understand. I hadn't thought about different import filters; I had assumed the only purpose to that drop-down menu in the import dialog was to gray out different files in the display. The AAC files come in at 16 bit whether I use the ffmpeg filter or Quicktime filter (there's no explicit AAC filter). But now I see that if I import a 16-bit WAV with the ffmpeg filter, it comes in at 16 bits too, even with default at 32. --Allen

Locked