Scripting / Reference
Audio
Types in the ParelVR.Volt.Audio namespace.
VoltAudioClip#
ParelVR.Volt.Audio.VoltAudioClip reference extends VoltObject
A sound that is part of the world. Scripts cannot load sound from files or the web.
VoltAudioClip properties#
Length of the sound in seconds.
VoltAudioMixer#
ParelVR.Volt.Audio.VoltAudioMixer reference extends VoltObject
A mixer that is part of the world.
VoltAudioMixer methods#
Gives an exposed parameter back to the mixer's snapshots.
Reads an exposed parameter of the mixer.
Sets an exposed parameter of the mixer. Returns false when there is no such parameter.
VoltAudioSource#
ParelVR.Volt.Audio.VoltAudioSource reference extends VoltComponent
Something in the world that plays sound.
VoltAudioSource properties#
The sound Play starts.
True while the source is playing.
Whether the sound starts over when it ends.
Distance beyond which the sound is no longer heard or stops getting quieter.
Distance within which the sound is at full volume.
Whether the source is silenced.
Playback speed and pitch, 1 is normal.
Which sources win when too many play at once: 0 is most important, 256 least.
How much the sound comes from its position: 0 is the same everywhere, 1 is fully positional.
Position in the sound in seconds.
Loudness, 0 to 1.
VoltAudioSource methods#
Pauses the sound; Play continues from the same place.
Starts the source's sound from the beginning.
Plays a sound once on top of whatever the source is playing.
Stops the sound.
Continues a paused sound.
