Files
swiftcontrol/assets
Jonas Bark 3e1bf05d6b fix(shift-feedback): replace the synthetic shift cues with the ad's click
The old shift_up/shift_down/shift_limit cues were synthesized DC-motor
whines and read as "pretty bad". Replace them with cues derived from the
click used in the September 2026 promotional video: a layered click (an
ElevenLabs Sound Effects v2 body + a synthetic 15ms mid transient),
processed with ffmpeg into three distinct WAVs — up pitched ~4 semitones
and trimmed to 0.28s, down at original pitch and full 0.48s length, and
limit built from two dry mid transients (0/90ms) with no body. All three
stay mono/16-bit/44.1kHz/~-14dBFS for the winmm backend and phone-speaker
use case.

Added test/assets/shift_sound_assets_test.dart, a pure-Dart RIFF/WAVE
parser that checks format, duration bounds, peak level, and that up/down
remain distinguishable — it fails red against the old files (down was
0.18s) and passes against the new ones.

Replaced assets/sounds/generate.py (the old synthesis script) with
assets/sounds/README.md documenting provenance and the exact ffmpeg
commands to regenerate from the source click, which lives outside this
repo in the marketing project's asset store.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 09:42:15 +02:00
..
2026-06-06 19:54:00 +02:00
2026-04-12 11:40:43 +02:00
2026-04-12 11:40:43 +02:00
2026-02-06 12:51:47 +01:00
2026-04-12 11:40:43 +02:00