Search Results for

    Show / Hide Table of Contents

    Enum InvalidChannelEventParameterValuePolicy

    Specifies how reading engine should react on invalid value of a channel event's parameter value. Valid values are 0-127 so, for example, 128 is the invalid one and will be processed according to this policy. The default is Abort.
    Namespace: Melanchall.DryWetMidi.Core
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public enum InvalidChannelEventParameterValuePolicy : byte

    Fields

    Name Description
    Abort Abort reading and throw an InvalidChannelEventParameterValueException.
    ReadValid Read byte and take its lower (rightmost) seven bits as the final value.
    SnapToLimits Read value and snap it to limits of the allowable range if it is out of them.
    In this article
    Back to top 2024 / Generated by DocFX