|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfugue.Player org.log4jfugue.PretendPlayer
public class PretendPlayer
This class doesn't actually send the music strings to JFugue, it writes them to a file for later playback. This can be useful while debugging an application (or when your son is asleep.
Constructor Summary | |
---|---|
PretendPlayer()
Create a pretend player and opens an output file. |
Method Summary | |
---|---|
void |
close()
|
void |
play(Pattern pattern)
|
void |
setDurationOfPlay(int duration)
An injection target to set how long each play should take. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PretendPlayer() throws java.io.FileNotFoundException
java.io.FileNotFoundException
Method Detail |
---|
public void setDurationOfPlay(int duration)
duration
- public void close()
public void play(Pattern pattern)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |