Search Results for

    Show / Hide Table of Contents

    Class SplitFileByChunksSettings

    Defines how a MIDI file should be split by chunks using SplitByChunks(MidiFile, SplitFileByChunksSettings) method.
    Inheritance
    object
    SplitFileByChunksSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Melanchall.DryWetMidi.Tools
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public sealed class SplitFileByChunksSettings

    Properties

    Filter

    Gets or sets a predicate to filter chunks out before processing. If predicate returns true, a chunk will be processed; if false - it won't. If the property set to null (default value), all MIDI chunks will be processed.
    Declaration
    public Predicate<MidiChunk> Filter { get; set; }
    Property Value
    Type Description
    Predicate<MidiChunk>

    PreserveTempoMap

    Gets or sets a value indicating whether a tempo map should be preserved or not in new files. The default value is true.
    Declaration
    public bool PreserveTempoMap { get; set; }
    Property Value
    Type Description
    bool

    See Also

    Splitter
    In this article
    Back to top 2025 / Generated by DocFX