Skip to content

v0.2.0

Choose a tag to compare

@eigensoundlab eigensoundlab released this 05 Nov 17:12
· 46 commits to main since this release

0.2.0 (2026-11-05)

The first release with a library API, so other apps can embed Playhead, and with looks: the strip is now composed
from layers instead of being fixed.

Added

  • Library API (src/playhead.js, bundled as UMD and ES module in dist/): analyze() and fromAnalysis() return
    a plain-JSON analysis document (schema playhead-analysis v1), drawStrip() draws it into any Canvas 2D context,
    process() and tools() run the effects bench, plus toMarkers() and curveAt(). See
    docs/INTEGRATION.md.
  • A command-line tool (tools/playhead-cli.js, standalone builds by CI) and two examples (an embedded page, an
    analysis worker).
  • Looks: a strip is a list of layers written as a short code (waveform, spectrogram, lines, lanes, sections, marks,
    outline, a waveform sculpted by loudness; in lanes or overlaid; from the baseline, mirrored, as horizon charts or
    lines). 17 ready-made looks, two of them for sound effects (Sound character, Hits and surprise).
  • In the lab: Compose your own (build a look and compare it with the waveform and the spectrogram of the same
    file) and a feedback form for looks.
  • In the document: a mel spectrogram, onset strength, novelty marks, and for music structural change (signed: up for an
    entry, down for a drop) and the local pulse.
  • Tools (13 in all): Reverb on the tails, Drive the hits and Ring time, which follow the events and so do what an EQ
    cannot; Level the events (automatic clip gain); Fold to mono (phase lined up, energy kept, cancellations reported);
    Widen the tails (attacks centred, mono-compatible).
  • Experiments: event levelling against a compressor (experiments/compression),
    and the data behind the paper's figures.

Changed

  • The impulsiveness curve (N1) peaks at the clicks that cause it instead of up to one analysis window early. The
    summary value K is unchanged.
  • Beats and bar lines are drawn so they can be seen at small heights.
  • The corpus results (experiments/corpus/) are in the repository: .gitignore had hidden them along with the
    downloaded corpus audio. experiments/dyneq-corpus.json became experiments/corpus/detector-comparison.json.

src/analysis.js is unchanged since 0.1.0 and the descriptor changes add curves without changing summary values, so
the results in the paper, produced with 0.1.0 (10.5281/zenodo.23932626),
still hold.