@threadcrumbs/threadnauts 1.2.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +0,0 @@
1
- # Sound samples
2
-
3
- Everything the colony can play has a procedural fallback in `src/audio/synth.js`, so this
4
- folder can stay empty. Real recordings sound better, and they slot in by name:
5
-
6
- 1. Drop `.wav` / `.mp3` / `.ogg` files in here.
7
- 2. Write a `manifest.json` next to them:
8
-
9
- ```json
10
- {
11
- "sounds": {
12
- "surf": { "file": "audio/surf.wav", "gain": 0.9, "loop": true },
13
- "gull": { "file": "audio/gull.wav", "gain": 1.0, "loop": false },
14
- "work-hammer":{ "file": "audio/hammer.wav","gain": 0.8, "loop": true, "trim": [0.1, 3.9] }
15
- }
16
- }
17
- ```
18
-
19
- The names are the ones in `src/audio/sounds.js`. A name that is not in the manifest, or whose
20
- file fails to load, falls back to its synth. Beds (`loop: true`) should loop cleanly; `trim`
21
- cuts a `[start, end]` window in seconds.
22
-
23
- This folder is gitignored apart from this file, because sample libraries — Splice included —
24
- license their sounds for use *in* a work, not for redistribution on their own. Sounds under
25
- CC0 are fine to commit; add them to `CREDITS.md` if you do.