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