audSetReverb

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, or False on the PlayStation if there's no sound RAM left for it.

Audio

Parameters & Returns

Parameters

preset Int
volume Double

Returns

Int

Quick Summary

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, or False on the PlayStation if there's no sound RAM left for it.

Technical Exegesis...

The reverb is the PlayStation's own, with its ten presets, and it sounds the same on desktop, web and PS1:

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.

Example

Example.bam
audSetReverb(5, 0.6)                ; the hall
Local shot:Int = audLoadSound("Media/pistol.wav")
audPlaySound(shot)