public PitchBendMessage(Channel channel, int value) { StructHelper.IsWithin14BitRange(nameof(value), value); Channel = channel; Value = value; }
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; }