SB AWE32 Developer's Information Pack
PART II DOS Real/Protected Mode API
••
14
Copyright
Creative Technology Ltd., 1994-1996
Version 3.00
•
__awe32IsPlaying
awe32InitMIDI
WORD
PASCAL
awe32InitMIDI(VOID)
Actions
Initialize MIDI engine. It resets all controller values and prepares for subsequent
MIDI engine calls.
Parameters
None.
Return
The return value is 0 if the initialization is successful, non-zero if otherwise.
awe32InitNRPN
WORD
PASCAL
awe32InitNRPN(VOID)
Actions
Initialize the data buffer used for NRPN and to link in the NRPN.OBJ and
NRPNVAR.OBJ modules.
Parameters
None.
Return
Return 0 upon successful initialization, and non-zero if otherwise.
Remark
NRPN is not supported for SoundFont2 library.
awe32NoteOn
WORD
PASCAL
awe32NoteOn(
WORD
wMIDIChannel,
WORD wNoteNumber,
WORD wVelocity
)
Actions
Turn on a MIDI note.
Parameters
wMIDIChannel
Specify from which MIDI channel the note on originated. Valid range for this variable
is from 0 to 15 decimal.
wNoteNumber
Specify the MIDI note number. Valid range for this variable is from 0 to 127.
wVelocity
Specify the MIDI note's velocity. Valid range for this variable is from 0 to 127.
Return
The return value is 0 if the MIDI note on is successful, non-zero if otherwise.