ADR-0007 — Recordings are never redistributed; fitted parameters carry the licence of the data they come from

Status: accepted

Context: The project is free, open-source and non-commercial (maintainer’s commitment, Nov 2026). The code is MIT. The piano is fitted to recordings under different licences (Piano 12): Salamander Grand Piano (CC BY 3.0), MAPS (CC BY-NC-SA 2.0 FR), MAESTRO (CC BY-NC-SA 4.0), University of Iowa MIS (terms not formally stated). Whether fitted parameters (frequencies, decay rates, filter curves) are an adaptation of a recording in the copyright sense is unclear; we treat them as one, which is the safe reading. MIT allows anyone to use the code commercially, so data under NC terms must stay clearly separate from the code.

Decision:

  1. No recordings in the repository, ever. data/ is gitignored; training/ has download scripts that fetch each dataset from its official source and check its checksum.

  2. Every model file names its sources and licence in its manifest.toml (sources = [...], license = "..."), and its directory holds a LICENSE and an attribution note.

  3. Licence of a model file = the most restrictive licence among its sources:

    Fitted fromModel file licence
    Salamander only (and our own recordings)CC BY 4.0, attributing “Salamander Grand Piano by Alexander Holm (CC BY 3.0)“
    anything from MAESTRO or MAPSCC BY-NC-SA 4.0, with attribution (MAESTRO: Hawthorne et al. 2019; MAPS: Emiya et al. 2010). CC BY-NC-SA 2.0 permits adaptations under a later version with the same elements, so MAPS-derived data can go under 4.0.
    University of Iowa MISnot shipped; private cross-checks only, until its terms are clear
  4. The default piano shipped with the plugin is fitted from Salamander (and own recordings) only, so plugin + default model is MIT + CC BY: free for anyone. Models fitted with MAESTRO or MAPS are published as separate downloads under CC BY-NC-SA 4.0, never compiled into the plugin binary.

  5. Validation (rendering MAESTRO MIDI and comparing with its audio) is research use and is fine under NC; its renders are not published as audio unless under CC BY-NC-SA 4.0 with attribution.

  6. Attribution of shipped data goes into NOTICE and the plugin’s about box.

Rejected alternative: Treating fitted parameters as uncopyrightable facts and shipping everything under MIT (plausible, but untested; the safe reading costs us little). Fitting only on our own recordings (legally cleanest, but far less data).

Consequences: The fitting pipeline must track sources per model file. The best-fitted piano may be an NC-licensed download rather than the default. Not legal advice; revisit if a dataset’s terms change.