|
audio: миграция bell_hit/whoosh на спек-синтез (E3), мёртвый door.wav удалён
- SoundSpec: флаг swell (огибающая «0 → 1 → 0» у hit/scrape), у chime 4-й партиал и константная амплитуда клика — формулы совпали с gen.mjs дословно - data/sfxSpecs.ts: реестр SPEC_SFX + playSfx — единая точка проигрывания sfx (AudioSystem, useTransition, collectFlower); ключи в AUDIO_KEYS - gen.mjs: CLI-гвард (WAV при импорте не пишутся), формулы bellHit/whoosh экспортированы для парити-теста sfxSpecs.test.ts (бит-в-бит равенство) - доки: plan.md (E1–E3 ✅, F/G ✅), practices.md, assets-audio-save.md Co-Authored-By: Claude Code <noreply@anthropic.com> |
|---|
|
|
| apps/game/assets/audio/sfx/bell_hit.wav 100644 → 0 |
|---|
|
Not supported
|
| apps/game/assets/audio/sfx/door.wav 100644 → 0 |
|---|
|
Not supported
|
| apps/game/assets/audio/sfx/whoosh.wav 100644 → 0 |
|---|
|
Not supported
|
| apps/game/src/data/__tests__/sfxSpecs.test.ts 0 → 100644 |
|---|
| apps/game/src/data/audio.ts |
|---|
| apps/game/src/data/sfxSpecs.ts 0 → 100644 |
|---|
| apps/game/src/scenes/BootScene.ts |
|---|
| apps/game/src/scenes/LocationScene.ts |
|---|
| apps/game/src/systems/AudioSystem.ts |
|---|
| apps/game/src/systems/__tests__/AudioSystem.test.ts |
|---|
| apps/game/tools/audio/gen.d.mts 0 → 100644 |
|---|
| apps/game/tools/audio/gen.mjs |
|---|
| docs/engine/assets-audio-save.md |
|---|
| docs/engine/practices.md |
|---|
| docs/plan.md |
|---|
| packages/engine/src/audio/SoundSpec.ts |
|---|