sound.processors
Class CorrelationProcessor

java.lang.Object
  extended by sound.processors.CorrelationProcessor
All Implemented Interfaces:
java.io.Serializable, ByteProcessor, ShortProcessor

public class CorrelationProcessor
extends java.lang.Object
implements ByteProcessor, ShortProcessor

Douglas Lyon, DocJava, Inc. User: dlyon Date: Nov 13, 2007 Time: 4:31:01 PM

See Also:
Serialized Form

Constructor Summary
CorrelationProcessor()
           
 
Method Summary
 int getNumberOfSamples()
           
 java.util.Vector getSampleVector()
           
 boolean isCorrelating()
           
 boolean isSampling()
           
static void main(java.lang.String[] args)
           
 void process(byte[] b)
           
 void process(short[] b)
           
 void setCorrelating(boolean correlating)
           
 void setSampling(boolean sampling)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorrelationProcessor

public CorrelationProcessor()
Method Detail

isSampling

public boolean isSampling()

setSampling

public void setSampling(boolean sampling)

process

public void process(byte[] b)
Specified by:
process in interface ByteProcessor

process

public void process(short[] b)
Specified by:
process in interface ShortProcessor

getSampleVector

public java.util.Vector getSampleVector()

getNumberOfSamples

public int getNumberOfSamples()

isCorrelating

public boolean isCorrelating()

setCorrelating

public void setCorrelating(boolean correlating)

main

public static void main(java.lang.String[] args)
                 throws javax.sound.sampled.LineUnavailableException
Parameters:
args -
Throws:
javax.sound.sampled.LineUnavailableException