Enum InvalidMetaEventParameterValuePolicy
Specifies how reading engine should react on invalid value of a meta event's
parameter value. For example,
255
is the invalid value for the Scale
and will be processed according with this policy. The default is Abort.Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
public enum InvalidMetaEventParameterValuePolicy
Fields
Name | Description |
---|---|
Abort | Abort reading and throw an InvalidMetaEventParameterValueException. |
SnapToLimits | Read value and snap it to limits of the allowable range if it is out of them. |