Every sound is made by scripts in tools/audio/ and committed as a WAV in assets/audio/ with a manifest of hashes and levels: - dsp.gd: seeded noise, wavetable oscillators, filters, envelopes and struck modes. recipes.gd: 50 effects (footsteps on five surfaces, a report per weapon, impacts, carpentry building and breaking, the tide's bell, foghorn, surge and lighthouse, player, ambience, menus). - score.gd: an original eight-bar tune and chords in D Dorian, 6/8, rendered as four looping layers (drone, frame drum, concertina, fiddle). - loudness.gd and check.gd: per-category loudness targets, a -1 dBFS peak ceiling and the mix order (the tide loudest). make audio and make audio-check. In the client, SoundDirector turns FX records, footsteps, building, the tide and the player's own hurts into sounds, placed on 3D voices at the event so gunfire and footsteps come from their direction. MusicDirector fades the score's layers with the tide on an AudioStreamSynchronized, full in menus. MenuSounds knocks for buttons. Closes #48 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
1.4 KiB
Markdown
23 lines
1.4 KiB
Markdown
# Asset provenance
|
|
|
|
Every file under `assets/` is made by a script in this repository. Nothing here is
|
|
sampled, recorded, downloaded or taken from a third party. Colours, shaders and
|
|
meshes built in code are recorded by being in the repository and aren't listed here.
|
|
|
|
## Audio (`assets/audio/`, A8)
|
|
|
|
| Files | Generator | How |
|
|
|---|---|---|
|
|
| `step_*`, `land`, `swing_*`, `shot_*`, `keg_blast`, `reload`, `hit_*`, `chop`, `build_*`, `break_*`, `splash`, `swim`, `surge`, `bell`, `foghorn`, `lighthouse`, `hurt`, `pickup`, `chest_open`, `eliminated`, `amb_*`, `ui_*` | `tools/audio/recipes.gd` | Synthesized from seeded noise, wavetable oscillators, filters and decaying modes (`tools/audio/dsp.gd`). |
|
|
| `music_drone`, `music_drum`, `music_concertina`, `music_fiddle` | `tools/audio/score.gd` | An original eight-bar tune and chord sequence in D Dorian, written for Tidewall as the note lists in the script, rendered with the same synthesis. It follows no existing song. |
|
|
| `manifest.json` | `tools/audio/generate.gd` | Each file's category, length, SHA-256, peak and loudness. |
|
|
|
|
Regenerate everything with:
|
|
|
|
tools/godot.sh --script res://tools/audio/generate.gd
|
|
|
|
and check it with `tools/godot.sh --script res://tools/audio/check.gd` (part of
|
|
`make check` through `test/audio/test_audio_assets.gd`, which also regenerates every
|
|
file and compares hashes). Files are mono 16-bit PCM at 22,050 Hz. Licence: see
|
|
`LICENSE-ASSETS`.
|