Class: Vizcore::Audio::MidiInput::Event
- Inherits:
-
Struct
- Object
- Struct
- Vizcore::Audio::MidiInput::Event
- Defined in:
- lib/vizcore/audio/midi_input.rb
Overview
Normalized MIDI event payload.
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#data1 ⇒ Object
Returns the value of attribute data1.
-
#data2 ⇒ Object
Returns the value of attribute data2.
-
#raw ⇒ Object
Returns the value of attribute raw.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel
11 12 13 |
# File 'lib/vizcore/audio/midi_input.rb', line 11 def channel @channel end |
#data1 ⇒ Object
Returns the value of attribute data1
11 12 13 |
# File 'lib/vizcore/audio/midi_input.rb', line 11 def data1 @data1 end |
#data2 ⇒ Object
Returns the value of attribute data2
11 12 13 |
# File 'lib/vizcore/audio/midi_input.rb', line 11 def data2 @data2 end |
#raw ⇒ Object
Returns the value of attribute raw
11 12 13 |
# File 'lib/vizcore/audio/midi_input.rb', line 11 def raw @raw end |
#timestamp ⇒ Object
Returns the value of attribute timestamp
11 12 13 |
# File 'lib/vizcore/audio/midi_input.rb', line 11 def @timestamp end |
#type ⇒ Object
Returns the value of attribute type
11 12 13 |
# File 'lib/vizcore/audio/midi_input.rb', line 11 def type @type end |