Uses of Class
toxi.audio.AudioBuffer
-
Uses of AudioBuffer in toxi.audio
Modifier and TypeMethodDescriptionAudioBuffer.configure
(ByteBuffer data, int format, int freq) Configure the audio bufferAudioBuffer.configure
(ByteBuffer data, AudioBuffer.Format format, int freq) static AudioBuffer
SynthUtil.floatArrayTo16bitBuffer
(JOALUtil audioSys, float[] raw, int rate) static AudioBuffer
SynthUtil.floatArrayTo16bitStereoBuffer
(JOALUtil audioSys, float[] raw, int rate) static AudioBuffer
SynthUtil.floatArrayTo8bitBuffer
(JOALUtil audioSys, float[] raw, int rate) static AudioBuffer
SynthUtil.floatArrayTo8bitStereoBuffer
(JOALUtil audioSys, float[] raw, int rate) JOALUtil.generateBuffers
(int numBuffers) Creates the specified number of audio sample buffers and returns an array ofAudioBuffer
wrappers.AudioSource.getBuffer()
Gets the buffer associated with this source.JOALUtil.loadBuffer
(InputStream is) Loads a WAV file from the givenInputStream
.JOALUtil.loadBuffer
(String fileName) Loads a WAV file (mono/stereo) from the specified file nameModifier and TypeMethodDescriptionboolean
JOALUtil.deleteBuffer
(AudioBuffer b) AudioSource.setBuffer
(AudioBuffer buffer) Sets the buffer associated with this source. -
Uses of AudioBuffer in toxi.music
ModifierConstructorDescriptionDelayedSamplePlayer
(AudioSource src, AudioBuffer buffer, long delay)