↶ Back to work

MQTT LED interface

A simple Python library that allows to interface between GPIO leds and MQTT driven Home automation systems

Date
Jun 2025
Role
Solo
Stack
Python · MQTT · Home Assistant

Overview

Audio Lab is a node-graph editor where each node is a small DSP block — oscillators, filters, convolvers, custom Rust kernels. Graphs compile to a single AudioWorklet at runtime, so even complex patches stay glitch-free.

What I learned

  • The browser’s audio thread is unforgiving. Every allocation matters.
  • Hot-reloading WASM inside an AudioWorklet is possible but requires a careful dance with MessagePort and double-buffered state.
  • Users want to save patches. Even experimental tools need persistence.

Credits

Built on top of the excellent fundsp crate, with a custom graph scheduler inspired by Max/MSP’s ordering semantics.