sampled
Class ConstantGenerator
java.lang.Object
sampled.Synthesizer
sampled.ConstantGenerator
- All Implemented Interfaces:
- AudioSource
public class ConstantGenerator
- extends Synthesizer
Method Summary |
double |
getConstant()
|
void |
setConstant(double constant)
|
void |
tearDown()
Tear down the AudioSource (i.e. |
java.lang.String |
toString()
String representation of the actual synthesizer |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConstantGenerator
public ConstantGenerator()
ConstantGenerator
public ConstantGenerator(double constant)
ConstantGenerator
public ConstantGenerator(int duration)
ConstantGenerator
public ConstantGenerator(int duration,
double constant)
getConstant
public double getConstant()
setConstant
public void setConstant(double constant)
tearDown
public void tearDown()
throws java.io.IOException
- Description copied from interface:
AudioSource
- Tear down the AudioSource (i.e. release file handlers, etc)
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Description copied from class:
Synthesizer
- String representation of the actual synthesizer
- Specified by:
toString
in interface AudioSource
- Specified by:
toString
in class Synthesizer