StopScoreNote
Stop a MIDI note w/o releasing it, uses voice allocation.
Synopsis
Err StopScoreNote( ScoreContext *scon, int32 Channel, int32 Note )
Description
This function instantly stops a note for the score context and uses dynamic voice allocation to do so. It differs from ReleaseScoreNote()
in that it doesn't allow the note to go through any release phase that it might have.
Arguments
- scon
- A pointer to a ScoreContext data structure controlling playback.
- Channel
- The number of the MIDI channel in which to play the note.
- Note
- The MIDI pitch value of the note (0..127).
Return Value
This function returns 0 if successful or an error code (a negative value) if an error occurs.
Implementation
Library call implemented in music.lib V24.
Associated Files
score.h, music.lib
See Also
FreeChannelInstruments
(), NoteOnIns(), NoteOffIns(), StartScoreNote(), ReleaseScoreNote(), PurgeScoreInstrument()