What it is
Version 0.3 takes its stream types from weirdnet-streaming.
Key types and modules
- Stems (
StemRecorder): audio placed by its position on the session clock, from raw samples or raw PCM stream frames. Missing audio becomes silence and is noted as a gap; audio that arrives twice is ignored. - Takes (
Take): sources of three kinds (a stem, a device output, a recorded mix), each with a latency record, an offset computed from it, a manual trim and an optional group that pairs a source’s stem with its device output. - Alignment:
alignedshifts each source by its offset and cuts all of them to the same range;render_mixsums the stems; change a trim and export again to re-align.estimate_offsetfinds the lag of a delayed copy of a test signal by cross-correlation. - Files:
writesaves the raw sources, the renderedmix.wavandmanifest.json;loadreads them back;export_alignedwrites aligned sources.
Usage
[dependencies]
weirdnet-audio-record = "0.3.0"Where it fits
- Builds on weirdnet-streaming, weirdnet-audio-route.
- License: BSD-3-Clause.