Search Results for

    Show / Hide Table of Contents

    Class ProgramNameEvent

    Represents a Program Name meta event.
    Inheritance
    object
    MidiEvent
    MetaEvent
    BaseTextEvent
    ProgramNameEvent
    Inherited Members
    BaseTextEvent.Text
    MetaEvent.GetStandardMetaEventStatusBytes()
    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 ProgramNameEvent : BaseTextEvent
    Remarks
    This optional event is used to embed the patch/program name that is called up by the immediately subsequent Bank Select and Program Change messages. It serves to aid the end user in making an intelligent program choice when using different hardware.

    Constructors

    ProgramNameEvent()

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

    ProgramNameEvent(string)

    Initializes a new instance of the ProgramNameEvent with the specified program name.
    Declaration
    public ProgramNameEvent(string programName)
    Parameters
    Type Name Description
    string programName Name of the program.

    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 2024 / Generated by DocFX