Bytebed is a bytebeat virtual machine designed for embedded microcontrollers like the M5Stack Cardputer. It compiles bytebeat to bytecode and evaluates bytebeat on the fly.
Earlier bytebeat players for microcontrollers have been static and have required flashing the bytebeat algorithm for every change. This is slow and not ideal for experimenting with bytebeat algorithms and digital audio synthesis. Bytebed is a new vivid way of playing and exploring the world of bytebeat.
For bytebeat origin story see the blog post from viznut: Algorithmic symphonies from one line of code -- how and why? Over the years bytebeat has evolved to floatbeat and other variants with plenty of interesting oneliner patches shared online. Bytebeat is a fun way to experiment with sound and to learn binary operations. Further experimenting with floatbeat builds understanding of fundemental arithmetics and relationship of math to music, sound synthesis and digital signal processing.
Bytebed is also a new programming language inspired by the classic C-like bytebeat and JavaScript floatbeat. The language has a dual interpreter for both standard infix and new functional stack based postfix notation. The system enables user to switch between infix and postfix on the fly to learn bytebeat, floatbeat, sound synthesis and a bit esoteric bytebed stack language at the same time.
Bytebed transforms cardputer into live coding instrument using audio synthesis patches and the cardputers keyboard or IMU 6-axis motion sensor to control audio output. MIDI can also be used to control the sounds created by the cardputer using external MIDI keyboard, sequencer or software like SuperCollider or Sonic Pi.
Bytebed runs on M5Stack Cardputer or Cardputer Advanced. Install Bytebed from M5Burner or by building it from the source using platform.io. Wasm version of Bytebed also runs in the browser and is accessible at bytebed.com. Online version can be used to share patches and also to sequence bytebeat with MIDI or mobile phone gyroscope.
To learn how bytebeat and floatbeat works try out this interactive cheatsheet.
New versions of Bytebed cooking in the Github. Feedback and issue reports are welcome.








Comments