Search Results for

    Show / Hide Table of Contents

    Enum TimedEventProcessingHint

    Defines a hint which tells the timed event processing algorithm how it can optimize its performance.
    Namespace: Melanchall.DryWetMidi.Interaction
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public enum TimedEventProcessingHint
    Remarks
    If you want to get the maximum performance of a timed event processing (for example, ProcessTimedEvents(MidiFile, Action<TimedEvent>, Predicate<TimedEvent>, TimedEventDetectionSettings, TimedEventProcessingHint)), choose a hint carefully. Note that you can always use an object manager to perform any manipulations with timed events but dedicated methods of the TimedEventsManagingUtilities will always be faster and will consume less memory.

    Fields

    Name Description
    Default Default hint. Equals to TimeCanBeChanged.
    None The processing algorithm will consider that only properties that don't affect underlying MIDI events positions will be changed. This hint means maximum performance, i.e. the processing will take less time and consume less memory.
    TimeCanBeChanged Time of a timed event can be changed.
    In this article
    Back to top 2024 / Generated by DocFX