SB AWE32 Developer's Information Pack
PART II DOS Real/Protected Mode API
••
16
Copyright
Creative Technology Ltd., 1994-1996
Version 3.00
awe32PitchBend
WORD
PASCAL
awe32PitchBend(
WORD
wMIDIChannel,
WORD
wLSB,
WORD
wMSB
)
Actions
Pitch bend all notes sounding in a MIDI channel.
Parameters
wMIDIChannel
Specify from which MIDI channel the pitch bend originated. Valid range for this
variable is from 0 to 15 decimal.
wLSB
Specify the MIDI pitch bend LSB data value. Valid range for this variable is from 0 to
127.
wMSB
Specify the MIDI pitch bend MSB data value. Valid range for this variable is from 0
to 127.
Return
The return value is 0 if the MIDI pitch bend is successful, non-zero otherwise.
awe32Controller
WORD
PASCAL
awe32Controller(
WORD
wMIDIChannel,
WORD
wControlNumber,
WORD
wControlData
)
Actions
Controller change on a MIDI channel.
Parameters
wMIDIChannel
Specify from which MIDI channel the note on originated. Valid range for this variable
is from 0 to 15 decimal.
wControlNumber
Specify the MIDI controller number. Valid range for this variable is from 0 to 127.
wControlData
Specify the MIDI controller's data value. Valid range for this variable is from 0 to
127.
Return
The return value is 0 if the MIDI control change is successful, non-zero if otherwise.
Remarks
Supported controllers are:
•
CC0
Bank Select
•
CC1
Modulation Wheel