lib/vissen/input/message/program_change.rb in vissen-input-0.2.2 vs lib/vissen/input/message/program_change.rb in vissen-input-0.3.0
- old
+ new
@@ -2,12 +2,15 @@
module Vissen
module Input
module Message
# From the MIDI Association:
- # This message sent when the patch number changes.
+ #
+ # > This message sent when the patch number changes.
class ProgramChange < Base
+ # @see Message
DATA_LENGTH = 2
+ # @see Message
STATUS = 0xC0
# @return [Integer] the program number.
def number
data[1]