Search Results for

    Show / Hide Table of Contents

    Class NoteDetectionSettings

    Settings which define how notes should be detected and built. More info in the Getting objects: GetNotes: Settings article.
    Inheritance
    object
    NoteDetectionSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Melanchall.DryWetMidi.Interaction
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public sealed class NoteDetectionSettings

    Properties

    Constructor

    Gets or sets custom construction method for Note. If null, default method will be used (via one of the Note's constructors).
    Declaration
    public Func<NoteData, Note> Constructor { get; set; }
    Property Value
    Type Description
    Func<NoteData, Note>

    NoteStartDetectionPolicy

    Gets or sets how start event of a note should be found in case of overlapping notes with the same note number and channel. The default value is FirstNoteOn. More info in the Getting objects: GetNotes: Settings: NoteStartDetectionPolicy article.
    Declaration
    public NoteStartDetectionPolicy NoteStartDetectionPolicy { get; set; }
    Property Value
    Type Description
    NoteStartDetectionPolicy
    Exceptions
    Type Condition
    InvalidEnumArgumentException value specified an invalid value.

    See Also

    NotesManagingUtilities
    GetObjectsUtilities
    In this article
    Back to top 2024 / Generated by DocFX