Search Results for

    Show / Hide Table of Contents

    Enum NoteProcessingHint

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

    Fields

    Name Description
    Default Default hint. Equals to TimeOrLengthCanBeChanged.
    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.
    TimeOrLengthCanBeChanged Time or Length of a note can be changed.
    In this article
    Back to top 2024 / Generated by DocFX