LoadMusic()

Syntax

Result = LoadMusic(#Music, Filename$)
Description
Loads the specified music module. PlayMusic() can be used to start playing the music. ModPlug supports a lot of music formats, which includes: Protracker (4 channels), FastTracker (up to 32 channels, 16-bit quality), Impulse Tracker, etc.

Parameters

#Music A number to identify the new music module. #PB_Any can be used to auto-generate this number.
Filename$ The music module filename to load.

Return value

Nonzero if the music module has been successfully loaded, zero otherwise.

See Also

CatchMusic(), PlayMusic()

Supported OS

All

<- IsMusic() - Music Index - MusicVolume() ->