Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Supported audio file formats for Chrome?

I'm interested in using the Web Audio API. Unfortunately my audio files are are all in an esoteric format that Chrome can't decode. (They're .wavs, but sampled at 96 kHz with 32-bit float encoding.)

Is there any way for me to query my browser (Chrome) to find out exactly which audio formats and encodings it supports?

UPDATE

I've found a list of file formats supported by Chrome here: https://sites.google.com/a/chromium.org/dev/audio-video

like image 521
dB' Avatar asked Dec 14 '11 03:12

dB'


People also ask

What are the 3 Supported audio formats by our browsers?

There are basically four options to choose from: WAV, MP3, Ogg and AAC. Not all browsers support all of them, but we'll come to that.

Is WAV supported by Chrome?

Google Chrome Chrome browser version 4 to 7 does not support Wav Audio Format. Chrome 8 to 67 supports Wav Audio Formatproperty.

Is WAV supported by browsers?

WAV files have a . wav extension and are supported by Google Chrome, Firefox, Opera, and Safari browsers.


1 Answers

You could test this sort of thing by trying to load a variety of sample files using a try...catch construct, and seeing which filetypes load and which don't. See this tutorial for loading files with the Web Audio API in Chrome.

like image 105
Boris Smus Avatar answered Oct 19 '22 08:10

Boris Smus