Repository navigation
v0.3.76 — Keys mode
The sampler's chromatic half. K on the pad map flips the bed from pads to keys: instead of one sound per key, zones — a span of keys sharing one sound, transposed from a root. w throws a zone across the whole bed from the key under the caret, o takes the octave, s splits a zone at the caret, D asks before removing one, and Enter locks the span brace so h/l and H/L walk its edges, which stop politely at their neighbours. The root arrives three ways: recorded (a single-pitch take teaches the zone), read from the filename (kick_A#1.wav and Piano_C3.wav are believed; C3loop is not), or played (R arms the keyboard and the next key you press is the root). Zones may overlap — the leftmost owns the key's settings and the others lend their layers, retuned by the distance between roots so everything still sounds the pitch you play. The panel, the trim strip, normalize and resampling all follow the zone under the caret, switching modes destroys nothing, and a kit built entirely in keys mode survives its session round trip. Under the hood a zone materializes onto its keys as reference-counted handles — an 88-key zone costs refcounts, not copies. Install: cargo install phosphor-studio --locked