Category: Audio
Syntax:
audSetReverb:Int(preset:Int, volume:Double)
Int
Puts reverb (a room, a hall, an echo...) on the sound effects played from now on.
Takes preset (0 off, 1 to 9) and volume (how loud the reverb is, 0.0 to 1.0).
Returns True.
The reverb is the PlayStation's own, with its ten presets, and it sounds the same in every edition of BambooBasic:
0 off, 1 room, 2 studio small, 3 studio medium, 4 studio large, 5 hall, 6 half echo, 7 space echo, 8 chaos echo, 9 delay.
It goes on sounds started after the call (audPlaySound, audLoopSound, audPlaySound3D), not on music. Sounds already playing keep the setting they started with. Turning it off with 0 lets the reverb that's still ringing die away naturally, and changing the volume takes effect straight away. A new preset starts from silence.
View detailed documentation online
audSetReverb(5, 0.6) ; the hall
Local shot:Int = audLoadSound("Media/pistol.wav")
audPlaySound(shot)
BambooBasic © 2026 Michael Denathorn