net.jinx.audio.synth.source
Class FMSynth
java.lang.Object
net.jinx.audio.synth.source.FMSynth
- All Implemented Interfaces:
- SampleProcessor
public class FMSynth
- extends java.lang.Object
- implements SampleProcessor
Constructor Summary |
FMSynth(double startTime,
double amp1,
double freq1,
double amp2,
double freq2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FMSynth
public FMSynth(double startTime,
double amp1,
double freq1,
double amp2,
double freq2)
setFormat
public boolean setFormat(SampleFormat fmt)
- Specified by:
setFormat
in interface SampleProcessor
getFormat
public SampleFormat getFormat()
- Specified by:
getFormat
in interface SampleProcessor
process
public void process(java.nio.DoubleBuffer sample)
- Specified by:
process
in interface SampleProcessor
isSource
public boolean isSource()
- Specified by:
isSource
in interface SampleProcessor