Skip to content Mastodon

Notes and Tones

Writing notes like it's (almost) 2025

I wrote a new iteration of my note system during a week vacation from home. Motivated with two recent observations, that the system I want to built is actually a static note generator, and that Mastodon is a good fit for publishing and reviewing notes, I created a tool called ztl.

Transcription of a Pavane

A transcription of Belle qui tiens ma vie I created with Musescore for playing on Gambe and singing together.

Playing the viol

At the beginning of the year I started practicing a new instrument and took since then classes for a bass Viola da Gamba. After around 10 month of regular sessions, I slowly developed enough dexterity to play simple tunes. This post contains a brief resume of observations of the past months and shows some music of the Gambe.

A profound identity in signal processing

Arguably one of the most important identities in signal processing is the following theorem.

The identity is known as Moreau's decomposition and instantiates into useful applications for variational analysis, convex optimization and signal processing. This post will explain the symbolic meaning and implication of this theorem for signal processing.

Building standalone model binaries for audio inference

For a recent problem I had to crawl and categorize a large number of audio files from the internet. As the bottleneck was deemed to be downstream link I decided to use a pre-trained event classification model and run inference on the CPU.

Another requirement was that the crawler were running on multiple server and consistent for several weeks. My choice of language for such infrastructure heavy task is Rust and I looked into ways how to deploy an inference model.

It turned out that the process for creating a standalone binary in Rust is pretty simple. Even better, wrapping a model pre-trained on a large event classification dataset is possible. This means that in the end I could just copy the binary to any x86 machines and run them, without the need to setup virtual environments or install any packages.

In this post I will demonstrate how to convert a pre-trained model to ONNX and put it into a binary. Our goal is to create a standalone executable taking samples from stdin and classifying them into 527 known audio classes.

Reading and writing the web with Vim

Two features of the Tridactyl extension makes reading/writing the web much more relaxing for me. The most common element of Vim like extensions is link following with highlighted key-codes. This makes mouse pointing unecessary and reading workflow easier. (also don't forget to use the g<f|F> chain) But I find the visualized style of many websites too distracting and use Vim in those cases to construct an answer or dissect a thread.

Preview unread/total number of emails in i3status

I recently added a small section to my i3status bar with the number of unread emails and total emails. In order to avoid having thunderbird open all the time, I also added a wrapper which puts it into headless mode.