Voice Module
Constructors for Voice values.
Functions and values
| Function or value |
Description
|
Full Usage:
at volume pan
Parameters:
float32
-
Playback volume (1.0 = full).
pan : float32
-
Stereo pan (-1 left .. 1 right).
Returns: Voice
Modifiers: inline |
A voice with the given volume and pan, normal pitch.
|
The default voice: full volume, centered, normal pitch.
|
|
|
Clamps a voice to the portable ranges — Volume 0.0..1.0, Pan -1.0..1.0, Pitch 0.5..2.0. The services call this at the entry of every play, so an out-of-range knob can never crash one backend while playing fine on another.
|
Full Usage:
ofVolume volume
Parameters:
float32
-
Playback volume (1.0 = full).
Returns: Voice
Modifiers: inline |
A voice with the given volume, centered, normal pitch.
|
Mibo