Enum PatternActionState
Defines the state of a pattern action.
Namespace: Melanchall.DryWetMidi.Composing
Assembly: Melanchall.DryWetMidi.dll
Syntax
public enum PatternActionState
Remarks
Pattern actions correspond to methods on PatternBuilder. For example,
Note(Interval, ITimeSpan, SevenBitNumber?)
creates 'Add note' action, so the state will define whether a note will be enabled, disabled or excluded
from pattern at all.
Fields
Name | Description |
---|---|
Disabled | Action is disabled. It will still occupy time span corresponding to the action, but MIDI data will not be generated for it. |
Enabled | Action is enabled and will be exported to MIDI data. |
Excluded | Action is completely excluded from pattern. It won't occupy time span and MIDI data will not be generated. |