Types
ambient-sound: basicsource
Fields
type: type
spec: sound-spec
playing-id: sound-id
trans: vector
name: sound-name
play-time: time-frame
time-base: time-frame
time-random: time-frame
volume: int32
pitch: int32
falloff-near: int32
falloff-far: int32
falloff-mode: int32
params: pointer
param-count: int32
entity: entity
sound-count: int32
Methods
update!(obj: ambient-sound) => intsource
Called once per frame to update the sound playback
change-sound!(obj: ambient-sound, name: sound-name) => intsource
Change the sound being played
update-trans!(obj: ambient-sound, sound-trans: vector) => intsource
Update the position of the thing playing the sound
update-vol!(obj: ambient-sound, arg0: int) => intsource
Update the volume of the sound
stop!(obj: ambient-sound) => intsource
Halt playback of this ambient-sound
sound-bank-id: uint32source
sound-name: uint128source
sound-play-parms: structuresource
sound-rpc-bank-cmd: sound-rpc-cmdsource
sound-rpc-continue-group: sound-rpc-group-cmdsource
sound-rpc-continue-sound: sound-rpc-sound-cmdsource
sound-rpc-get-irx-version: sound-rpc-cmdsource
sound-rpc-group-cmd: sound-rpc-cmdsource
sound-rpc-load-bank: sound-rpc-bank-cmdsource
sound-rpc-load-music: sound-rpc-bank-cmdsource
sound-rpc-pause-group: sound-rpc-group-cmdsource
sound-rpc-pause-sound: sound-rpc-sound-cmdsource
sound-rpc-play: sound-rpc-sound-cmdsource
sound-rpc-set-ear-trans: sound-rpc-cmdsource
sound-rpc-set-falloff-curve: sound-rpc-cmdsource
sound-rpc-set-master-volume: sound-rpc-group-cmdsource
sound-rpc-set-mirror-mode: sound-rpc-cmdsource
sound-rpc-set-param: sound-rpc-sound-cmdsource
Fields
rsvd1: uint16
command: sound-command
id: sound-id
parms: sound-play-parms
auto-time: int32
auto-from: int32
sound-rpc-set-reverb: sound-rpc-cmdsource
sound-rpc-set-sound-falloff: sound-rpc-cmdsource
sound-rpc-stop-group: sound-rpc-group-cmdsource
sound-rpc-stop-sound: sound-rpc-sound-cmdsource
sound-rpc-union: structuresource
Fields
data: uint32
load-bank: sound-rpc-load-bank
unload-bank: sound-rpc-unload-bank
play: sound-rpc-play
pause-sound: sound-rpc-pause-sound
stop-sound: sound-rpc-stop-sound
continue-sound: sound-rpc-continue-sound
set-param: sound-rpc-set-param
set-master-volume: sound-rpc-set-master-volume
pause-group: sound-rpc-pause-group
stop-group: sound-rpc-stop-group
continue-group: sound-rpc-continue-group
get-irx-version: sound-rpc-get-irx-version
set-falloff-curve: sound-rpc-set-falloff-curve
set-sound-falloff: sound-rpc-set-sound-falloff
reload-info: sound-rpc-reload-info
set-language: sound-rpc-set-language
set-reverb: sound-rpc-set-reverb
set-ear-trans: sound-rpc-set-ear-trans
set-flava: sound-rpc-set-flava
set-fps: sound-rpc-set-fps
shutdown: sound-rpc-shutdown
list-sounds: sound-rpc-list-sounds
unload-music: sound-rpc-unload-music
mirror-mode: sound-rpc-set-mirror-mode
sound-rpc-unload-bank: sound-rpc-bank-cmdsource
sound-spec: basicsource
Fields
type: type
mask: sound-mask
num: float
group: sound-group
sound-name-char: uint8
sound-name: sound-name
trans: float
volume: int32
pitch-mod: int32
bend: int32
fo-min: int16
fo-max: int16
fo-curve: int8
priority: int8
auto-time: int32
auto-from: int32
Functions
music-flava->string(f: music-flava) => stringsource
Variables
*sound-bank-1*: symbolsource
*sound-bank-2*: symbolsource
Types
flava-table: basicsource
sound-iop-info: basicsource
Functions
check-irx-version() => intsource
current-str-id() => sound-idsource
Return id of the current stream
current-str-pos(str: sound-id) => intsource
Return position of the current stream. Return -1 if specified stream is not current
flava-lookup(music: symbol, n: music-flava) => intsource
Return the n'th flava for the specified music
free-last-sound-buffer-entry() => intsource
get-sound-buffer-entry() => pointersource
list-sounds() => intsource
make-sqrt-table() => intsource
set-language(lang: language-enum) => intsource
show-iop-info(buf: dma-buffer) => intsource
Display sound channel status in the top left corner
show-iop-memory(buf: dma-buffer) => intsource
sound-angle-convert(deg: float) => intsource
sound-bank-load(name: sound-name) => sound-idsource
sound-bank-unload(name: sound-name) => intsource
sound-basic-cb(arg0: int, arg1: pointer) => nonesource
This function is unused.
sound-buffer-dump() => intsource
sound-command->string(cmd: sound-command) => stringsource
sound-continue(id: sound-id) => intsource
sound-group-continue(group: sound-group) => intsource
sound-group-pause(group: sound-group) => intsource
sound-group-stop(group: sound-group) => intsource
sound-music-load(name: sound-name) => intsource
sound-music-unload() => intsource
sound-name=(arg0: sound-name, arg1: sound-name) => symbolsource
Return #t if both are the same name
sound-pause(id: sound-id) => intsource
sound-play-by-name(name: sound-name, id: sound-id, vol: int, pitch: int, bend: int, group: sound-group, trans: symbol) => sound-idsource
Play a sound called name with the specified params
sound-play-by-spec(spec: sound-spec, id: sound-id, sound-trans: vector) => sound-idsource
Play a sound from the given spec
sound-reload-info() => intsource
sound-set-ear-trans(ear-trans: vector, cam-trans: vector, cam-angle: float) => intsource
sound-set-falloff-curve(curve: int, falloff: float, ease: float) => intsource
sound-set-flava(flava: uint) => intsource
sound-set-fps(arg0: int) => intsource
sound-set-mirror-mode(mode: sound-mirror-mode) => nonesource
sound-set-reverb(arg0: int, arg1: float, arg2: float, arg3: uint) => intsource
sound-set-sound-falloff(name: sound-name, falloff-min: int, falloff-max: int, curve: int) => intsource
sound-set-volume(group: sound-group, volume: float) => intsource
sound-stop(id: sound-id) => intsource
sound-trans-convert(dest: vector3w, src: vector) => intsource
sound-volume-off() => intsource
Set all sound volume to zero
str-is-playing?() => symbolsource
Return #t if an audio stream is playing