Cut 5d-1: Haven audio curation, WetMix PcmSynth, WalkerFootstepTracker & ArenaAudioSystem

This commit is contained in:
Meta Vens 2026-12-05 10:05:12 +01:00
commit 7f811c3011
41 changed files with 3067 additions and 10 deletions

View file

@ -0,0 +1,47 @@
# Audio Attribution & Migration Notes
## Curated Weapon & Mechanical Sound Effects (`assets/audio/haven/`)
- **Author / Source:** **Haven Kendrick** (Cult member) — *MWO Soundpack* (original weapon and mechanical sound effects, used with explicit permission).
- **Modifications applied by `tools/audio/curate_haven_audio.py`:**
- Converted to mono `44,100 Hz` `16-bit` signed PCM WAV (`RIFF/WAVE`).
- Trimmed leading silence / sliced sustained loops into crisp single-shot and burst windows with smooth cosine fade-outs (`30-50 ms`).
- Peak-normalized to `0.89` (`-1.0 dBFS`).
- **Explicitly excluded:** All third-party/stock-named files in the source folder (`SW01_*`, `MW4 - *`, `Utilities-*`, `desktop.ini`) were excluded and never copied.
### Curated Clip Manifest (25 files)
| Destination (`assets/audio/haven/`) | Source File | Role |
|---|---|---|
| `mg_shot_01.wav` | `ClanMG3_fixed.wav` | 7.62 MG shot variant A (`0.24 s`) |
| `mg_shot_02.wav` | `New_MG 2.wav` | 7.62 MG shot variant B (`0.24 s`) |
| `mg_tail.wav` | `mgtail.wav` | MG mechanical receiver tail (`0.66 s`) |
| `ac_light_01.wav` | `AC5.wav` | Light autocannon variant A (`0.85 s`) |
| `ac_light_02.wav` | `AC5_2.wav` | Light autocannon variant B (`0.80 s`) |
| `ac_med_01.wav` | `AC10.wav` | Medium autocannon (`0.95 s`) |
| `ac_rotary.wav` | `RAC5.wav` | Rotary autocannon (`1.01 s`) |
| `flak_blast_01.wav` | `ClanLBX7_2019.wav` | Flak scattergun variant A (`1.15 s`) |
| `flak_blast_02.wav` | `IS_LBX20_2.wav` | Flak scattergun variant B (`1.35 s`) |
| `cannon_heavy_01.wav` | `BigCannon1.wav` | 105mm Recoilless / heavy cannon A (`1.80 s`) |
| `cannon_heavy_02.wav` | `AC20.wav` | 105mm Recoilless / heavy cannon B (`1.50 s`) |
| `pd_bark_01.wav` | `AMS3.wav` | Point-defense flak bark A (`0.28 s`) |
| `pd_bark_02.wav` | `amsTP.wav` | Point-defense flak bark B (`0.28 s`) |
| `pd_laser.wav` | `laserams.wav` | Imperial Aegis PD pulse (`0.32 s`) |
| `rocket_salvo_01.wav` | `MRM1.wav` | Rocket/missile salvo A (`1.20 s`) |
| `rocket_salvo_02.wav` | `NEWSRM1.wav` | Rocket/missile salvo B (`1.35 s`) |
| `plasma_ppc_01.wav` | `Snub_PPC2.wav` | Touring Plasma Repeater A (`1.25 s`) |
| `plasma_ppc_02.wav` | `PPcSWEET.wav` | Touring Plasma Repeater B (`0.78 s`) |
| `lance_beam_01.wav` | `CPPC_DEC2018_2.wav` | Gilded Thermal Lance (`1.55 s`) |
| `laser_heavy_01.wav` | `CLL3.wav` | Heavy laser (reserved for Cut 7) (`1.20 s`) |
| `gauss_rail_01.wav` | `Gauss Sweet 1.wav` | Gauss rifle (reserved for Cut 7) (`1.15 s`) |
| `mech_reload_bolt.wav` | `CannonReload2.wav` | Heavy chassis swap bolt-clank (`1.25 s`) |
| `mech_quick_bolt.wav` | `reload.wav` | Module equip latch (`0.94 s`) |
| `mech_eject.wav` | `eject.wav` | Ruin / casing ejection clatter (`0.74 s`) |
| `mech_turret_servo.wav` | `turret9.wav` | Turret traverse mechanical accent (`1.10 s`) |
## Procedural Synth & `WetMixMode` Dry-Mode Migration Plan
`RustToDust.Core.Audio.PcmSynth` synthesizes all non-weapon audio cues (GRF-synced mech footsteps, engine/rotor/servo loops, metallic ricochets, armor/core impacts, explosions, and 2D UI feedback) as **pure dry mono 44.1 kHz PCM buffers first**, then passes them through a cleanly separable `WetMixMode` post-stage:
- **`WetMixMode = true` (current default):** Applies early reflections (`11-43 ms` taps), a short diffused room tail, and gentle `tanh` soft-clipping so procedural footsteps, impacts, and loops sit cohesively alongside Haven's pre-reverbed weapon recordings.
- **`WetMixMode = false` (future acoustic raycast DSP):** Bypasses the baked room stage and returns the dry PCM buffers untouched so an audio raytracer / convolution reverb bus can compute per-ray canyon and city-corridor reflections dynamically without double-reverberating procedural sources.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.