Search Results for

    Show / Hide Table of Contents

    Class RecordingUtilities

    Contains methods to manipulate by recording of MIDI data. More info in the Recording article.
    Inheritance
    object
    RecordingUtilities
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Melanchall.DryWetMidi.Multimedia
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public static class RecordingUtilities

    Methods

    ToFile(Recording)

    Creates an instance of the MidiFile and places recorded events to it.
    Declaration
    public static MidiFile ToFile(this Recording recording)
    Parameters
    Type Name Description
    Recording recording Recording to place events to MidiFile from.
    Returns
    Type Description
    MidiFile MidiFile with events recorded with Recording.
    Exceptions
    Type Condition
    ArgumentNullException recording is null.
    ArgumentException recording is in progress.

    ToTrackChunk(Recording)

    Creates an instance of the TrackChunk and places recorded events to it.
    Declaration
    public static TrackChunk ToTrackChunk(this Recording recording)
    Parameters
    Type Name Description
    Recording recording Recording to place events to TrackChunk from.
    Returns
    Type Description
    TrackChunk TrackChunk with events recorded with Recording.
    Exceptions
    Type Condition
    ArgumentNullException recording is null.
    ArgumentException recording is in progress.

    See Also

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