com.sun.media.sound
Interface ModelOscillator

All Known Subinterfaces:
ModelWavetable
All Known Implementing Classes:
ModelAbstractOscillator, ModelByteBufferWavetable

public interface ModelOscillator

This interface is used for oscillators. See example in ModelDefaultOscillator which is a wavetable oscillator.

Author:
Karl Helgason

Method Summary
 float getAttenuation()
          Attenuation is in cB.
 int getChannels()
           
 ModelOscillatorStream open(float samplerate)
           
 

Method Detail

getChannels

int getChannels()

getAttenuation

float getAttenuation()
Attenuation is in cB.

Returns:

open

ModelOscillatorStream open(float samplerate)