Search Results for

    Show / Hide Table of Contents

    Class NotePlaybackData

    Data related to MIDI note.
    Inheritance
    object
    NotePlaybackData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Melanchall.DryWetMidi.Multimedia
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public sealed class NotePlaybackData

    Constructors

    NotePlaybackData(SevenBitNumber, SevenBitNumber, SevenBitNumber, FourBitNumber)

    Initializes a new instance of the NotePlaybackData with the specified note number, velocity, off velocity and channel.
    Declaration
    public NotePlaybackData(SevenBitNumber noteNumber, SevenBitNumber velocity, SevenBitNumber offVelocity, FourBitNumber channel)
    Parameters
    Type Name Description
    SevenBitNumber noteNumber Note number.
    SevenBitNumber velocity Velocity of Note On event of the note.
    SevenBitNumber offVelocity Velocity of Note Off event of the note.
    FourBitNumber channel Note channel.

    Fields

    SkipNote

    Data which instructs playback to skip note.
    Declaration
    public static readonly NotePlaybackData SkipNote
    Field Value
    Type Description
    NotePlaybackData

    Properties

    Channel

    Gets the note channel.
    Declaration
    public FourBitNumber Channel { get; }
    Property Value
    Type Description
    FourBitNumber

    NoteNumber

    Gets the note number.
    Declaration
    public SevenBitNumber NoteNumber { get; }
    Property Value
    Type Description
    SevenBitNumber

    OffVelocity

    Gets the velocity of Note Off event of the note.
    Declaration
    public SevenBitNumber OffVelocity { get; }
    Property Value
    Type Description
    SevenBitNumber

    Velocity

    Gets the velocity of Note On event of the note.
    Declaration
    public SevenBitNumber Velocity { get; }
    Property Value
    Type Description
    SevenBitNumber

    See Also

    NoteCallback
    In this article
    Back to top 2024 / Generated by DocFX