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