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.MemberwiseClone()
    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>

    NoteSearchContext

    Gets or sets a value defining a context to search notes within. The default value is SingleEventsCollection. More info in the Getting objects: GetNotes: Settings: NoteSearchContext article.
    Declaration
    public NoteSearchContext NoteSearchContext { get; set; }
    Property Value
    Type Description
    NoteSearchContext
    Exceptions
    Type Condition
    InvalidEnumArgumentException value specified an invalid value.

    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.

    TimedEventDetectionSettings

    Gets or sets settings which define how timed events should be detected and built.
    Declaration
    public TimedEventDetectionSettings TimedEventDetectionSettings { get; set; }
    Property Value
    Type Description
    TimedEventDetectionSettings

    See Also

    NotesManagingUtilities
    GetObjectsUtilities
    In This Article
    Back to top 2022 / Generated by DocFX