skip to content
Home Prabal
← Notes

Redoing the LatentScore Demo

Prabal Gupta 

I redid the LatentScore demo. Both the UI and how it’s hosted.

I ripped out most of the old UI (over 1,800 lines) and brought over the same bright, simple look from Alba: moving daylight colors that react to the track, film grain, and little pixel charms. Much nicer to actually use.

For hosting, the demo used to sit on Railway eating ~6.6 GB of RAM. I cut that down to ~1 GB first, and then just moved the whole thing into the browser. The embeddings are quantized down to a few megabytes, presets load from a static JSON file, and the audio synthesis runs right on your machine in a Web Worker. It sits on static hosting now for $0 a month.

The core LatentScore library is still Apache 2.0 on GitHub. This new web demo implementation isn’t open source right now, though I do plan to open it up later if I get the time.