Repository navigation
Pocket Instruments 2.0.0-alpha.1 (test build)
Pre-releaseA test build, for loading by hand. The files are not signed. Pocket Instruments is not in the VCV Library and has not been submitted to it. One instrument so far: Rhythm, a sixteen-step drum machine. The page is not part of a release: it is the page as it is today, built from main.
Install it
On the page (nothing to install).
- Open https://kinggs.github.io/pocket-instruments/web/rhythm.html on a phone or a computer.
- Press play. It opens on the Amen Break.
- Share sends a link that carries the whole beat, all its patterns.
In VCV Rack 2.
- From the latest release, download
Showcase.vcvand the.vcvpluginfor your computer:win-x64,lin-x64,mac-arm64(Apple silicon) ormac-x64(Intel). - In Rack,
Help > Open user folder(~/.local/share/Rack2/on Linux,C:\Users\<username>\AppData\Local\Rack2\on Windows,~/Library/Application Support/Rack2/on macOS), and put the file, as it is, inplugins-<your platform>, such asplugins-lin-x64. - Restart Rack, which unpacks and loads it; open
Showcase.vcvand press HOLD on the button left of the LFO.
⚠ On a Mac, macOS may refuse to load an unsigned download. Not yet tried: issue 83.
In a Linux terminal, ready-made (x64).
- From the latest release, download
pocket-instruments-…-lin-x64.tar.gzand unpack it:tar -xzf pocket-instruments-*-lin-x64.tar.gz. - In the folder it makes, run
./pocket-instruments(it needs ALSA, as most desktops have). ./pocket-instruments --helplists the keys.
In a terminal, from source (Linux).
git clone https://github.com/kinggs/pocket-instrumentsand, inside it,mise install.make term(it needs ALSA's headers,alsa-liborlibasound2-dev, andpkg-config).- Run
term/target/release/pocket-instruments.
Not yet tested
An unsigned plugin on macOS (issue 83). The terminal program on any distribution but the one CI checks it on, and its sound and keys on any machine but the maintainer's. The terminal on macOS and Windows: not built.
Check a file
Each file has a build attestation tying it to this repository and the run that built it, and SHA256SUMS lists every file's checksum. With the GitHub CLI, and in the folder you downloaded them to:
gh attestation verify <file> -R kinggs/pocket-instruments
sha256sum -c --ignore-missing SHA256SUMS
Licence and credits
MIT. The plugin's effects port code from Emilie Gillet's stmlib and Plaits (MIT); her notice is in the plugin, at res/stmlib-plaits-MIT.txt. The typeface, JetBrains Mono, comes with its licence (OFL) at res/fonts/OFL.txt. The sixteen starter samples are CC0. The terminal program links crossterm (MIT) and cpal (Apache-2.0), whose licence is in its tarball. All credits: CREDITS.md.
An affectionate, non-commercial homage to Teenage Engineering's pocket operators. Not affiliated with Teenage Engineering. Their names are used only to describe.
What changed in 2.0.0-alpha.1
The first test build.
Added
- Rhythm, a sixteen-step drum machine of sixteen sounds, played the way the PO-12's guide
describes: on a page in the browser, as a VCV Rack module and in a Linux terminal, from one
engine that gives the same sound on each (D1 to D111,docs/history/PLAN.md). - Fourteen punch-in effects, held on a key while the beat plays and recorded as you play
them: a quarter rate, distortion, bit crush, delay, four filters, four repeats, note
shuffle and feedback (D66, D67, D88 to D104). - Two sliders for each sound, pitch and length for the drums; each step keeps the slider
values it was written with (D74, D75). - A display that weaves the beat as cloth on a loom (D84).
- In Rack, every sound's trigger, audio and slider voltages out and back in, and each effect
on its own channel of FX SEND and FX RETURN, so any effect can be ours or a Rack module's
(D76, D86, D87, D119). - A key's lights for the sounds in use and the chosen sound, the Shift latch, one-key
shortcuts and a keys helper on the page and in Rack (D112 to D122, #106 to #110). - The terminal program,
pocket-instruments: a menu of instruments, an intro and a config
file; keys hold as on the hardware in a terminal that reports key-up (foot, kitty, Ghostty,
WezTerm) and tap elsewhere (D123, D125, D127, #118, #124). - Sixteen patterns, chained, copied and cleared, on the page, in Rack and in the terminal;
Shift keeps a latched pattern for a chain (D133, D135, D136, #153, #158, #159, #166). - The beat file: a whole beat as text. Open and save it on the page and from Rack's Beat
menu; the terminal keeps its beat as one, and still reads an old binaryrhythm.beat
(D134, D136, #160, #162, #168, #171). - A bank of seven beats of our own, and a new player opens on the Amen Break, in four
patterns, written out on Rhythm's own sounds (D141, D142, D147, #172). - The beat link: Share on the page sends a link that carries the whole beat, all its
patterns; opening one asks before it replaces your beat, and keeps yours as Your last beat
(D143 to D145, D147, #185). - The beat link in Rack and the terminal: Copy and Paste beat link in the Rhythm module's
menu,:linkand:open <link>in the terminal; every host makes the same link for the
same beat (D145, D147, #193). - The page has an icon of its own, the weave's diamond, a stand-in for Kenny's eye (#195).
- The page and the README link and credit the PO-12's guide, whose workflow Rhythm follows
(#189). - PLAY in, in Rack: one button starts and stops several Rhythm modules in step, from the top
of the chain (D138, #151). - The reference patch,
Showcase.vcv: two Rhythm modules on one clock, the bank's Amen Break
on the drums with Rack's own delay as effect 4, a lead and a bass on the melody, cables
coloured by what they carry (D138, #149, #156, #173, #182, #184). - The agent's command,
node beat/beat.mjs check,renderandpack, andpack --link
(D140, D145, D147, #170, #185). - Each release carries the terminal program ready-made for Linux x64 beside the four Rack
files, withSHA256SUMSand an attestation for every file; the page says which commit it
was built from, in its credits (D150, D152, #197).
Changed
- Larger keys and less empty space, in Rack (27 HP, the wordmark under the display) and on
the page (D139, #174). - Five sounds remade, each a first setting for Kenny's ear: the kick (1), the hats and the
cymbal (3, 4, 7), the clap (9), the snare (2) and the bass (16) (D148, #183). - Effect 3, the bit crush, rounds to the nearest level and rests on zero: silent on silence,
and less harsh than before (D149, #190). - In the terminal, finer slider steps, and with bpm held one press is one swing step or one
bpm (D126, #125). - The Amen Break, the bank's first beat and the reference patch's drums, is the "closer"
Kenny chose by ear: ghost snares shorter and lower, backbeats up, the ride constant, a pedal
hat on every beat and a light swing; kick and snare stay on their samples. In the reference
patch the play button also resets both modules (D151, O44, #194).
Fixed
- Letting go of bpm steps the tempo preset only after a press, not after a hold (D130, #128).
- Swing starts with play: the first step after a start is never swung, so a swung beat
sounds the same every time it is started, on an outside clock (Rack's CLOCK and PLAY in,
with no RESET needed) as on its own (D153, #198).