bitebeet

bitebeet

a bytebeat interpreter

bitebeet

bitebeet interprets mathematical expressions as sound (bytebeats). The expressions are written in a subset of the C programming language, with the following restrictions:

  • One expression only
  • Only one pre-defined variable: t
  • Integers (positive/negative decimal or hexadecimal), strings
  • Mathematic operators: ​(), +, -, *, /, %
  • Bitwise operators: ​&, |, ^, <<, >>, ~
  • Relational operators: <, >, <=, >=, ==, !=, !
  • Array subscript operator: []
  • Ternary if operator: ?:

The text buffer is currently limited to 112 characters.

Requirements

  • a keyboard (the typing kind)

Documentation

This script installs a custom ugen and engine. A reboot will be required the first time the script is launched. Make sure to wait for the light to stop blinking before you toggle the power :slight_smile:

Full documentation

Download

;install https://github.com/midouest/bitebeet

Download

GitHub (Pull requests are welcome!)

Supercollider plugin

Acknowledgements

Thanks to @NightMachines for creating the Bytebeats thread, which introduced me to bytebeats. This post by @tehn inspired me to try writing a bytebeat Supercollider plugin. I would not have gotten anywhere without some extremely helpful blog posts by @madskjeldgaard on writing Supercollider plugins. Finally, thanks to @dan_derks for motivating me to officially share this script with y’all!

47 Likes

Yessssss the unruliest of synthesis techniques!

See chapter 16 Sound, Bytes, and Bits in Montfort’s book Exploratory Programming for the Arts and Humanities
2nd ed
(MIT Press, 2021).

8 Likes

as everything you do, @midouest , this is incredible!! love the SuperCollider plugin you created for it. thanks for sharing it here :pray:

2 Likes