Class: UniMIDI::Input

Inherits:
Object
  • Object
show all
Extended by:
Device::ClassMethods
Includes:
Device::InstanceMethods, BufferAccess, StreamReader
Defined in:
lib/unimidi/input.rb,
lib/unimidi/input/buffer_access.rb,
lib/unimidi/input/stream_reader.rb

Overview

A MIDI input device

Defined Under Namespace

Modules: BufferAccess, StreamReader

Class Method Summary collapse

Methods included from Device::ClassMethods

at, each, find_by_name, first, gets, last, list, use

Methods included from StreamReader

#gets, #gets_data, #gets_data_s, #gets_s

Methods included from Device::InstanceMethods

#close, #closed?, included, #initialize, #open, #pretty_name

Methods included from BufferAccess

#buffer, #clear_buffer, #gets_buffer, #gets_buffer_data, #gets_buffer_s

Class Method Details

.allArray<Input>

All MIDI input devices – used to populate the class

Returns:



16
17
18
# File 'lib/unimidi/input.rb', line 16

def self.all
  Loader.devices(direction: :input)
end