Ship real sound files for the camera, the fart and the welcome jingle #7

Merged
Bewerkt merged 1 commit from feature/custom-sounds into main 2026-10-22 12:12:08 +00:00
Owner

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, matching DulocMusicBoxBlock.SONG_TICKS and 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.json now 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.

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, matching `DulocMusicBoxBlock.SONG_TICKS` and 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.json` now 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.
Ship real sound files for the camera, the fart and the welcome jingle
All checks were successful
Build / Build all versions and loaders (push) Successful in 3m54s
Build / Build all versions and loaders (pull_request) Successful in 3m51s
999dd43313
The three sound effects were pointing at vanilla sounds; they now have their own Ogg Vorbis files, generated
by the new tools/sounds.py (numpy and soundfile, deterministic): a shutter click, a low bubbly rasp, and a
twenty second music box jingle that matches DulocMusicBoxBlock.SONG_TICKS and fades out at the end.

The three voices (Shrek's yell, Lord Farquaad's speech, Donkey's chatter) stay on vanilla placeholders: they
need recording, not synthesis. sounds.json now says which entries ship a file, and the README explains both.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Bewerkt/ThePerfectPlaceMod!7
No description provided.