Class: Rtmidi::Message::NoteOn

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

Instance Attribute Summary collapse

Instance Attribute Details

#channelObject

Returns the value of attribute channel

Returns:

  • (Object)

    the current value of channel



6
7
8
# File 'lib/rtmidi/message.rb', line 6

def channel
  @channel
end

#noteObject

Returns the value of attribute note

Returns:

  • (Object)

    the current value of note



6
7
8
# File 'lib/rtmidi/message.rb', line 6

def note
  @note
end

#velocityObject

Returns the value of attribute velocity

Returns:

  • (Object)

    the current value of velocity



6
7
8
# File 'lib/rtmidi/message.rb', line 6

def velocity
  @velocity
end