sdr 0.7

net.cscott.sdr.anim
Class SilentBeatTimer

java.lang.Object
  extended by 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

Constructor Summary
SilentBeatTimer()
          Create a SilentBeatTimer which generates beats at 120bpm.
SilentBeatTimer(int bpm)
          Create a SilentBeatTimer with the specified beat rate (in "beats per minute").
 
Method Summary
 Fraction getCurrentBeat()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.

Method Detail

getCurrentBeat

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

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian