net.cscott.sdr.anim
Class SilentBeatTimer
java.lang.Object
net.cscott.sdr.anim.SilentBeatTimer
- All Implemented Interfaces:
- BeatTimer
public class SilentBeatTimer
- extends Object
- implements BeatTimer
The SilentBeatTimer
generates beats from a wall clock: it is not
synchronized to any music source.
- Version:
- $Id: SilentBeatTimer.java,v 1.1 2006-11-08 19:04:39 cananian Exp $
- Author:
- C. Scott Ananian
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SilentBeatTimer
public SilentBeatTimer(int bpm)
- Create a
SilentBeatTimer
with the specified beat rate (in
"beats per minute").
SilentBeatTimer
public SilentBeatTimer()
- Create a
SilentBeatTimer
which generates beats at 120bpm.
getCurrentBeat
public Fraction getCurrentBeat()
- Specified by:
getCurrentBeat
in interface BeatTimer
Copyright © 2006-2009 C. Scott Ananian