Class: Rtmidi::Message::ProgramChange

Inherits:
Struct
  • Object
show all
Defined in:
lib/rtmidi/message.rb

Instance Attribute Summary collapse

Instance Attribute Details

#channel ⇒ Object

Returns the value of attribute channel

Returns:

  • (Object) —

    the current value of channel



9
10
11
# File 'lib/rtmidi/message.rb', line 9

def channel
  @channel
end

#program ⇒ Object

Returns the value of attribute program

Returns:

  • (Object) —

    the current value of program



9
10
11
# File 'lib/rtmidi/message.rb', line 9

def program
  @program
end