Creates a new sound track.
Define the scene the sound track belongs to
The unique identifier of the sound track in the scene.
The list of sounds included in the sound track.
Adds a sound to this sound track
define the cound to add
Removes a sound to this sound track
define the cound to remove
Connect the sound track to an audio analyser allowing some amazing synchornization between the sounds/music and your visualization (VuMeter for instance).
The analyser to connect to the engine
Release the sound track and its associated resources
Set a global volume for the full sound track.
Define the new volume of the sound track
Switch the panning model to Equal Power: Represents the equal-power panning algorithm, generally regarded as simple and efficient. equalpower is the default value.
Switch the panning model to HRTF: Renders a stereo output of higher quality than equalpower — it uses a convolution with measured impulse responses from human subjects.
Generated using TypeDoc
It could be useful to isolate your music & sounds on several tracks to better manage volume on a grouped instance of sounds. It will be also used in a future release to apply effects on a specific track.
http://doc.babylonjs.com/how_to/playing_sounds_and_music#using-sound-tracks