Uses of Class
toxi.audio.AudioSource
Packages that use AudioSource
-
Uses of AudioSource in toxi.audio
Methods in toxi.audio that return AudioSourceModifier and TypeMethodDescriptionJOALUtil.generateSource()
Convenience wrapper forJOALUtil.generateSources(int)
to create a singleAudioSource
.JOALUtil.generateSourceFromFile
(String file) Convenience wrapper bundlingJOALUtil.loadBuffer(String)
&JOALUtil.generateSource()
in a single method call.JOALUtil.generateSources
(int numSources) Creates the specified number of hardware audio sources required to actually play the sample data stored inAudioBuffer
s.MultiTimbralManager.getNextVoice()
Attempts to find an available, currently unusedAudioSource
instance which can then be configured and played by the client application.AudioSource.play()
AudioSource.rewind()
AudioSource.setBuffer
(AudioBuffer buffer) Sets the buffer associated with this source.AudioSource.setDirection
(float[] d) AudioSource.setDirection
(float xx, float yy, float zz) AudioSource.setDirection
(Vec3D dir) AudioSource.setGain
(float gain) AudioSource.setLooping
(boolean state) AudioSource.setOffset
(int off) AudioSource.setPitch
(float pitch) AudioSource.setPosition
(float[] p) AudioSource.setPosition
(float xx, float yy, float zz) AudioSource.setPosition
(Vec3D p) AudioSource.setReferenceDistance
(float d) AudioSource.setVelocity
(float[] v) AudioSource.setVelocity
(float xx, float yy, float zz) AudioSource.setVelocity
(Vec3D p) AudioSource.stop()
AudioSource.updatePosition()
Methods in toxi.audio with parameters of type AudioSourceModifier and TypeMethodDescriptionboolean
JOALUtil.deleteSource
(AudioSource src) boolean
JOALUtil.deleteSource
(AudioSource src, boolean killBuffer) -
Uses of AudioSource in toxi.music
Constructors in toxi.music with parameters of type AudioSourceModifierConstructorDescriptionDelayedSamplePlayer
(AudioSource src, long delay) DelayedSamplePlayer
(AudioSource src, AudioBuffer buffer, long delay)