public class MultichannelToMonoProcessor extends AudioProcessor
Constructor and Description |
---|
MultichannelToMonoProcessor()
Create a processor to process chunks.
|
MultichannelToMonoProcessor(AudioStream a)
Create a processor for the given audio stream.
|
Modifier and Type | Method and Description |
---|---|
SampleChunk |
process(SampleChunk sample)
Function that takes a sample chunk and processes the chunk.
|
getLength, getUnderlyingStream, nextSampleChunk, process, processingComplete, reset, setUnderlyingStream
iterator, seek
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public MultichannelToMonoProcessor()
public MultichannelToMonoProcessor(AudioStream a)
a
- The audio stream to process.public SampleChunk process(SampleChunk sample)
process
in class AudioProcessor
sample
- The sample chunk to process.AudioProcessor.process(org.openimaj.audio.SampleChunk)