Audio element not working with every MP3 file

Fixed Issue #8032303


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

Sign in to watch or report this issue.

Steps to reproduce

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.



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

    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, 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 :

    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,

  • 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?


  • 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