Syntax

Result = dbLoadMusic(Filename.s, MusicID)

Description

If #PB_Any is used as the MusicID parameter, the new ID will be returned as 'Result'. Otherwise the value of 'Result' is the same value passed as the MusicID parameter.

This command will load a music file into the specified music number. The music file must be of the MIDI or MP3 format. The music number should be an integer value.

See Also

dbDeleteMusic, dbMusicExist