Comments (2)
Yeah, you need to use an audio format that the browser understands. In the modern world, mp3 would be the best, as most browsers support this now (either natively, or by passing it to a program that does support it.)
You can find a list of formats the browser supports at
https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats
It looks like AAC is only supported in Chrome when contained inside an MP4 container. Hrm.
from webaudio-examples.
Thanks for your response. I try to fill the aac raw into an adts container, and then the adts can be decoded successfully. I think MP4 container is also OK. ^_^
from webaudio-examples.
Related Issues (20)
- change the output on mobile device HOT 1
- python3 -m http.server returns wrong MIME type for javascript files causing samples not to work HOT 4
- Bug: Step-Sequencer Noise Duration 0 causes uncaught DOM exception HOT 1
- [webaudio-examples] Adding a waveform example HOT 2
- Uncaught (in promise) DOMException: The element has no supported sources. line 101 in index.html in audio-basics. HOT 3
- [step-sequencer] The slider inputs to set the envelope of the "Sweep" sound are not working as expected HOT 3
- [step-sequencer] The slider input to set the DTMF rate is not working as expected HOT 3
- Some directories are missing in README.md HOT 2
- Make headers in README.md consistent HOT 1
- Hyperlink methods and objects in directory descriptions to MDN Web Audio API docs HOT 3
- Multi track example could have mixing capabilities HOT 2
- Visualization for OscillatorNode HOT 1
- empty <!-- --> HTML comments in step-sequencer/index.html
- How to preserve an audio's pitch after changing AudioBufferSourceNode.playbackRate? HOT 1
- media-source-buffer example doesn't work in Safari HOT 2
- createMediaElementSource() requires prior call to getUserMedia() using Safari HOT 1
- Violent Theremin example has .DS_store file
- white noise live demo throws error HOT 3
- The element has no supported sources. HOT 4
- Voice-change-O-matic does not work on Safari iOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webaudio-examples.