com.softsynth.jmsl.util
Class SimplePrintingInterpreter
java.lang.Object
com.softsynth.jmsl.Interpreter
com.softsynth.jmsl.util.SimplePrintingInterpreter
public class SimplePrintingInterpreter
- extends Interpreter
An Interpreter that simply prints the time and the MusicShape data it is
being handed.
- Author:
- Phil Burk and Nick Didkovsky
(C) 1997 Phil Burk and Nick Didkovsky, All Rights Reserved JMSL is based upon
HMSL (C) Phil Burk, Larry Polansky and David Rosenboom.
Method Summary |
double |
interpret(double playTime,
double timeStretch,
double[] dar,
Instrument ins)
Override interpret() to provide your own Interpreter with custom
functionality. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePrintingInterpreter
public SimplePrintingInterpreter()
interpret
public double interpret(double playTime,
double timeStretch,
double[] dar,
Instrument ins)
- Override interpret() to provide your own Interpreter with custom
functionality.
Prints playTime and the double[] it is handed. Interprets dimension 0 of
double[] as duration.
- Overrides:
interpret
in class Interpreter