The Bender Twist banner

The Bender Twist

1 devlog
11h 20m 53s

Updated Project: Now supports NixOS-based declarative and reproducible builds for Raspberry Pi 0!
A portable and highly-configurable amp augmentation platform for putting a spin on LT-series guitar/bass amps made by a certain company whose name…

Updated Project: Now supports NixOS-based declarative and reproducible builds for Raspberry Pi 0!
A portable and highly-configurable amp augmentation platform for putting a spin on LT-series guitar/bass amps made by a certain company whose name rhymes with “bender”.

The Twist empowers musicians to take back control of their gear without owning expensive amp hardware. The platform runs an API and static control panel on a computer or Raspberry Pi (making it optimal for use in practice or gigs) and enables remote, wireless control of amplifier functionalities (without desktop app) while creating innovative features like footswitch playlists!

Tech: The Twist consists of a Python FastAPI server running on a raspberry pi 0. This device, when wired to the amp via USB, communicates to the amp’s firmware via protobuf HID messages (with my own LtAmp.py module). The control panel served by this API (accessible via Pi access point), provides a static Svelte/Vite frontend.

This project uses AI

Used ChatGPT to plan, scaffold, and debug the NixOS configuration/flakes (as I’m quite new to Nix). Code autocompletions were also used especially more extensively for updates to the FastAPI backend. Frontend was human designed with <3, svelte, & skeleton.dev

Demo Repository

Loading README...

mat

ok ive been in the trenches for a couple months and i have a few updates since SoM:

  1. im on arch now as my personal dev environment 🥳
  2. we have working nixos flakes, access points, and WiFi on a real Pi0 using https://github.com/nvmd/nixos-raspberrypi. also apparently x86 development for aarch64 systems is difficult so we’re using nixbuilds.net as a builder (and their generous free tier)
  3. ltamp will have to be vendored in the twist until i can get it published to nixpkgs :((
  4. after a LOT of R&D (and prompting chatgippity for answers), the follioing problem persists [for those who cant see the image, nix is enforcing immutability on folders preventing me from saving the twist’s db)
  5. I killed 2 SD cards through all my flashing and testing but WILL buy more until I have solved this 💀

HOWEVER WE WILL PERSIST AND I KNOW WE WILL TRIUMPH over the demons that are NixOS flakes and SQLite. Until next time and farewell, I have more eissues to fix :3

Attachment
0