Procgen Effects Showcase
- ..
- .metadata394 B
- README.md816 B
- data.zaud1.0 MB
- settings.yaml107 B
README.md
storm_rain
Looping rain sound for the lightning storm in the fx_storm scene. The scene's StormRain entity
plays it from an Audio component with autoplay on, looping on, the sfx channel, source type
Ambience, volume 0.5 and spatial off.
storm/audio.module generates the samples in Luau and creates the clip with asset.create (mono,
32000 Hz); its M.bake() makes each storm clip whose name is still free. This clip comes from
M.rainBed(7, 8.0), which generates 0.8 s more than the clip's 8 s and crossfades that tail into
the start, so the end meets the beginning when it loops.
data.zaud is the engine-native payload the runtime decodes and plays. Its header states PCM, 32000
Hz, 1 channel and 256000 frames, 8.0 seconds. settings.yaml sets codec pcm, forceMono false,
load type auto.