| com.db.media.audio.dsp.sources.Oscillator
All known Subclasses: com.db.media.audio.dsp.sources.StereoOscillator,
Oscillator | public class Oscillator extends AbstractAudio (Code) | | |
Constructor Summary | |
public | Oscillator(int type, int frequency, int sampleRate, int numberOfChannels, NegotiationListener negComplete) | public | Oscillator(NegotiationListener negComplete) |
NOISE | final public static int NOISE(Code) | | |
NOTYPE | final public static int NOTYPE(Code) | | |
SINEWAVE | final public static int SINEWAVE(Code) | | |
SQUAREWAVE | final public static int SQUAREWAVE(Code) | | |
TRIANGLEWAVE | final public static int TRIANGLEWAVE(Code) | | |
amplitudeAdj | protected double amplitudeAdj(Code) | | |
frequency | protected int frequency(Code) | | |
negComplete | protected NegotiationListener negComplete(Code) | | |
numberOfChannels | protected int numberOfChannels(Code) | | |
sampleRate | protected int sampleRate(Code) | | |
waveTable | protected short[] waveTable(Code) | | |
Oscillator | public Oscillator(int type, int frequency, int sampleRate, int numberOfChannels, NegotiationListener negComplete)(Code) | | |
Oscillator | public Oscillator(NegotiationListener negComplete)(Code) | | |
buildWaveTable | protected void buildWaveTable()(Code) | | |
getAmplitudeAdj | public double getAmplitudeAdj()(Code) | | |
getFrequency | public int getFrequency()(Code) | | |
getNumberOfChannels | public int getNumberOfChannels()(Code) | | |
getOscType | public int getOscType()(Code) | | |
getSampleRate | public int getSampleRate()(Code) | | |
getSamples | public int getSamples(short[] buffer, int length)(Code) | | |
minMaxChannels | public void minMaxChannels(int min, int max, int preferred)(Code) | | |
minMaxSamplingRate | public void minMaxSamplingRate(int min, int max, int preferred)(Code) | | |
setAmplitudeAdj | public void setAmplitudeAdj(double amplitudeAdj)(Code) | | |
setFrequency | public void setFrequency(int frequency)(Code) | | |
setNumberOfChannels | public void setNumberOfChannels(int numberOfChannels)(Code) | | |
setOscType | public void setOscType(int type)(Code) | | |
setSampleRate | public void setSampleRate(int sampleRate)(Code) | | |
|
|