CHIPTRACK public percussion banks: 808 and 909
Prepared 2026-11-25. No LSDJ or Roland ROM audio is included.

808: Michael Fischer / Technopolis recordings, from the TidalCycles
sounds-tr808-fischer repository, which distributes the collection under CC0 1.0.
The original documentation describes direct recordings from an analog TR-808.
Source: https://github.com/tidalcycles/sounds-tr808-fischer
Pinned revision: 85fbecf1bec32553395625ea659e2a56dfd7c0e1
License and original notes: 808-fischer/LICENSE and 808-fischer/README.md.
The 808 BD uses BD0000.WAV (TONE and DECAY minimum), 52.67ms after conversion.
Approved by the owner after the engine audition on 2026-11-26.
It replaces the longer BD0050 rejected by the owner on 2026-11-26; BD5025 was
the earlier selection. Same conversion and bit depth; the remaining25 hits
are unchanged. BD5025 and BD0050 are retained only as source history.

909 ANALOG SOUNDS: TR-909 samples by Janne G:son Berg, cut and published by
altemark on Freesound, CC BY 4.0. Source collection:
https://freesound.org/people/altemark/packs/1643/
The seven WAV files used here are the processed versions distributed by
Hiroshi Okamura / 5&UP in MMLisp, not the untouched Freesound originals.
https://github.com/5up-okamura/mmlisp/tree/7e746ce57e243d012294393480e98645f79e7ab1/presets/tr909
MMLisp changes: 44.1 to 22.05 kHz low-pass decimation, shortened tails with
half-cosine fades, role-based level adjustment, limiting and clipping.
Its original README and CC BY 4.0 license are preserved under 909-jgb/.
Our converted versions of these seven sounds remain CC BY 4.0.

909 METAL SOUNDS: closed hat, open hat, crash and ride are original
procedural noise/modal synthesis in tools/chip/public_assets.py:metal.
Their generated audio is dedicated to CC0 1.0, with the full license in
LICENSE-CC0-1.0.txt. No source audio, ROM, or recorded waveform is used for
these four sounds. They are free substitutes, not authentic TR-909 PCM.
The 909 bank therefore combines seven recorded analog hits and four
synthesized replacements. It is not an official Roland product.

CHIPTRACK conversion for all sounds:
- mono unsigned 4-bit PCM, 11468 Hz, high nibble first; silence is 8;
- DC removal and 96-tap, 1024-phase Blackman-windowed low-pass resampling;
- short boundary fades and peak scaling before integer quantization;
- only quantized trailing silence is trimmed, followed by 32 silent frames;
- no dither, loops, input MP3s, or additional hard tail cuts.
Every input URL, pinned Git blob and SHA-256 is in downloads.json.
Every selected source, processing measurement and output hash is in manifest.json.
The generator reads only these pinned inputs and checks their SHA-256 first.

ORDER (hexadecimal index, same drum roles/order as the corresponding LSDJ KIT):
808:
00 BD- kick, 01 SD- snare, 02 CHH closed hat, 03 OHH open hat,
04 HT- high tom, 05 MT- mid tom, 06 LT- low tom, 07 CYM cymbal,
08 HCO high conga, 09 LCO low conga, 0A MAL maracas (legacy screen label),
0B RIM rimshot, 0C CLA claves, 0D COW cowbell, 0E CLP clap.
909:
00 BD- kick, 01 SD- snare, 02 CHH closed hat, 03 OHH open hat,
04 HT- high tom, 05 MT- mid tom, 06 LT- low tom, 07 CCY crash,
08 RCY ride, 09 RIM rimshot, 0A CLP clap.

The public UI offers exactly two built-in banks. Old bank IDs 0/1 resolve
to 808/909, while existing 808/909 IDs 2/3 are retained. These are compatibility
aliases, not additional stored banks. Keyboard notes wrap through each bank.
Built-in PCM is read directly from firmware, never copied into the four user
sample slots. Selecting a bank preserves the instrument's attached table.

Regenerate: python3 tools/chip/public_assets.py
Test: sh tools/chip/test_public_assets.sh (a working host C SDK is required)
Generated single-hit WAVs and two listening previews are in
build/publishing/r46/public-kits/. They decode the exact packed 4-bit data.
Generator/program code retains the project's GPL license. Audio licenses
are per sound above; do not label the whole mixed 909 bank as CC0.
