Skip to content

v0.9

Choose a tag to compare

@pinebit pinebit released this 26 Jul 12:18
· 16 commits to main since this release
b988569

Studio sound mode, catalog-wide loudness levelling, nine more tracks, and a warmer low end.

Player

  • Studio sound, the new default presentation, toggleable from the deck and persisted. It replaces the vendored emulator with a band-limited YM2149 renderer written for this project, then runs it through a per-channel chain — DC blocking, smoothing, oversampled saturation, equal-power panning — followed by a tilt EQ, a synthesized plate reverb and a detuned chorus. The pinned emulator is still there as Vanilla, unchanged, to A/B against.
  • The reason it exists is measurable, not cosmetic: the emulator snaps tone edges to the output sample grid, which jitters the pulse width. On a 4105 Hz tone at 44.1 kHz that puts spurious even harmonics near -13 dB and inharmonic partials near -16 dB, between 1 and 12 kHz where no output filter can reach them. The same tone through the new renderer measures -52 dB and -64 dB.
  • Every track is now levelled to a common loudness, measured at build time with ITU-R BS.1770 K-weighting against a -9 LUFS target. That removes the 5.6 dB jump between the loudest and quietest tracks.
  • Studio's bass shelf now matches vanilla's +4 dB at 180 Hz, with the loudness match re-derived so the change reads as tone and not as level. Measured across the catalog through both complete chains, studio moves from +0.4 to +1.2 dB against vanilla at 63 Hz and from -0.4 to +0.3 dB at 125 Hz, with everything above 250 Hz down about 0.4 dB.

Content

Nine tracks, bringing the catalog to 33:

  • Assorty VI — IMP
  • Vibrations Outro — IMP
  • Shock3 — Ziutek
  • Lyra II part 3 — Ziutek
  • Lyra II part 6 — Ziutek
  • Satisfaction 5 — Klav
  • Satisfaction 9 — Klav
  • Batman The Movie — Matty
  • ANTP — ASC

Internals

  • Both renderers sit behind a single ChipSource shape, so the scheduler never branches on which mode is active. Mode chains are built on first use, so a listener who stays in one mode never pays for the other's nodes, and switching crossfades the two chains rather than splicing them.
  • The band-limited renderer integrates the chip output exactly over each sample interval at 4x, then decimates through two halfband stages, rather than point-sampling. It costs about 23 ms of main-thread work per second of audio against the emulator's 2.2 ms — roughly 2.3% of a core, and comfortably inside the scheduler's 50 ms deadline, which is why it reuses the existing main-thread scheduler instead of an AudioWorklet.
  • Studio seeks are free: the renderer reconstructs position by replaying register writes instead of re-rendering from sample zero.
  • New test coverage for the renderer's spectrum, the loudness measurement, the reverb impulse, and a browser journey over both playback modes.

Full Changelog: v0.8...v0.9