Class: Rtmidi::Message::NoteOn
- Inherits:
-
Struct
- Object
- Struct
- Rtmidi::Message::NoteOn
- Defined in:
- lib/rtmidi/message.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#note ⇒ Object
Returns the value of attribute note.
-
#velocity ⇒ Object
Returns the value of attribute velocity.
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel
6 7 8 |
# File 'lib/rtmidi/message.rb', line 6 def channel @channel end |
#note ⇒ Object
Returns the value of attribute note
6 7 8 |
# File 'lib/rtmidi/message.rb', line 6 def note @note end |
#velocity ⇒ Object
Returns the value of attribute velocity
6 7 8 |
# File 'lib/rtmidi/message.rb', line 6 def velocity @velocity end |