Code · Programs for Music

Mp3 decoding with the MAD library: We’ve all been doing it wrong

The MAD mp3 decoder library is widely used in open source applications that play or edit mp3 audio files. It's a respected library that consists of high quality C code, has a fairly friendly API, and was evidently written with great care. It's now getting old (last updated in 2004) but people trust it. I… Continue reading Mp3 decoding with the MAD library: We’ve all been doing it wrong

Academics · Code · Programs for Music · Work

Chordino troubles

On September the 9th, I released a v1.0 build of the Chordino and NNLS Chroma Vamp plugin. This plugin analyses audio recordings of music and calculates some harmonic features, including an estimated chord transcription. When used with Sonic Visualiser, Chordino is potentially very useful for anyone who likes to play along with songs, as well… Continue reading Chordino troubles

Code

How Much Legacy Code Have You Written This Week?

I recently bought a copy (based on a recommendation) of Michael Feathers’ 2005 book Working Effectively with Legacy Code. This excellent technical book is largely a compendium of refactoring strategies to help software developers insinuate unit tests into existing code. What I found most striking, though, is a position stated right at the start of… Continue reading How Much Legacy Code Have You Written This Week?