Single Playback Demo
Description
The Single Playback Demo is the way to start using Jukebox.
It is the easiest demo that shows the basic usage of the jukebox.Player.
The demo is located at demo/single.html
The Single Playback Demo is the way to start using Jukebox.
It is the easiest demo that shows the basic usage of the jukebox.Player.
The demo is located at demo/single.html
The Multi Playback Demo is a demo that shows advanced timing of spritemap entries.
It shows you in a basic way of how to time the calls to the jukebox.Player API.
The demo is located at demo/multi.html
The Dubstep Sequencer Demo is a fun project that shows an advanced use-case for Jukebox and makes usage of timing / tracking.
The demo is located at demo/sequencer/
iOS' security model doesn't allow you to play sounds without a precedent user interaction.
The solution for automated playback is running a sprite entry via autoplay. This is either
a background music - or just silence. It will allow you to playback other entries via
timeouts, intervals etc.
iOS' implementation is not able to playback two different sounds in parallel.
Jukebox's solution for background music is to re-continue background music playback right
after other sound effects were played.
iOS' implementation is very, very slow when playing back encoded formats.
A hint is here to use the Core Audio File format, which is apparently only
an AIFF-container using IMA4 compression. Take a look at both demos to see the difference.
The demos are located at demo/ios.html and demo/ios-aiff.html.
The Game Integration Demo shows you how to modify jukebox.Manager for usage with an own
game loop.
This is important for performance-critic environments like mobile games.
The demo is located at demo/game.html
See jukebox.Manager Settings for further details.