Interactive examples demonstrating the Soundscape audio engine
Play a sample composition with bass, melody, and pad tracks.
Change the playback speed to simulate different game states.
Trigger one-shot sounds for game events.
For integration code examples, see the examples directory on GitHub, including:
basic-playback.ts - Load and play exported soundscapesprogrammatic-composition.ts - Generate music in codeadaptive-game-music.ts - Respond to game events