Search Results for

    Show / Hide Table of Contents

    Class PlaybackSettings

    Settings according to which an instance of the Playback should be created.
    Inheritance
    object
    PlaybackSettings
    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 PlaybackSettings

    Properties

    CalculateTempoMap

    Gets or sets a value indicating whether to calculate tempo map for a playback on data initializing. It means to process Set Tempo and Time Signature events iterating through the objects passed to the Playback's constructor. TempoMap will reflect these changes. The default value is false which requires to pass correct tempo map to the Playback's constructor.
    Declaration
    public bool CalculateTempoMap { get; set; }
    Property Value
    Type Description
    bool
    Remarks
    The property can be useful when the Playback is created with a collection of objects and you don't want to create a tempo map manually. In this case you can just set the property to true and pass Default, and playback will construct the tempo map for you.

    ClockSettings

    Gets or sets settings of the internal playback's clock.
    Declaration
    public MidiClockSettings ClockSettings { get; set; }
    Property Value
    Type Description
    MidiClockSettings

    NoteDetectionSettings

    Gets or sets settings which define how notes should be detected and built internally by the Playback.
    Declaration
    public NoteDetectionSettings NoteDetectionSettings { get; set; }
    Property Value
    Type Description
    NoteDetectionSettings

    TimedEventDetectionSettings

    Gets or sets settings which define how timed events should be detected and built internally by the Playback.
    Declaration
    public TimedEventDetectionSettings TimedEventDetectionSettings { get; set; }
    Property Value
    Type Description
    TimedEventDetectionSettings
    In this article
    Back to top 2025 / Generated by DocFX