bmcfee / muda

A library for augmenting annotated audio data
ISC License
230 stars 33 forks source link

muda.replay #71

Closed bmcfee closed 4 years ago

bmcfee commented 4 years ago

This PR fixes #62, adding the long-requested replay function.

Given the JAMS output from a previous run of muda, and a freshly jam-packed input, replay will apply the exact transformation history of the previous run to the new input. This is useful for reconstructing the deformed audio from a deformed annotation and the clean audio.

This, in turn, makes it possible to share the outputs of muda pipelines efficiently, so that any practitioner with a clean copy of the data can reconstruct deformation outputs independently, and with neither dependence on the exact muda object and randomstate, or the entire audio output, which can be too large to share in practice.


This change is Reviewable