ZymeSound
The noise the ferment makes, synthesised on the CPU with `audio.encodePcm`, so neither clip depends on a generation service being reachable.
ZymeSound
The noise the ferment makes, synthesised on the CPU with audio.encodePcm, so
neither clip depends on a generation service being reachable.
| clip | what it is | codec |
|---|---|---|
zyme_bubbles | a 5 s bed of wet burble and popping bubbles, played spatially at the ferment's weighted centre | pcm |
zyme_wellup | a 1.1 s rising gulp for the moment the bloom takes a plot | opus |
The bed is seamless END TO END. Every partial in its drone is an exact
multiple of 1/5 Hz and every bubble finishes before the last frame, so the buffer
loops on the Audio component's own looping field with nothing at the seam.
It is written codec = "pcm" on purpose: an Opus clip loses its first few
milliseconds on decode, which a loop hears as a click. The one-shot never loops,
so Opus keeps it to nine kilobytes.
A bubble is a sine whose pitch climbs exponentially under an exponential decay — the shape a bubble's resonance makes as it rises and bursts. The drone is twenty-two low partials, 1/f weighted, each breathing under its own slow tremolo.
ensure(which) resolves a clip and bakes it the first time, so a world that
arrives without the .soundClip assets mints them on the first load rather than
running silent. The generator is fixed, so two bakes of one clip are the same
bytes.
Scoped to this part · feeds back into the world's score.