sdr 0.7

net.cscott.sdr.sound
Class MidiTimer

java.lang.Object
  extended by net.cscott.sdr.sound.MidiTimer
All Implemented Interfaces:
BeatTimer

public class MidiTimer
extends Object
implements BeatTimer

Create a jME timer object using timing info from MIDI playback.


Constructor Summary
MidiTimer(Sequencer sequencer)
           
 
Method Summary
 Fraction getCurrentBeat()
           
 int getResolution()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MidiTimer

public MidiTimer(Sequencer sequencer)
Method Detail

getCurrentBeat

public Fraction getCurrentBeat()
Specified by:
getCurrentBeat in interface BeatTimer

reset

public void reset()

getResolution

public int getResolution()

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian