|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.teicrete.mta.synthesizer.AbstractSensorSynthesizer
gr.teicrete.mta.synthesizer.FMSynthesizer
public class FMSynthesizer
The synthesizer class for frequency modulation synthesis.
| Constructor Summary | |
|---|---|
FMSynthesizer(java.util.LinkedList<SynthParameter> params,
int number)
Constructs a new FMSynthesizer object with the specified synthesis parameters |
|
| Method Summary | |
|---|---|
SynthParameter |
getParameter(int parNum)
Returns the specified parameter |
SynthParameter |
getParameter(java.lang.String parName)
Returns the specified parameter |
void |
setParameter(java.lang.String parName,
double value)
Sets a value to the specified synthesizer parameter |
void |
start()
Starts the FMSynthesizer |
void |
stop()
Stops the FMSynthesizer |
java.lang.String |
toString()
Returns a String representation of the FMSynthesizer |
| Methods inherited from class gr.teicrete.mta.synthesizer.AbstractSensorSynthesizer |
|---|
getNumber, synthOn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FMSynthesizer(java.util.LinkedList<SynthParameter> params,
int number)
params - A LinkedList containing the SynthParameters for this synthesizerchannel - An integer representing the channel the synthesizer is assigned to| Method Detail |
|---|
public void start()
start in class AbstractSensorSynthesizerpublic void stop()
stop in class AbstractSensorSynthesizer
public void setParameter(java.lang.String parName,
double value)
throws BadSynthValueException,
BadSynthParameterException
AbstractSensorSynthesizer
setParameter in class AbstractSensorSynthesizerparName - The parameter namevalue - The value to assign to the parameter
BadSynthValueException
BadSynthParameterException
public SynthParameter getParameter(java.lang.String parName)
throws BadSynthParameterException
AbstractSensorSynthesizer
getParameter in class AbstractSensorSynthesizerparName - The parameter name
BadSynthParameterExceptionpublic SynthParameter getParameter(int parNum)
AbstractSensorSynthesizer
getParameter in class AbstractSensorSynthesizerparNum - The parameter's number
public java.lang.String toString()
String representation of the FMSynthesizer
toString in class AbstractSensorSynthesizer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||