# Instrument samples

Samples are bundled locally and loaded only for instruments used in the piece.

## Public domain (CC0), trimmed and re-encoded by `scripts/build-samples.py`

- **Grand piano** (Steinway B, sustain pedal, close microphones, three loudness layers): [Versilian Community Sample Library (VCSL)](https://github.com/sgossner/VCSL/tree/c1ea7bcc3c7309650ab0da9d15c9cd1fbc4a4c7e) by Versilian Studios. [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/).
- **Soft drum kit** (concert bass drum, modern snare, closed hi-hat; three loudness layers): VCSL, same commit. CC0 1.0.
- **Upright piano** (Knight upright, two loudness layers), **marimba** and **glockenspiel**: VCSL, same commit. CC0 1.0.
- **String section** (cello, viola and violin sections with vibrato; plucked, short and trembling styles), **solo violin** (bowed and plucked), **cello section plucks**, **upright bass** (plucked solo contrabass), **concert flute** (with vibrato, and short notes), **clarinet**, **oboe**, **bassoon** and **French horn**: [Versilian Studios Chamber Orchestra 2 Community Edition (VSCO-2-CE)](https://github.com/sgossner/VSCO-2-CE/tree/440300901dfe9275fd84e0b7763af1f8443ae62e). [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/).

These files are shortened (leading silence removed, a fade added), set to a consistent loudness, and encoded to MP3. Each note's pitch was measured and checked; a few mislabelled or noisy recordings were left out, and the glockenspiel is filed an octave above its file names, where it sounds. CC0 needs no credit; it is given anyway.

## Creative Commons Attribution 3.0 (unmodified files)

- **Acoustic guitar, cello (solo) and harp:** [tonejs-instruments](https://github.com/nbrosowsky/tonejs-instruments/tree/622c2f1c32c8cfce4158ddc3eb26e518ddef37e5), curated and edited by Nicholaus P. Brosowsky. [Creative Commons Attribution 3.0](https://creativecommons.org/licenses/by/3.0/). Upstream source notes credit University of Iowa for acoustic guitar; VSCO Community for harp; and flcellogrl's Freesound collection `12408__flcellogrl__real-cello-notes` for cello. See the [upstream source information](https://github.com/nbrosowsky/tonejs-instruments/blob/622c2f1c32c8cfce4158ddc3eb26e518ddef37e5/sample-source-info.txt).

## Creative Commons Attribution 3.0 (trimmed and re-encoded by `scripts/build-samples.py`)

- **Electric piano** (Wurlitzer EP200) and **electric grand** (Yamaha CP80), three loudness layers each: [Greg Sullivan E-Pianos](https://github.com/sfzinstruments/GregSullivan.E-Pianos/tree/8c3e581acda3594b553948ff0222d4f84a698376), recorded by Greg Sullivan, SFZ Instruments edition. [Creative Commons Attribution 3.0](https://creativecommons.org/licenses/by/3.0/). Changes: leading silence removed, a fade added, set to a consistent loudness, encoded to MP3; the mp, f and ff recordings are used as soft, medium and loud.

Still changes pitch, amplitude, envelope, timing, panning and room treatment during playback. No endorsement by the original creators is implied. `manifest.json` records exact upstream URLs, sizes and SHA-256 hashes. These licenses cover the sample assets separately from Still's application code.
