public interface Oscillator extends AudioSourceNode
Modifier and Type | Field and Description |
---|---|
static int |
CUSTOM |
static int |
FINISHED_STATE |
static int |
PLAYING_STATE |
static int |
SAWTOOTH |
static int |
SCHEDULED_STATE |
static int |
SINE |
static int |
SQUARE |
static int |
TRIANGLE |
static int |
UNSCHEDULED_STATE |
Modifier and Type | Method and Description |
---|---|
AudioParam |
getDetune() |
AudioParam |
getFrequency() |
int |
getPlaybackState() |
int |
getType() |
void |
noteOff(double when) |
void |
noteOn(double when) |
void |
setType(int arg) |
void |
setWaveTable(WaveTable waveTable) |
connect, connect, disconnect, getContext, getNumberOfInputs, getNumberOfOutputs
static final int CUSTOM
static final int FINISHED_STATE
static final int PLAYING_STATE
static final int SAWTOOTH
static final int SCHEDULED_STATE
static final int SINE
static final int SQUARE
static final int TRIANGLE
static final int UNSCHEDULED_STATE
AudioParam getDetune()
AudioParam getFrequency()
int getPlaybackState()
int getType()
void setType(int arg)
void noteOff(double when)
void noteOn(double when)
void setWaveTable(WaveTable waveTable)
Copyright © 2018. All rights reserved.