How does Sonar decode m4a files?

Author
PeterMc
Max Output Level: -80 dBFS
  • Total Posts : 504
  • Joined: 2003/11/12 23:46:34
  • Location: Tasmania
  • Status: offline
2016/08/01 22:13:37 (permalink)

How does Sonar decode m4a files?

How does Sonar uncompress m4a (Apple lossless) files when they are dragged into the track view? Is it internal code or a system codec?
 
Why do I want to know this? Sonar does this flawlessly (nulls with imported wav file) but another program I use doesn't.
 
Cheers, Peter.
 

i5 6500, H170M, Intel HD 530, 16GB, Focusrite Scarlett 8i6, Win 10 Pro (1803) (64 bit), Cakewalk by Bandlab

#1

4 Replies Related Threads

    THambrecht
    Max Output Level: -73 dBFS
    • Total Posts : 867
    • Joined: 2010/12/10 06:42:03
    • Location: Germany
    • Status: offline
    Re: How does Sonar decode m4a files? 2016/08/02 03:37:05 (permalink)
    Uncompressing m4a with ALAC-compression is always losless.
    It should make no differnece if this is internal or system code.
    Only AAC compression is not losless.

    We digitize tapes, vinyl, dat, md ... in broadcast and studio quality for publishers, public institutions and individuals.
    4 x Intel Quad-CPU, 4GHz Sonar Platinum (Windows 10 - 64Bit) and 14 computers for recording tapes, vinyl ...

    4 x RME Fireface 800, 2 x Roland Octa Capture and 4 x Roland Quad Capture, Focusrite .... Studer A80, RP99, EMT948 ...

    (Germany)  http://www.hambrecht.de
    #2
    PeterMc
    Max Output Level: -80 dBFS
    • Total Posts : 504
    • Joined: 2003/11/12 23:46:34
    • Location: Tasmania
    • Status: offline
    Re: How does Sonar decode m4a files? 2016/08/02 03:49:51 (permalink)
    Thanks. Yes, that's what I'd expected but I seemed to be getting differences. Turns out it's probably the volume metadata tag that itunes adds to files. It's meant to help with volume normalization. It is always calculated and stored in the file when ripping CDs, but the effect can be turned off for playback within itunes. However I'm suspecting that Sonos software honors the tag and therefore changes the volume of the song (and not by a constant either!)
     
    Cheers, Peter.
     

    i5 6500, H170M, Intel HD 530, 16GB, Focusrite Scarlett 8i6, Win 10 Pro (1803) (64 bit), Cakewalk by Bandlab

    #3
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    Re: How does Sonar decode m4a files? 2016/08/02 13:38:11 (permalink)
    I believe SONAR relies on the Microsoft Media Foundation library (MF.DLL) for its MP4/M4A/ACC codec. That's about all I know about it, but it at least that gives you a search term to google. My guess would be that SONAR properly ignores any volume normalization hints.
     
    Q: When you say the SONAR-generated file "nulls", what are you nulling it against? 


    All else is in doubt, so this is the truth I cling to. 

    My Stuff
    #4
    PeterMc
    Max Output Level: -80 dBFS
    • Total Posts : 504
    • Joined: 2003/11/12 23:46:34
    • Location: Tasmania
    • Status: offline
    Re: How does Sonar decode m4a files? 2016/08/02 19:06:44 (permalink)
    Original wav file ripped from CD nulls with m4a/ALAC rip using itunes when both are imported into Sonar.
     
    The same wav file played through a Sonos Connect and recorded all digitally (i.e. no A/D or D/A) also nulls with the original wav file.
     
    However, the m4a/ALAC played through a Sonos Connect and recorded digitally does not null. I originally wondered if the m4a->wav codec might be the issue (Sonos runs a version of Linux internally, so doesn't use the windows codec), but I now doubt it.
     
    I think the issue is that Sonos (not Sonar) honors the volume normalization ITUNNORM metadata tag that itunes adds when ripping any file. Sonos docs don't mention using this tag for ALAC files, but I think this is what is happening. I've just figured out how to change the ITUNNORM tag to set the volume normalization to zero (not trivial, as it turns out), so I'll run some tests today.
     
    Ultimately I'd like to play my music just as it is on the CD, not normalized (which includes limiting, so the sound is compressed somewhat). It is not really feasible to change the tags on all my ripped ALAC files. When I'm sure this is what is happening I'll need to talk to the Sonos developers.
     
    Cheers, Peter.
     

    i5 6500, H170M, Intel HD 530, 16GB, Focusrite Scarlett 8i6, Win 10 Pro (1803) (64 bit), Cakewalk by Bandlab

    #5
    Jump to:
    © 2025 APG vNext Commercial Version 5.1