Ejemplo n.º 1
0
        public PitchBendMessage(Channel channel, int value)
        {
            StructHelper.IsWithin14BitRange(nameof(value), value);

            Channel = channel;
            Value   = value;
        }
Ejemplo n.º 2
0
        public NrpnMessage(Channel channel, int parameter, int value)
        {
            StructHelper.IsWithin14BitRange(nameof(parameter), parameter);
            StructHelper.IsWithin14BitRange(nameof(value), value);

            Channel   = channel;
            Parameter = parameter;
            Value     = value;
        }
        public SongPositionPointerMessage(int midiBeats)
        {
            StructHelper.IsWithin14BitRange(nameof(midiBeats), midiBeats);

            MidiBeats = midiBeats;
        }