Class: MIDIInstrument::Node
- Inherits:
-
Object
- Object
- MIDIInstrument::Node
- Includes:
- API::Input, API::Output
- Defined in:
- lib/midi-instrument/node.rb
Overview
Can listen for and send MIDI messages
Instance Attribute Summary collapse
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Node
constructor
A new instance of Node.
Methods included from API::Output
included, #outputs, #transmit_channel, #transmit_channel=
Methods included from API::Input
included, #inputs, #receive_channel, #receive_channel=
Constructor Details
Instance Attribute Details
#input ⇒ Object (readonly)
Returns the value of attribute input.
9 10 11 |
# File 'lib/midi-instrument/node.rb', line 9 def input @input end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
9 10 11 |
# File 'lib/midi-instrument/node.rb', line 9 def output @output end |