Audio element not working with every MP3 file

Fixed Issue #8032303

Details

Author
Corentin G.
Created
Jun 29, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
13.10586
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Hi,
It seems that some MP3 files are not decoded correctly (encoded 44100Hz/float 32bits/~96kbps).

I end up with this error :

Invalid ArrayBuffer. You must provide an ArrayBuffer that contains audio data to decode.

My process is the following:
I request a json file containing all the needed samples encoded with a Base64 algorithm. Once I get the file I decode all these MP3 samples and turn it into an UInt8Array.

The decoded binary data is definitely a valid MP3 file, I even downloaded it through:

var blob = new Blob([buffer], {type: 'audio/mp3'});
window.navigator.msSaveBlob(blob, note + '.mp3');

and I attached it to that post (47.mp3)

It’s working well with Chrome and even Safari, which is why I think it’s a Edge issue.

Best,
Corentin

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Ibrahim O.”

  • Thank you for the feedback. Could you please provide your app or sample code that can demonstrate the issue. This will help our investigation.

    Best regards,
    The MS Edge Team

  • Microsoft Edge Team

    Changed Status to “Not reproducible”

  • As we have not received further information on how to repro
    this item of feedback - we will resolve it as not repro. Should you have the
    details needed in order for us to reproduce this problem in our test
    environments please feel free to reactivate this issue at your earliest
    convenience.

    All the best,

    The MS Edge Team

  • Changed Status from “Not reproducible”

  • Hello Ibrahim,
    Really sorry for the late follow-up. I haven’t seen any notification for your messages.

    This issue is unfortunately still happening to our users. I’m working on https://flat.io, a website allowing people to work on collaborative music scores ( a bit like Google Docs for music composition )

    The issue is only impacting several of the drum elements, despite the fact that the exact same encoding is used for all the instruments (which are working well).

    I just created a score which is showing an encoding error to me : https://flat.io/score/59f03502053ffb6b101f5be0-drumedge

    The file I sent a year ago is still relevant, though.
    Just embedding it in an ** tag and loading the page will lead to a an encoding error
    WEBAUDIO17014: Decoding error: The stream provided is corrupt or unsupported.

    However the file plays just fine with Windows Media Player.
    Maybe the file encoding or the encoder is just unsupported by Edge, but I cannot find any guidelines on what is unsupported.

    Also, I saw that a development for supporting OGG files within Edge has recently started.
    I give you all my kudos to that, it will have a great impact!

    All the best,
    Corentin

  • Sorry for the markdown issue, I meant an audio tag

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

    Changed Assigned To to “Venkat K.”

    Changed Title from “decodeAudioData not working with every MP3 file” to “Audio element not working with every MP3 file”

    Changed Assigned To to “Stephen E.”

    Changed Assigned To from “Stephen E.” to “Brian B.”

    Changed Status to “Confirmed”

    Changed Status from “Confirmed” to “Fixed”

  • Changed Status from “Fixed”

  • Hello there,
    Thank you for fixing that issue! Do you have any idea of when it will be shipped?

    Best,
    Corentin

  • Microsoft Edge Team

    Changed Assigned To to “Brian B.”

    Changed Status to “Confirmed”

    Changed Status from “Confirmed” to “Fixed”

  • Hi! The fix is in Insider builds 17040+ and will be shipped with the RS4 Spring update. 

You need to sign in to your Microsoft account to add a comment.

Sign in