Delegate NoteCallback
Callback used to process note to be played by
Playback.
Assembly: Melanchall.DryWetMidi.dll
public delegate NotePlaybackData NoteCallback(NotePlaybackData rawNoteData, long rawTime, long rawLength, TimeSpan playbackTime)
Parameters
Type |
Name |
Description |
NotePlaybackData |
rawNoteData |
Data of the note to process. |
long |
rawTime |
Absolute time of note to process. |
long |
rawLength |
Length of note to process. |
TimeSpan |
playbackTime |
Current time of the playback. |
Returns
Type |
Description |
NotePlaybackData |
Data of the new note which is rawNoteData processed by the callback;
or null if note should be ignored. |
See Also