Module: MicroMIDI

Defined in:
lib/micromidi.rb,
lib/micromidi/state.rb,
lib/micromidi/context.rb,
lib/micromidi/instructions/input.rb,
lib/micromidi/instructions/sysex.rb,
lib/micromidi/instructions/output.rb,
lib/micromidi/instructions/sticky.rb,
lib/micromidi/instructions/message.rb,
lib/micromidi/instructions/process.rb,
lib/micromidi/instructions/composite.rb,
lib/micromidi/instructions/shorthand.rb

Defined Under Namespace

Modules: IO, Instructions Classes: Context, State

Constant Summary collapse

VERSION =
"0.0.9"

Class Method Summary collapse

Class Method Details

.message(*args, &block) ⇒ Object Also known as: using, m



28
29
30
31
# File 'lib/micromidi.rb', line 28

def self.message(*args, &block)
  ins, outs = *process_devices(args)
  MicroMIDI::Context.new(ins, outs, &block)
end

.new(*a, &block) ⇒ Object



24
25
26
# File 'lib/micromidi.rb', line 24

def self.new(*a, &block)
  message(*a, &block)
end