net.jinx.audio.synth.source
Class WhiteNoise

java.lang.Object
  extended by net.jinx.audio.synth.source.WhiteNoise
All Implemented Interfaces:
SampleProcessor

public class WhiteNoise
extends java.lang.Object
implements SampleProcessor

SampleProcessor source that dumps semi-random data into sound buffers.


Constructor Summary
WhiteNoise()
           
WhiteNoise(java.util.Random r)
           
 
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

WhiteNoise

public WhiteNoise(java.util.Random r)

WhiteNoise

public WhiteNoise()
Method Detail

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