Overview  Package   Class  Tree  Index 

be.lassi.control.midi
Class MidiEngine

java.lang.Object
  extended by be.lassi.control.midi.MidiEngine

public class MidiEngine
extends java.lang.Object

Performs the communication between the Midi input and output devices on the physical Midi crontrol device, to keep the state of device in sync with the state of a Control object, and vice versa.


Constructor Summary
MidiEngine(Holder<Control> controlHolder)
          Constructs a new instance.
 
Method Summary
 void addMessageListener(MidiMessageListener listener)
           
 void addShowControlMessageListener(ShowControlMessageListener listener)
           
 void close()
           
 MidiStatus getStatus()
           
 void removeMessageListener(MidiMessageListener listener)
           
 void send(javax.sound.midi.MidiMessage message)
           
 void setMidiInputDevice(javax.sound.midi.MidiDevice device)
           
 void setMidiOutputDevice(javax.sound.midi.MidiDevice device)
           
 void setShowControlInputDevice(javax.sound.midi.MidiDevice device)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MidiEngine

public MidiEngine(Holder<Control> controlHolder)
Constructs a new instance.

Parameters:
control - our domain model of the control device
Method Detail

addMessageListener

public void addMessageListener(MidiMessageListener listener)

addShowControlMessageListener

public void addShowControlMessageListener(ShowControlMessageListener listener)

close

public void close()

getStatus

public MidiStatus getStatus()

removeMessageListener

public void removeMessageListener(MidiMessageListener listener)

send

public void send(javax.sound.midi.MidiMessage message)

setMidiInputDevice

public void setMidiInputDevice(javax.sound.midi.MidiDevice device)

setMidiOutputDevice

public void setMidiOutputDevice(javax.sound.midi.MidiDevice device)

setShowControlInputDevice

public void setShowControlInputDevice(javax.sound.midi.MidiDevice device)

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2