Music (gb.sdl2.audio)

This static class allows you to manage the music track.

This class is static.

Constants
Paused   Constant for the State property indicating that the music is paused.
Playing   Constant for the State property indicating that the music is playing.
Stopped   Constant for the State property indicating that the music is stopped.

Static properties
Pos   Sets or returns the current time position of the music track.
SoundFontPath   Return or set the SoundFont path used by the library to play MIDI files.
State   Return the state of the music.
Volume   Returns or sets the volume of the music track.

Static methods
Load   Specifies the file used for playing the music track.
Pause   Pauses the music.
Play   Start playing the music with an optional fade-in.
Stop   Stop the music with an optional fade-out.