public interface AudioBufferSourceNode extends AudioSourceNode
Modifier and Type | Field and Description |
---|---|
static int |
FINISHED_STATE |
static int |
PLAYING_STATE |
static int |
SCHEDULED_STATE |
static int |
UNSCHEDULED_STATE |
Modifier and Type | Method and Description |
---|---|
AudioBuffer |
getBuffer() |
AudioGain |
getGain() |
AudioParam |
getPlaybackRate() |
int |
getPlaybackState() |
boolean |
isLoop() |
boolean |
isLooping() |
void |
noteGrainOn(double when,
double grainOffset,
double grainDuration) |
void |
noteOff(double when) |
void |
noteOn(double when) |
void |
setBuffer(AudioBuffer arg) |
void |
setLoop(boolean arg) |
void |
setLooping(boolean arg) |
connect, connect, disconnect, getContext, getNumberOfInputs, getNumberOfOutputs
static final int FINISHED_STATE
static final int PLAYING_STATE
static final int SCHEDULED_STATE
static final int UNSCHEDULED_STATE
AudioBuffer getBuffer()
void setBuffer(AudioBuffer arg)
AudioGain getGain()
boolean isLoop()
void setLoop(boolean arg)
boolean isLooping()
void setLooping(boolean arg)
AudioParam getPlaybackRate()
int getPlaybackState()
void noteGrainOn(double when, double grainOffset, double grainDuration)
void noteOff(double when)
void noteOn(double when)
Copyright © 2016. All rights reserved.