Search Results for

    Show / Hide Table of Contents

    Enum ChordProcessingHint

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

    Fields

    Name Description
    AllPropertiesCanBeChanged The processing algorithm will consider that everything related to a chord can be changed. This hint means minimum performance, i.e. the processing will take more time and consume more memory. For maximum performance see None option.
    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.
    NoteTimeOrLengthCanBeChanged Time or Length can be changed on a note within a chord's notes (Notes).
    NotesCollectionCanBeChanged Notes can be changed, i.e. a note can be added to or removed from a chord.
    TimeOrLengthCanBeChanged Time or Length of a chord can be changed.
    In this article
    Back to top 2024 / Generated by DocFX