A MIDI Library for .NET

CallbackMessage Class

Pseudo-MIDI message used to arrange for a callback at a certain time.

For a list of all members of this type, see CallbackMessage Members .

System.Object
   Message
      CallbackMessage

public class CallbackMessage : Message

Remarks

This message can be scheduled with Clock.Schedule just like any other message. When its time comes and it gets "sent", it invokes the callback provided in the constructor.

The idea is that you can embed callback points into the music you've scheduled, so that (if the clock gets to that point in the music) your code has an opportunity for some additional processing.

The callback is invoked on the MidiOutputDevice's worker thread.

Requirements

Namespace: Midi

Assembly: Midi (in Midi.dll)

See Also

CallbackMessage Members | Midi Namespace