Package org.teavm.jso.webaudio
Interface AudioBuffer
- All Superinterfaces:
JSObject
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyFromChannel(float[] destination, int channelNumber)
void
copyFromChannel(float[] destination, int channelNumber, int startInChannel)
void
copyFromChannel(Float32Array destination, int channelNumber)
void
copyFromChannel(Float32Array destination, int channelNumber, int startInChannel)
void
copyToChannel(float[] source, int channelNumber)
void
copyToChannel(float[] source, int channelNumber, int startInChannel)
void
copyToChannel(Float32Array source, int channelNumber)
void
copyToChannel(Float32Array source, int channelNumber, int startInChannel)
getChannelData(int channel)
double
int
int
float
-
Method Details
-
getSampleRate
float getSampleRate() -
getLength
int getLength() -
getDuration
double getDuration() -
getNumberOfChannels
int getNumberOfChannels() -
getChannelData
-
copyFromChannel
-
copyFromChannel
void copyFromChannel(float[] destination, int channelNumber) -
copyFromChannel
-
copyFromChannel
void copyFromChannel(float[] destination, int channelNumber, int startInChannel) -
copyToChannel
-
copyToChannel
void copyToChannel(float[] source, int channelNumber) -
copyToChannel
-
copyToChannel
void copyToChannel(float[] source, int channelNumber, int startInChannel)
-