Enum ResultTrackChunksCreationPolicy
Defines a strategy for result track chunks creation when merging MIDI files sequentially. The
default value is CreateForEachFile.
Namespace: Melanchall.DryWetMidi.Tools
Assembly: Melanchall.DryWetMidi.dll
Syntax
public enum ResultTrackChunksCreationPolicy
Remarks
Let's see how MinimizeCount option works. For example, we have three files with following track chunks:
- A, B and C;
- D and E;
- F, G, H, I and J.
Merging these files will lead to following result track chunks creation and usage:
- Three track chunks (1, 2, 3) are created with the contents of A, B, C;
- Content of D is written to the chunk 1; content of E is written to the chunk 2;
- Content of F is written to the chunk 1; content of G is written to the chunk 2; content of H is written to the chunk 3; two new track chunks (4, 5) are created with the contents of I and J.
Fields
Name | Description |
---|---|
CreateForEachFile | Each track chunk of every file is being merged will lead to separate track chunk creation in the result file. |
MinimizeCount | Track chunks will be reused. |