Skip to content

Playhead 0.3.0

Choose a tag to compare

@eigensoundlab eigensoundlab released this 07 Nov 20:02
· 28 commits to main since this release

Playhead reads a sound's analysis as curves, events and structure, and draws them in place of the bare waveform. 0.3.0 adds new ways to see rhythm and form, predicts the sum of several sounds from their analyses, and brings the lab to six languages and the analysis into REAPER.

New

Views of rhythm and form. Five new looks show something other than amplitude:

  • Bar raster: a row per bar (or per 4 bars), like a drum pattern. Click a row to play from it.
  • Tempogram: which tempi are present over time, optionally with the octaves folded.
  • Lag view: where the music repeats what played some bars before.
  • Modulation spectrogram: how fast the level pulses, 0.5–128 Hz, from rhythm through tremolo and flutter to roughness. Works for any sound.
  • Curve scalogram: a research view of the periodic patterns in any curve.

Playhead.view(doc, kind) returns any view as numbers.

Tracks in a folder. Playhead.combine(parts) gives the analysis of a mix of several sounds from their analyses alone, with offsets and gains and no new audio. The lab layers up to three files under a folder track, as in a DAW.

Searching arrangements. Playhead.arrange(parts, { goal }) tries about 500 offsets and gains in a fraction of a second and returns the best few for a punchy, big or clean result.

  • Checked against real mixes (experiments/arrange, 175 arrangements): peak level r 0.99, rise time r 0.90.
  • The search ranks arrangements as their mixes rank (median Spearman 0.92–0.95).
  • Its best candidate beats a rough placement in 23 of 24 cases.
  • Whether the results sound punchier is still to be tested by listening.

Languages. The lab is in English, Czech, German, Polish, Russian and Spanish, with terms from the shared sound vocabulary. Playhead.localize(table, lang) gives other apps the library's labels in these languages.

REAPER integration (integrations/reaper, installable with ReaPack):

  • events, sections and bars as markers and regions;
  • curves as automation through a JSFX that any effect can follow;
  • the tools as new takes;
  • a dockable strip window.

It is tested against the command line in a mock REAPER and not yet run in REAPER itself.

Changed

  • Loudness at the ends of a file. The loudness curve now treats a file as heard with silence before and after it. A clip that starts at once used to begin at full loudness, which made predicted mixes peak up to 2 dB too high and 20–60 ms too early.
    • Only the first and last moments of a file change. On the 73-file corpus, the loudness range of short one-shots moves (by 1 LU or more in 16 files), and so does the tension range of a few files.
    • Every other summary value is unchanged, and the self-checks pass and fail exactly as in 0.2.0 (1363 of 1436).
  • Measures and combining. measureParts counts a layer that comes in late against "together". Very short clips combine instead of being refused.
  • Command line. Output files are written whole, so a host never reads half a file.

The full list is in CHANGELOG.md.

Cite

Paper (preprint): https://doi.org/10.5281/zenodo.24008127
Software, all versions: https://doi.org/10.5281/zenodo.23932625

Apache-2.0. Try it at https://eigensoundlab.github.io/playhead