Ship real sound files for the camera, the fart and the welcome jingle #7
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/custom-sounds"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Three of the six sound events were still vanilla placeholders. They now ship their own Ogg Vorbis files, generated by the new
tools/sounds.py(pip install soundfile numpy, deterministic output):photo_flash: a camera shutter, attenuated to 8 blocks.swamp_fart: a low bubbly rasp with a few bubbles on top, 24 blocks.duloc_welcome: a twenty second music-box jingle with a fade-out, matchingDulocMusicBoxBlock.SONG_TICKSand audible over 48 blocks.Shrek's yell, Lord Farquaad's speech and Donkey's chatter stay on vanilla sounds on purpose: those need recording with voices, not synthesis.
sounds.jsonnow records which entries have a file, and the README explains how to swap any of them for your own .ogg.Builds green on all six nodes; the files are valid Ogg Vorbis (44.1 kHz mono) and are in the jars.