Sound Function - Sound Module Control Function

sdMidiPlay

Plays a MIDI sequence

FORMAT

SDE_ERR sdMidiPlay( handle, bank_num, list_num, priority )
SDMIDI handle
Sint8 bank_num
Sint8 list_num
Sint8 priority

PARAMETER

 handle  Object port handle 
 bank_num  MIDI sequence bank number to play 
 list_num  MIDI sequence bank number to play 
 priority  Priority level: 

RETURN

 SDE_ERR_NO_INIT  The Sound Library has not been initialized 
 SDE_ERR_HANDLE_NULL  The handle is NULL 
 SDE_ERR_PRM_OVER_RANGE  Parameter out of range 
 SDE_ERR_HOST_CMD_BUF_NO_ENOUGH  No more host commands can be accepted 

DESCRIPTION

Plays a MIDI sequence.

The range of bank_num, which specifies the bank number, is 0000H to 007FH.

The range of list_num, which specifies the sequence number, is 0000H to 007FH.

The range of priority, which specifies the priority level, is 0000H (always take priority) to 0001H (lowest) to 000FH (highest).


sdMidiPlay
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999