lib/vissen/input/message/control_change.rb in vissen-input-0.2.2 vs lib/vissen/input/message/control_change.rb in vissen-input-0.3.0
- old
+ new
@@ -2,13 +2,15 @@
module Vissen
module Input
module Message
# From the MIDI Association:
- # This message is sent when a controller value changes. Controllers
- # include devices such as pedals and levers. Controller numbers 120-127
- # are reserved as "Channel Mode Messages".
+ #
+ # > This message is sent when a controller value changes. Controllers
+ # > include devices such as pedals and levers. Controller numbers 120-127
+ # > are reserved as "Channel Mode Messages".
class ControlChange < Base
+ # @see Message
STATUS = 0xB0
# @return [Integer] the control number.
def number
data[1]