Search Results for

    Show / Hide Table of Contents

    Delegate EventCallback

    Callback used to process MIDI event to be played by Playback.
    Namespace: Melanchall.DryWetMidi.Multimedia
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public delegate MidiEvent EventCallback(MidiEvent rawEvent, long rawTime, TimeSpan playbackTime)
    Parameters
    Type Name Description
    MidiEvent rawEvent MIDI event to process.
    long rawTime Absolute time of rawEvent.
    TimeSpan playbackTime Current time of the playback.
    Returns
    Type Description
    MidiEvent New MIDI event which is rawEvent processed by the callback; or null if event should be ignored.

    See Also

    Playback
    EventCallback
    In this article
    Back to top 2024 / Generated by DocFX