Log inGet started
World

Mirage Wells: Desert Dunes, Oasis and Ruins Kit

README.md

AudioMaster

Masters generated recordings into the kit's sound clips, and is how every clip in desertKit.package/audio was made from the audio_gen takes. loop turns a take into a level, seamless ambience loop (trims head and tail, cross-fades the last 3 s into the first with an equal-power fade, levels to an RMS with a peak cap); oneShot trims a footstep or a call to its onset, fades it out and normalises it (optionally to mono).

local M = require("desertKit.AudioMaster")
M.loop(asset.resolve("/zero/source/tmp/raw.soundClip", "soundClip"), "/zero/source/desertKit.package/audio/beds", "dk_bed_x", { crossfade = 3, rms = 0.09 })
M.oneShot(asset.resolve("/zero/source/tmp/step.soundClip", "soundClip"), "/zero/source/desertKit.package/audio/steps", "dk_x_1", { length = 0.5, mono = true })

Check a loop with clipRef:loopSeam().seamless.