Skip to content

Releases

Pocket Instruments 2.0.0-alpha.2 (test build)

Choose a tag to compare

@github-actions github-actions released this 04 Dec 14:36
v2.0.0-alpha.2
ea7e1b3

A 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).

  1. Open https://kinggs.github.io/pocket-instruments/web/rhythm.html on a phone or a computer.
  2. Press play. It opens on the Amen Break.
  3. Share sends a link that carries the whole beat, all its patterns.

In VCV Rack 2.

  1. From the latest release, download Showcase.vcv and the .vcvplugin for your computer: win-x64, lin-x64, mac-arm64 (Apple silicon) or mac-x64 (Intel).
  2. 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, in plugins-<your platform>, such as plugins-lin-x64.
  3. Restart Rack, which unpacks and loads it; open Showcase.vcv and 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).

  1. From the latest release, download pocket-instruments-…-lin-x64.tar.gz and unpack it: tar -xzf pocket-instruments-*-lin-x64.tar.gz.
  2. In the folder it makes, run ./pocket-instruments (it needs ALSA, as most desktops have).
  3. ./pocket-instruments --help lists the keys.

In a terminal, from source (Linux).

  1. git clone https://github.com/kinggs/pocket-instruments and, inside it, mise install.
  2. make term (it needs ALSA's headers, alsa-lib or libasound2-dev, and pkg-config).
  3. 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.2

Added

  • In Rack, a module's right-click menu now has a link to the manual (D175; #265).
  • Rhythm has a manual, manual/rhythm.md: a two-minute start, then every
    key combination, every jack and its voltages, the sixteen sounds, the sixteen effects,
    patterns, the beat file and the link, with a section each for Rack, the page and the
    terminal. Rack's menu, the page and the terminal do not link to it yet (D175; #257).
  • Effects 15 and 16 have a sound. 15 moves each hit's sliders by a wave read at its step, so
    a step under it lands higher or lower, longer or shorter, the same every time round; 16 plays
    the sounds slowed, as effect 1 does, with the speed wobbling down and back once a step. Both
    are our own until the hardware's are measured (D172; #245).
  • On the page the display's weave is now the record of the music: one column a step, a row
    for each of the sixteen sounds (the kick at the bottom), a diamond a bar. A sound lights its
    row at the beater the moment it plays, in its family's colour, and fades to a grey mark over
    a bar; inside the diamond it keeps its colour. A held effect hatches its own row. The cloth
    glides under the beater; with reduced motion it steps. Two beats weave two different
    cloths. The terminal and Rack show the same cloth, stepped, until their own turns (D167;
    #236).
  • In the terminal the weave is the same record, stepped: each cell in the page's colours, a
    note fading to its grey mark, and a held effect a fern ╱ on its row. With no colour the
    cloth still reads: a faint cell is a quarter block (D167, D170).
  • In Rack the weave is the page's record too: the cloth glides under the beater, the beater
    packs as each column is woven, and a held effect hatches its row in fern. With the menu's
    "Display: reduced motion" the cloth steps (D167; #244).
  • The README's picture of the terminal is current, and stays so: it and every kept terminal
    picture are drawn by a test from the screen the program draws (D165 item 4; #238).
  • In the terminal, a terminal that does not say it draws truecolour gets the no-colour screen:
    normal, bold and reverse, in the terminal's own colours. TERM=dumb, or no TERM, always
    does. Over ssh, where COLORTERM is dropped, --color or colour = true brings Loom back.
    The launcher and the colon's settings row say which it was (D165 item 7; D166; #239).
  • On its side, installed full screen or in a wide window, the page lies sideways: the grid on
    the left, the display, sliders and function keys on the right, the keys the size they are
    upright. A notch takes room from the function keys, never the grid. In a browser tab on its
    side, where the keys do not fit, the page asks to be installed or turned upright, and the
    beat plays on (D155 item 4; D158; #212).
  • The page installs as an app, full screen, with its own icon, and after one visit it opens
    and plays with no network. It always asks the network first, so an update arrives on the
    next load. The typeface now comes with the page, so it asks no other site for anything.
    web/ opens on the instrument, a link's beat included (D158; #210).
  • In the terminal, : opens a menu in the display above the keys: playing it, keys, beat,
    sounds, settings, the beat's link, two videos of a PO-12, and back to the instruments. A
    row's letter shows it at once; every command typed after the colon still works (D155 item
    3; D157, proposed; #206).

Changed

  • In Rack's module browser, Rhythm's description now says what inspired it and what it is not:
    inspired by Teenage Engineering's PO-12 and its way of working, with its own sounds and
    panel; not a clone, and not affiliated. No hidden search keywords are used (Kenny,
    2026-12-04; #256).
  • In the terminal, a beat driven past full scale (an effect held at a high volume) is bent
    softly as on the page, where it was clipped flat; the two now sound the same there. Every
    beat comes out a little quieter in the terminal: the Amen Break's loudest hit 0.8 dB down at
    volume 12 (D169 item 2; issue 241, #243).
  • The instrument starts quieter: volume 12 in place of 16, about 5 dB down, because a busy
    beat was running into the output's ceiling and clipping. The Amen Break a new player opens on
    says volume 12 too. A beat saved with its own volume, in a patch, the page, a file or a link,
    still plays at that volume, so one saved at the old 16 is as loud as it was (D168; issue 232, #240).
  • In the terminal, the ? helper gives : its own line and names every command it lists
    (w e link bank new q), where it named three. A command that is not one is answered with
    the same six, in the same order as --help (D165 item 3; #234).
  • On the phone page, one menu key in the display's corner takes the place of the ? and
    Share marks, and the page no longer scrolls. It opens eight rows: Playing it, Keys, Beat,
    Sounds, Settings, Share, Watch a PO-12 played and Credits. Settings has reduced motion (as
    the system asks, on or off), and Watch has links to two videos by other people. ? still
    opens the keys and m opens Sounds (D155, D157; #208).
  • The display's weave takes colour: each diamond's outer ring is the colour of the family of
    sound that fired on its step (drums madder, metal ochre, hands and noise ecru, tones sky;
    thread where nothing fired), and a step where an effect was heard is a fern twill. With no
    colour the ring and the twill are still there; the keys still show everything the weave
    does (D155 items 1 and 2, D156; issue 175, #209).

Built from commit ea7e1b3 by this run.

Pocket Instruments 2.0.0-alpha.1 (test build)

Choose a tag to compare

@github-actions github-actions released this 30 Nov 14:17
v2.0.0-alpha.1
2de90a5

A 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).

  1. Open https://kinggs.github.io/pocket-instruments/web/rhythm.html on a phone or a computer.
  2. Press play. It opens on the Amen Break.
  3. Share sends a link that carries the whole beat, all its patterns.

In VCV Rack 2.

  1. From the latest release, download Showcase.vcv and the .vcvplugin for your computer: win-x64, lin-x64, mac-arm64 (Apple silicon) or mac-x64 (Intel).
  2. 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, in plugins-<your platform>, such as plugins-lin-x64.
  3. Restart Rack, which unpacks and loads it; open Showcase.vcv and 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).

  1. From the latest release, download pocket-instruments-…-lin-x64.tar.gz and unpack it: tar -xzf pocket-instruments-*-lin-x64.tar.gz.
  2. In the folder it makes, run ./pocket-instruments (it needs ALSA, as most desktops have).
  3. ./pocket-instruments --help lists the keys.

In a terminal, from source (Linux).

  1. git clone https://github.com/kinggs/pocket-instruments and, inside it, mise install.
  2. make term (it needs ALSA's headers, alsa-lib or libasound2-dev, and pkg-config).
  3. 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 binary rhythm.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, :link and :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, render and pack, and pack --link
    (D140, D145, D147, #170, #185).
  • Each release carries the terminal program ready-made for Linux x64 beside the four Rack
    files, with SHA256SUMS and 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).

Built from commit 2de90a5 by this run.