Skip to content

v0.8.1

Latest

Choose a tag to compare

@robmorgan robmorgan released this 20 Jul 12:45
04b6719

What's Changed

A small, non-breaking follow-up to 0.8.0: pre-analysis artifacts can now be rescaled to a different sample rate without re-running analysis. Published on crates.io as timestretch 0.8.1.

Added

  • PreAnalysisArtifact::resample_to: rescales every frame-domain position in an artifact — beats, onsets, downbeat offset, analysis hop, source length — to a target sample rate, so a track can be analyzed once at its native rate and reused at any playback rate. Rate-invariant fields (BPM, confidence, downbeat indices, tempo segments, transient strengths, band flux) pass through untouched. The returned artifact's content binding is cleared, since a rescaled copy no longer corresponds to a concrete signal — matches_source must be checked against the original artifact at its native rate, never against a resampled copy.

Full Changelog: v0.8.0...v0.8.1