Package com.softsynth.jmsl
Class MessagePrinter
java.lang.Object
com.softsynth.jmsl.MessagePrinter
- All Implemented Interfaces:
Playable
,java.io.Serializable
public class MessagePrinter extends java.lang.Object implements Playable, java.io.Serializable
A Playable that prints a message of choice.
Useful for announcing start/repeat/stop activity of MusicJobs, debugging, etc
Useful for announcing start/repeat/stop activity of MusicJobs, debugging, etc
- Author:
- Phil Burk and Nick Didkovsky
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description MessagePrinter(java.lang.String msg)
construct a message printer with specified message -
Method Summary
Modifier and Type Method Description double
play(double playTime, Composable thing)
Print the message and return playtimeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait