EasyManua.ls Logo

Creative AWE32 - Awe32 Noteoff; Awe32 Programchange

Creative AWE32
110 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SB AWE32 Developer's Information Pack PART II DOS Real/Protected Mode API 15
Copyright Creative Technology Ltd., 1994-1996 Version 3.00
Remarks
To prevent note stealing, especially for lengthy special effects, add 16 to the channel
number. Care must be taken to issue a corresponding note-off with the same channel
number.
awe32NoteOff
WORD
PASCAL
awe32NoteOff(
WORD wMIDIChannel,
WORD wNoteNumber,
WORD wVelocity
)
Actions
Turn off a MIDI note.
Parameters
wMIDIChannel
Specify from which MIDI channel the note off 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 off is successful, non-zero if otherwise.
awe32ProgramChange
WORD
PASCAL
awe32ProgramChange(
WORD wMIDIChannel,
WORD wProgram
)
Actions
Select a program.
Parameters
wMIDIChannel
Specify from which MIDI channel the program change originated. Valid range for this
variable is from 0 to 15 decimal.
wProgram
Specify the desired program value. Valid range for this variable is from 0 to 127.
Return
The return value is 0 if the MIDI program change is successful, non-zero if otherwise.

Table of Contents