Problem when trying to play a single sound

Hello , guys,
Im following official documentation , currently at sound section here
For my project im using this vite template.

When trying to initialize sound engine , doing:

    async initAudio() {
        const audioEngine = await BABYLON.CreateAudioEngineAsync();
        await audioEngine.unlock();

        // Audio engine is ready to play sounds ...
    }

I got following error message at console:

TypeError: BABYLON.CreateAudioEngineAsync is not a function

is there any package missing ? only dependency installed is “babylonjs”: “^6.38.0”
Please if you can point any important section from docs I missed It would be great.
Leandro.

You must use the latest current version of Babylon. 7.54.0.
You use the V2 audio engine that has just come out.

Documentation :

1 Like

cc @docEdub