Files
s41r4j-pixie/resources/README.md
T
s41r4jandClaude Opus 5.5 64d0c116ff Add workspace skeleton, core data model, resource slots and audio bus
- Cargo workspace per BUILD-SPEC §3 with stub crates for later milestones
- core: §4 data model, UI Event type, ResourceStore (slot manifest, variants,
  gain/category/bed, path-escape guard, missing-file report)
- resources/manifest.json covering every §8 slot + original placeholder media
  generated by scripts/gen-placeholders.mjs (never overwrites); OFL fonts
- voice: AudioBus with per-category gains and bed mutual exclusion, rodio backend

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 02:10:00 +05:30

25 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# resources/
All media is loaded by **slot name** through `manifest.json`; code never hardcodes a path.
```jsonc
"sounds": {
"badge-pop": { "files": ["sounds/badge-pop-1.wav", "…-2", "…-3"], "gain": 0.8, "category": "ui" },
"pencil-paper-bed": { "files": ["…"], "category": "ambient", "bed": true }
}
```
- `files`: one or more variants (sounds pick one at random; icons/fonts/videos use the first).
- `gain`: per-slot gain (0–2), multiplied by the category gain (`ui`, `agent`, `ambient`) and master.
- `bed`: long looping sound; only one bed plays at a time.
## Replacing media
Drop a file at the same path (or point the manifest at a new one). No code changes.
Every file here is an original placeholder generated by `npm run placeholders`
(`scripts/gen-placeholders.mjs`): synthesized tones/noise, drawn gradient icons, a blank
2 s clip. The script never overwrites existing files. Fonts are the upstream OFL releases
(Barlow, Patrick Hand) from github.com/google/fonts, licences in `fonts/OFL-*.txt`.
Do not copy media from other products into this folder; use originals or CC0 sources.