🧵 View Thread
🧵 Thread (9 tweets)

NEW TOOL: Chirp Uses sound to transfer data between machines. Details and link below. https://t.co/pAUnJqybLF


Each character is mapped to a frequency, so it can communicate to another client via chirps. https://t.co/aRGlkCklez


For example ‘A’ is mapped to 5700Hz, and ‘B’ to 5800Hz. I found that 100Hz in between characters increased accuracy for the speed I want it to play at. It uses Fast Fourier transform to decode analog sound into a frequency. There’s a great blog post about it here by @lcamtuf https://t.co/l2MwJ8KFYz

When it’s transmitting, it stops trying to decode incoming sounds. It converts your string into each character’s mapped frequency, and emits those. https://t.co/ci3kALDbZQ


On the receiving side, it’s using the mic to listen to the starting sound (2500Hz). Once detected, it starts registering each frequency it detects, until it hears the end sound (2700Hz). https://t.co/ctNiiqw0Ny


I made it in @cursor_ai using @AnthropicAI’s Claude 3.7 in thinking mode. The code is here: https://t.co/TOpIcrRNys

Use it now: https://t.co/Pz2K8zhHz6

@IceSolst Why do we need to do this we depreciated this for a reason. https://t.co/9Dy4B8KGOK
