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
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