Properties:
| Name | Type | Description |
|---|---|---|
musicEffectStep |
number | The music effect step |
isProgressionMusicEnd |
boolean | Indicate if the progression music is end |
isMusicNone |
boolean | Indicate if music is none |
volumes |
Array.<number> | Current volumes according to song kind |
starts |
Array.<number> | Current starts time according to song kind |
ends |
number | The current ends time according to song kind |
currentSong |
Array.<Howl> | The howl current song |
progressionMusic |
SystemProgressionTable | The system progression music |
progressionMusicEnd |
number | The progression music end |
Methods
-
Play a music
Name Type Description kindSongKind The kind of the song idnumber The id of the song volumenumber The volume of the song startnumber The start of the song endnumber The end of the song -
Stop a song
Name Type Description kindSongKind The kind of song to stop timenumber The date seconds value in the first call of stop secondsnumber The seconds needed for entirely stop the song pauseboolean Indicates if the song needs to be paused instead of stoppped Returns:
Type Description boolean Indicates if the song is stopped -
Unpause a song
Name Type Description kindSongKind The kind of song to unpause timenumber The date seconds value in the first call of unpause secondsnumber The seconds needed for entirely play the song Returns:
Type Description boolean Indicate if the song is played with all volume -
Play a sound
Name Type Description idnumber The id of the sound volumenumber The volume of the sound -
Play a music effect
Name Type Description idnumber The id of the sound volumenumber The volume of the sound currentStateObject The current state command -
Update songs positions or other stuff
Name Type Description kindSongKind The song kind -
Update songs positions or other stuffs
-
Stop the music (with progression)
Name Type Description timenumber The time to stop -
Initialize progression music (for stop)
Name Type Description inumber The initial volume fnumber The final volume equationnumber The equation kind endnumber The end of the song -
Update the progression music
-
Stop all the songs