Class PianoRollSettings
Settings to control handling of a piano roll be the
PianoRoll(string, PianoRollSettings) method. More info in the
Pattern: Piano roll: Customization article.
Inherited Members
Namespace: Melanchall.DryWetMidi.Composing
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class PianoRollSettings
Properties
CustomActions
Gets or sets a dictionary which maps specified symbols to custom actions.
Declaration
public Dictionary<char, Action<Note, PatternBuilder>> CustomActions { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<char, Action<Note, PatternBuilder>> |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | One of the following errors occurred:
|
MultiCellNoteEndSymbol
Gets or sets a symbol which means the end of a multi-cell note. The default value
is
']'
.Declaration
public char MultiCellNoteEndSymbol { get; set; }
Property Value
Type | Description |
---|---|
char |
Exceptions
Type | Condition |
---|---|
ArgumentException | Space (' ') is the prohibted character. |
ArgumentOutOfRangeException | One of the following errors occurred:
|
MultiCellNoteStartSymbol
Gets or sets a symbol which means the start of a multi-cell note. The default value
is
'['
.Declaration
public char MultiCellNoteStartSymbol { get; set; }
Property Value
Type | Description |
---|---|
char |
Exceptions
Type | Condition |
---|---|
ArgumentException | Space (' ') is the prohibted character. |
ArgumentOutOfRangeException | One of the following errors occurred:
|
SingleCellNoteSymbol
Gets or sets a symbol which means a single-cell note. The default value
is
'|'
.Declaration
public char SingleCellNoteSymbol { get; set; }
Property Value
Type | Description |
---|---|
char |
Exceptions
Type | Condition |
---|---|
ArgumentException | Space (' ') is the prohibted character. |
ArgumentOutOfRangeException | One of the following errors occurred:
|