Search Results for

    Show / Hide Table of Contents

    Class SplitFileByChannelSettings

    Defines how a MIDI file should be split by channel using SplitByChannel(MidiFile, SplitFileByChannelSettings) method.
    Inheritance
    object
    SplitFileByChannelSettings
    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 SplitFileByChannelSettings

    Properties

    CopyNonChannelEventsToEachFile

    Gets or sets a value indicating whether to copy all meta and system exclusive events to all the new files or throw them away. The default value is true>.
    Declaration
    public bool CopyNonChannelEventsToEachFile { get; set; }
    Property Value
    Type Description
    bool

    Filter

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

    See Also

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