 | BeatSchedulerGetNextMidiCommand Method |
Returns the next simple midi event to be played from the queue.
It can either block it until it is time to actually play it, or return the current timestamp immediately.
Namespace: MidiGremlin.InternalAssembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic SimpleMidiMessage GetNextMidiCommand(
bool block = true
)
Public Function GetNextMidiCommand (
Optional block As Boolean = true
) As SimpleMidiMessage
public:
SimpleMidiMessage GetNextMidiCommand(
bool block = true
)
member GetNextMidiCommand :
?block : bool
(* Defaults:
let _block = defaultArg block true
*)
-> SimpleMidiMessage
Parameters
- block (Optional)
- Type: SystemBoolean
Force the BeatScheduler to return immediately
Return Value
Type:
SimpleMidiMessageA simple MIDI event and a timestamp. If nothing exists in the queue, it either
returns an empty message or blocks until one is available.
See Also