Class SliceMidiFileSettings
Settings according to which a MidiFile should be split by vertical split methods.
Inherited Members
Namespace: Melanchall.DryWetMidi.Tools
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class SliceMidiFileSettings
Properties
Markers
Gets or sets SliceMidiFileMarkers that holds factory methods to create events
to mark parts of split file.
Declaration
public SliceMidiFileMarkers Markers { get; set; }
Property Value
Type | Description |
---|---|
SliceMidiFileMarkers |
NoteDetectionSettings
Gets or sets settings which define how notes should be detected and built. You can set it to
null
to use default settings.Declaration
public NoteDetectionSettings NoteDetectionSettings { get; set; }
Property Value
Type | Description |
---|---|
NoteDetectionSettings |
PreserveTimes
Gets or sets a value indicating whether original times of events should be saved or not.
The default value is
false
. More info in the
MIDI file splitting: PreserveTimes article.Declaration
public bool PreserveTimes { get; set; }
Property Value
Type | Description |
---|---|
bool |
PreserveTrackChunks
Gets or sets a value indicating whether track chunks in new files should correspond
to those in the input file or not, so empty track chunks can be presented in new files.
The default value is
false
.Declaration
public bool PreserveTrackChunks { get; set; }
Property Value
Type | Description |
---|---|
bool |
SplitNotes
Gets or sets a value indicating whether notes should be split in points of
grid intersection or not. The default value is
true
. More info in the
MIDI file splitting: SplitNotes article.Declaration
public bool SplitNotes { get; set; }
Property Value
Type | Description |
---|---|
bool |