Chapters
Work with Crénage
Back to the record

Liner notes

Everything that went into Microsillon, in the order it was made.

Side A. What it is

  1. A1Reading what Windows is playing

    The riskiest part came first. Spotify, Edge and Brave all report what they play to Windows, the feed behind the volume popup. A small script proved it could read title, artist, album and position from all three, and send play and pause back.

  2. A2Covers, titles and a cache

    YouTube titles are messy, so the app strips “official video” and friends, splits artist from song, then asks the iTunes Search API for a cover of 1000 pixels or more. Results are cached on disk.

  3. A3The turntable

    A clear acrylic record at a true 33 1/3, its label tinted from the cover, a sleeve tilted beside it, and a tonearm whose angle is the song’s progress. Drag the arm to seek.

    In the app: The turntable
  4. A4Glass controls

    Play, pause, skip, a crackle slider and a settings panel, all in glass.

  5. A5A light for every song

    A moving background per song from Paper Shaders: colours from the cover, motion and grain from the genre, seeded by the track so a song always looks the same. Half resolution, 30 frames a second at most, paused when hidden.

  6. A6Screensaver and widget

    A full screen mode after a set idle time while music plays, a floating widget that snaps to corners, a tray icon and a hotkey.

  7. A7The crate and the crackle

    Eight records from Het’s own crate, preloaded with a gold label ring, a generated vinyl crackle, and a sleeve that flips to show the tracklist.

  8. A8Polish and the first installer

    Captions that scale with the window, breathing room in the screensaver, half the frame rate for the widget on battery, and the first Windows installer.

  9. A9Your own albums, offline

    A watched folder of FLAC, MP3, M4A, OGG and WAV files, grouped into albums by their tags and matched to the crate, with a picker to choose a record when nothing plays.

  10. A10The opening ritual

    The sleeve comes forward, the record slides out, lifts, settles on the platter, the motor spins up, the arm cues and drops. Six recorded sounds, each trimmed in code and placed on the exact frame.

    In the app: The opening ritual
  11. A11FLAC covers and the gatefold

    Cover art read straight from the files, and a sleeve that opens like a book.

Side B. How it works

  1. B1Timing every word

    A one-time pass per track on the PC: separate the voice, align each word of the lyrics to the audio, and map beats, bass and loudness. Results are stored as small files next to the album.

  2. B2The lyric engine

    One shared audio clock, a pure model of lines and words, and four ways for words to arrive: a karaoke fill, appearing as sung, line by line, or letter by letter. Calm scroll came first.

  3. B3Kinetic, wall and lens

    Three more styles, each with a still version for reduced motion, and the maths behind them unit tested.

  4. B4Lyrics across the whole screen

    Full screen lyrics behind the turntable, or a side by side layout where the turntable moves left only while words are sounding.

  5. B5The crate wall and the closing ritual

    A scrollable wall of covers beside the bin, settings next to the controls, and a closing ritual that puts the record away before the app quits.

  6. B6Glass, first version

    Refraction concentrated at the rim, specular highlights and a slight colour fringe, built as SVG filters.

  7. B7Side A, Side B and the flip

    Albums split into real vinyl sides, with a run-out groove, a flip and a faster second ritual.

  8. B8Measured, then made lighter

    Profiled instead of guessed. The lyric engine and the background now wait on a timer before asking for a frame, lit words are a second copy of the text faded in on its own layer, and the background idles when the music stops.

  9. B9Offline and Online

    One switch decides whether outside players count. Offline ignores them completely. A cleanup pass followed, with every deletion proposed, none made.

  10. B10WebGL glass

    The glass moved to a WebGL2 shader: a signed distance bezel, refraction per colour channel, a dispersed rim, specular, a fresnel sheen and a soft refracted shadow. One shared context draws every control.

    In the app: WebGL glass

The stack, in full

Shell
Electron, React and TypeScript, built with electron-vite. A small PowerShell helper reads Windows media controls. Installer by electron-builder, per user, no admin rights.
Sound
Web Audio. Recorded effects from Freesound under CC0, trimmed in code. The crackle is generated: a warm hiss, a faint rumble and random pops, baked into one loop.
Picture
Paper Shaders for the living backgrounds, an in-house WebGL2 glass shader, CSS 3D for the sleeve, the flip and the gatefold.
Words
Lyrics from LRCLIB or the album’s own tags. Word timings from a local forced alignment pass in Python on the CPU, with the voice separated first. A beat and loudness map per track.
Data
Covers from the iTunes Search API, tags and art read from FLAC files, everything cached on disk. Nothing leaves the PC except those two lookups.
Care
The lyric engine and the background wait on a timer and ask for a frame only when they need one. Before that fix, the lyrics made Chromium draw 120 frames a second on a 120 Hz screen whatever the style needed. Now each style asks for its own rate, the lyrics drop to 8 frames a second while a slider is held, and the paused background idles at 4.
Tests
Unit tests for the ritual timings, sides, settings, metadata, sounds, lyric maths and glass.
Limits
The crackle plays on top of Spotify and YouTube; the app cannot process their audio. Brave needs hardware media key handling turned on. Seeking from the arm works in Spotify; YouTube in a browser sometimes ignores it. The installer is not code signed yet, so Windows warns on first run.
Licences
Paper Shaders, Apache 2.0. The word alignment model is licensed for personal, non-commercial use and is not part of the installer.

Credits

Design and build: Het, Crénage. Sounds: Freesound contributors, CC0 (IDs 836428, 837405, 828785, 556722, 456283, 423897). Typeface on this site: Bricolage Grotesque by Mathieu Triay.