|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.audio.synth.source.SquareWave
public class SquareWave
SampleProcessor source that generates a square wave tone.
Constructor Summary | |
---|---|
SquareWave(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 SquareWave(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 |