ddf.minim.spi
Interface AudioSynthesizer

All Superinterfaces:
AudioResource, AudioStream

public interface AudioSynthesizer
extends AudioStream

An AudioSythesizer is an AudioStream that generates sound, rather than reading sound. It uses the attached AudioSignal and AudioEffect to generate a signal.

Author:
Damien Di Fede

Method Summary
 void setAudioEffect(AudioEffect effect)
          Sets the AudioEffect to apply to the signal.
 void setAudioSignal(AudioSignal signal)
          Sets the AudioSignal used by this sythesizer.
 
Methods inherited from interface ddf.minim.spi.AudioStream
bufferSize, setAudioListener
 
Methods inherited from interface ddf.minim.spi.AudioResource
close, getControls, getFormat, open
 

Method Detail

setAudioSignal

void setAudioSignal(AudioSignal signal)
Sets the AudioSignal used by this sythesizer.

Parameters:
signal - the AudioSignal used to generate sound

setAudioEffect

void setAudioEffect(AudioEffect effect)
Sets the AudioEffect to apply to the signal.

Specified by:
setAudioEffect in interface AudioStream
Parameters:
effect - the AudioEffect to apply to the signal