You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Byte jams are a fun demoscene event where there's usually music from a DJ and several participants who use the TIC-80 fantasy console to code up a graphics effect from scratch within an hour. I usually watch the Field-FX stream on Monday evenings, and occasionally take part; there's an archive of the graphical effects people have made in these sessions, here.
A rather neat part of this is that TIC-80 has been modified to allow its programs to access the FFT of a sound stream, so that you can make your programs respond to the music in real-time. However, this can require a bit of setup on a mac.
In this document I will describe how to set up the audio software, plus byte jam client and TIC-80 itself, to allow participation in a byte jam.
Reset your WSL network connection trying to fix WSL2 media disconnected error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The entire table of ANSI color codes working in C!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With its built-in Bluetooth capabilities, the ESP32 can act as a Bluetooth keyboard. The below code is a minimal example of how to achieve it. It will generate the key strokes for a message whenever a button attached to the ESP32 is pressed.
For the example setup, a momentary button should be connected to pin 2 and to ground. Pin 2 will be configured as an input with pull-up.
In order to receive the message, add the ESP32 as a Bluetooth keyboard of your computer or mobile phone: