From a36851853f1b62c2c919b634d1de269cddc8e22d Mon Sep 17 00:00:00 2001 From: Dasemu Date: Mon, 19 Oct 2026 04:43:17 +0200 Subject: [PATCH] docs: explain music selection and licensing rule Co-Authored-By: Claude Opus 5.5 --- docs/music.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 docs/music.md diff --git a/docs/music.md b/docs/music.md new file mode 100644 index 0000000..28f204f --- /dev/null +++ b/docs/music.md @@ -0,0 +1,34 @@ +# Music + +Background music lives in `audio//` (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.