Search Results for

    Show / Hide Table of Contents

    Class ChannelAftertouchEvent

    Represents a Channel Pressure (Aftertouch) message.
    Inheritance
    object
    MidiEvent
    ChannelEvent
    ChannelAftertouchEvent
    Inherited Members
    ChannelEvent.Channel
    MidiEvent.UnknownContentSize
    MidiEvent.EventType
    MidiEvent.DeltaTime
    MidiEvent.Clone()
    MidiEvent.Equals(MidiEvent, MidiEvent)
    MidiEvent.Equals(MidiEvent, MidiEvent, out string)
    MidiEvent.Equals(MidiEvent, MidiEvent, MidiEventEqualityCheckSettings)
    MidiEvent.Equals(MidiEvent, MidiEvent, MidiEventEqualityCheckSettings, out string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Melanchall.DryWetMidi.Core
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public sealed class ChannelAftertouchEvent : ChannelEvent
    Remarks
    This message is most often sent by pressing down on the key after it "bottoms out". This message is different from polyphonic after-touch. Use this message to send the single greatest pressure value (of all the current depressed keys).

    Constructors

    ChannelAftertouchEvent()

    Initializes a new instance of the ChannelAftertouchEvent.
    Declaration
    public ChannelAftertouchEvent()

    ChannelAftertouchEvent(SevenBitNumber)

    Initializes a new instance of the ChannelAftertouchEvent with the specified aftertouch (pressure) value.
    Declaration
    public ChannelAftertouchEvent(SevenBitNumber aftertouchValue)
    Parameters
    Type Name Description
    SevenBitNumber aftertouchValue Aftertouch (pressure) value.

    Properties

    AftertouchValue

    Gets or sets aftertouch (pressure) value.
    Declaration
    public SevenBitNumber AftertouchValue { get; set; }
    Property Value
    Type Description
    SevenBitNumber

    Methods

    CloneEvent()

    Clones event by creating a copy of it.
    Declaration
    protected override MidiEvent CloneEvent()
    Returns
    Type Description
    MidiEvent Copy of the event.
    Overrides
    MidiEvent.CloneEvent()

    ToString()

    Returns a string that represents the current object.
    Declaration
    public override string ToString()
    Returns
    Type Description
    string A string that represents the current object.
    Overrides
    object.ToString()
    In this article
    Back to top 2025 / Generated by DocFX