docs: explain music selection and licensing rule

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-19 04:43:17 +02:00
1 parent 04ef3cbd7d
commit a36851853f
1 file changed
+34
+34
View File
@@ -0,0 +1,34 @@
# Music
Background music lives in `audio/<mood>/` (moods used by the game: `contemplative`, `comic`,
`sacred`, `ominous`, `mystical`; `none` is silence) and `audio/scenes/` (pieces tied to specific
Faust scenes). `audio/credits.toml` is the manifest: one `[[track]]` per file with title,
composer, performer, source page, direct file URL, exact license, attribution text, original and
processed duration and the sha256 of the downloaded original.
## Licensing rule
A track is accepted only if **both** hold:
1. The composition is in the public domain (all composers here died before 1950).
2. The *recording* is public domain, CC0, CC-BY or CC-BY-SA, as stated on the source page
(Wikimedia Commons file page, or an archive.org item page). No NC/ND, no YouTube rips.
Most tracks are Musopen recordings (Musopen Kickstarter / Set Chopin Free projects) dedicated to
the public domain. CC BY-SA tracks (`mephisto-waltz-1`, `mozart-dies-irae`, `bach-bwv4-christ-lag`)
require the attribution text in `credits.toml` to be shown (e.g. in the game credits) and derived
audio to stay under the same license. `gretchen-am-spinnrade` is a 1927 US recording (public domain
in the US since 2023, marked Public Domain Mark 1.0 on archive.org).
## Selection
Instrumental where possible, since the text is Spanish verse. Scene pieces follow the Faust
tradition: Liszt's Mephisto Waltz No. 1 (Auerbach's tavern), Mozart's Dies irae (cathedral),
Schubert's Gretchen am Spinnrade (Margarita's spinning wheel), Bach's Easter cantata BWV 4
(Easter chorus).
## Processing
Originals are kept outside the repo. Files are converted with ffmpeg to OGG Vorbis (`-q:a 2.5`,
stereo, 44.1 kHz), normalised with `loudnorm=I=-20:TP=-2`, and trimmed to at most 4 minutes with a
3 s fade-out when trimmed. Total size is about 31 MB.