Audio
The Babylon.js audio engines are based on the Web Audio specification. They feature ambient, spatialized, and directional sounds, as well as basic audio buses for signal routing and mixing.
There are two sound engines in Babylon.js.
-
a new
AudioEngineV2with support for modern JavaScript using the latest features of the WebAudio API. -
an older
AudioEngine, which is a pre-8.0 Legacy API that is now deprecated.⚠️ The documentation for the older
AudioEnginehas been moved to the Legacy section.
We strongly recommend using the new V2 audio engine instead of the old legacy audio engine. A migration guide is here.

