@romaine-life/string-box (0.1.5)
Installation
@romaine-life:registry=npm config set @romaine-life:registry=npm install @romaine-life/string-box@0.1.5"@romaine-life/string-box": "0.1.5"About this package
String Box
A six-channel receiver for the SubSix hexaphonic pickup on Nelson's Yamaha LL16. Each string gets its own preamp and converter, and a Teensy 4.1 streams all six to the PC over USB, so visuals can react to the real motion of every string. The guitar's sound stays the Audio-Technica USB mic; this box carries string data only.
SubSix ─2 TRRS cables─► preamps (3× MCP6022) ─► converters (3× PCM1808) ─► Teensy 4.1 ─USB─► PC
A strip at the board's east end has sockets for two XIAO nRF54L15 radios and a PowerBoost 1000C battery charger, left empty for the wired build.
Layout
| Path | What |
|---|---|
hardware/string-box.kicad_pcb |
rev 1 board as ordered (KiCad 10) |
hardware/gen.py |
places every part and net (run with KiCad's Python) |
hardware/build.sh |
gen → Freerouting → import → DRC |
hardware/finish.py |
imports the routed session, fills the ground pour |
hardware/art.py |
silkscreen artwork: six GuitarSet string waveforms on the back |
hardware/assembled.py |
render-only copy with the Teensy, op-amps and cables modelled, one footprint per part |
hardware/web3d.sh |
builds renders/string-box.glb for the 3D viewer at romaine.life/string-box |
hardware/lib.pretty/ |
Seeed's XIAO nRF54L15 footprint |
firmware/ |
Teensy 4.1 program: clocks the three converters, streams six strings over USB (PlatformIO) |
tools/stream_check.py |
reads the USB stream and shows each string's level once a second |
docs/BUILD.md |
soldering order, first power-on checks, setting the gains, mapping strings |
docs/build/placement-map.svg |
where every part goes, since the board's silkscreen has no part labels |
orders/rev1/ |
the exact files sent: OSH Park Gerber zip, Mouser parts list, receipts |
renders/ |
assembled, side, front and back renders, and string-box.glb, the wired build in 3D, which each release publishes as the npm package @romaine-life/string-box on Forgejo for romaine-life/landing-page's viewer |
package.json |
that npm package: the files it ships |
docs/pages/ |
the explainer pages (published as claude.ai artifacts) |
The scripts still carry the paths of the session that wrote them (KiCad at
%LOCALAPPDATA%\Programs\KiCad\10.0, Freerouting 2.5.0 on a Java 25 runtime in ../fr).
Firmware
cd firmware
pio run -t upload # build and flash over USB (press the Teensy's button if asked)
cd ..
uv run --with pyserial tools/stream_check.py
The Teensy streams only while a program has its port open. Each 128-frame block is one
packet (format in firmware/src/main.cpp); stream_check.py prints frames per second,
gaps, dropped blocks and a level bar per string, so each plucked string should light only
its own row.
Rev 1 orders (2026-11-10)
| Store | What | Total |
|---|---|---|
| OSH Park | 3 boards, Super Swift, USPS Priority | $251.50 |
| Mouser 41066238 | 20 lines of parts; Mouser cancelled the 3 MCP6022 op-amps on Nov 11 | $75.78 |
| Amazon 111-4019251-7287425 | Teensy 4.1, 2× UGREEN 6 ft TRRS cable, M3 standoffs | $65.46 |
| Amazon 111-7619114-0627415 | 2× SparkFun TRRS breakout | $22.39 |
| Submarine 10335 | SubSix pickup | $289.00 |
| Amazon 111-3041356-8838616 (Nov 17) | 5× MCP6022-I/P op-amps, replacing Mouser's cancelled line | $26.22 |
Rev 1 total: $730.35.
Reference interface (2026-11-17)
A Behringer UMC1820 takes the SubSix directly, through Submarine's cable set (two TRRS to
three ¼" plugs each) into inputs 1–6 with each input's LINE/INST switch on INST. It gives
real string data before the String Box is assembled and something to compare the box against.
Receipt in orders/reference/.
| Store | What | Total |
|---|---|---|
| Amazon 111-0687160-2602660 | Behringer UMC1820, sold by Adorama | $229.00 |
Credits
String waveforms in the artwork and docs/pages/stringcompare come from GuitarSet
(Xi, Bittner, Pauwels, Ye, Bello; ISMIR 2018), CC BY 4.0.