Menu

#174 Incorrect M4A import on OSX

v2.1
closed-fixed
nobody
9
2013-06-07
2013-03-06
Brian McFee
No

(Version 2.0)

When loading certain M4A files on OSX, the track duration and pitch are both incorrect. For example, a track that should read as 4m57s instead comes out as 4m33s and with higher pitch. (Mediainfo dump of an offending track is attached.)

The Linux build does not appear to have this bug.

iTunes on OSX also processes the file correctly.

Discussion

  • Brian McFee

    Brian McFee - 2013-03-06

    mediainfo output on an offending track

     
  • Chris Cannam

    Chris Cannam - 2013-03-06

    Sounds like the file is being opened at the wrong sample rate (that is, a 44100 file is being treated as 48000).

    Is this the only file in the SV session? (SV takes the sample rate for the session from the first audio file loaded into it. If you load more than one audio file at different sample rates into the same session, the second and subsequent will have the wrong rate unless you have resampling switched on in the preferences. But SV should warn you about that anyway.)

     
  • Brian McFee

    Brian McFee - 2013-03-06

    Yes, it's the only file in the session, and it's the first file loaded upon starting SV.

    SV did not throw any warnings about resampling.

     
  • Chris Cannam

    Chris Cannam - 2013-03-06

    OK, I think I see the cause of the bug. It's a confusion between the file rate and sample rate members in the CoreAudio reader. Will fix, but I'm out of time to complete a new build on OS/X today -- I should be able to do this tomorrow.

    Thanks for the report and info.

     
  • Chris Cannam

    Chris Cannam - 2013-03-06
    • priority: 5 --> 9
    • status: open --> open-accepted
     
  • Brian McFee

    Brian McFee - 2013-03-06

    Excellent. Thanks!

     
  • Brian McFee

    Brian McFee - 2013-03-07

    Looks like it works. Many thanks!

     
  • Chris Cannam

    Chris Cannam - 2013-06-07

    (Fixed in 2.0.1)

     
  • Chris Cannam

    Chris Cannam - 2013-06-07
    • status: open-accepted --> closed-fixed
    • Group: --> v2.1
     

Log in to post a comment.

Auth0 Logo