Support for Vorbis and Opus, not MP3

I’ve kept a reminder on my todo-list for a long time that I should not implement MP3 file support, but a couple of weeks ago i rebelled and started doing it anyway, which ended up as yet another decision to not do it. Instead, I implemented Ogg Vorbis support for playing .ogg files and streaming… Continue reading Support for Vorbis and Opus, not MP3

Pictures from FLAC metadata

From version 4.0.6, the FLAC library includes support for extracting pictures embedded in FLAC file metadata. To use it, create a subclass of FlacDecoder that implements the PictureTarget interface. You can take FlacPictures as an example of what you can do. That’s a utility program which is included in the full Klipspringer installation as the command… Continue reading Pictures from FLAC metadata

Ten standard ways of representing binary numbers

If you’ve read the headline and think that ten sounds like an awful lot of different binary-number formats, perhaps you are guessing that it includes floating point, or ones’ complement and other archaic representations, but no, this is all about what’s in common current use, all integers, and all based on two’s complement. This post… Continue reading Ten standard ways of representing binary numbers

The size of silence (and other quirks in streaming FLAC to browsers)

Streaming music from the Klipspringer hub requires three components to interact asynchronously – the Java process that encodes and transmits the data, the web browser with the client-side code that receives and plays it, and the HTTP server that ties them together – so no wonder it’s been stuck in deadlock many times during development.… Continue reading The size of silence (and other quirks in streaming FLAC to browsers)

Capturing audio for streaming and recording

Since version 3.2, the Klipspringer hub includes the possibility to capture audio from an input device. My idea is to use it for getting music from my vinyl records into digital files, or just to listen to the records digitally with headphones when I’m sitting on the balcony or somewhere else away from my stereo. To… Continue reading Capturing audio for streaming and recording

Screenshots of Klipspringer, now streaming

This post describes my setup of the Klipsringer hub, with screenshots. Since version 3.1 the purpose not only to play music on the speakers in my living room, but also to stream the same music collection to my mobile phone, to let me listen to it with headphones whenever I’m within reach of the wifi in my apartment.