|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.audio.synth.source.SineWave
public class SineWave
SampleProcessor source that generates a sine wave tone.
Constructor Summary | |
---|---|
SineWave(double freq)
|
Method Summary | |
---|---|
SampleFormat |
getFormat()
|
boolean |
isSource()
|
void |
process(java.nio.DoubleBuffer sample)
|
boolean |
setFormat(SampleFormat fmt)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SineWave(double freq)
Method Detail |
---|
public boolean setFormat(SampleFormat fmt)
setFormat
in interface SampleProcessor
public SampleFormat getFormat()
getFormat
in interface SampleProcessor
public void process(java.nio.DoubleBuffer sample)
process
in interface SampleProcessor
public boolean isSource()
isSource
in interface SampleProcessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |