audio module
Core framework
Console
Desktop
Property |
Description |
Access |
Type |
audio.position |
Get/set the listener position in the world |
readwrite |
table |
audio.direction |
Get/set the listener direction in the world |
readwrite |
table |
audio.velocity |
Get/set the listener velocity |
readwrite |
table |
audio.cone |
Get/set the listener cone |
readwrite |
table |
audio.worldup |
Get/set the listener worldup direction |
readwrite |
table |
audio.volume |
Get/set the master volume |
readwrite |
number |
audio.gain |
Get/set the master gain |
readwrite |
number |
audio.channels |
Get the current device number of channels |
readonly |
number |
audio.samplerate |
Get the current device sample rate |
readonly |
number |
audio.devices |
Get the list of detected audio devices |
readonly |
table |
audio.playdevice |
Get/set the current audio playing device |
readwrite |
string |
audio.recdevice |
Get/set the current audio recording device |
readwrite |
string |
Object
| Description |
Sound |
Object representation of a sound |