com.frinika.sequencer
Class NoteOnCache

java.lang.Object
  extended by com.frinika.sequencer.NoteOnCache

public class NoteOnCache
extends java.lang.Object

A cache object to keep hold of notes that are currently on.

Author:
Peter Johan Salomonsen

Constructor Summary
NoteOnCache()
           
 
Method Summary
 void interceptMessage(javax.sound.midi.MidiMessage msg, javax.sound.midi.Receiver receiver)
           
 void releasePendingNoteOffs()
          Send note-off to all pending notes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoteOnCache

public NoteOnCache()
Method Detail

interceptMessage

public final void interceptMessage(javax.sound.midi.MidiMessage msg,
                                   javax.sound.midi.Receiver receiver)

releasePendingNoteOffs

public final void releasePendingNoteOffs()
Send note-off to all pending notes