auditory.sampled
Interface BufferedSoundBinaryOp

All Known Implementing Classes:
AbstractBufferedSoundBinaryOp, AddOp, MultiplyOp

public interface BufferedSoundBinaryOp

The requirements of all unary operations that can be performed on BufferedSound objects

See Also:
"The Design and Implementation of Multimedia Software © 2011"

Method Summary
 BufferedSound filter(BufferedSound src1, BufferedSound src2, BufferedSound dest)
          Performs a dual-input/single-output operation on a BufferedSound.
 

Method Detail

filter

BufferedSound filter(BufferedSound src1,
                     BufferedSound src2,
                     BufferedSound dest)
                     throws java.lang.IllegalArgumentException
Performs a dual-input/single-output operation on a BufferedSound. If the destination is null, a BufferedSound with an appropriate AudioFormat and length is created and returned.

Parameters:
src1 - One operand (i.e., one sound to operate on)
src2 - The other operand (i.e., other sound to operate on)
dest - An empty sound to hold the result (or null)
Throws:
java.lang.IllegalArgumentException - if the sounds don't match


Design and Implementation of Multimedia Software, Jones and Bartlett Publishers