Expand description
Record-along on the network: your dry stream (your own voices, each frame stamped with its loop position), your last loop as a stamped recorded take, and playing a collaborator’s take or live dry stream aligned to your loop.
Structs§
- Along
Stats - What a play-along source measured.
- Last
Loop - The last full loop of your dry audio: interleaved samples and the absolute position of the first.
Enums§
- Tap
- Which positioned tap to stream.
Constants§
- DRY
- Your live dry stream.
- DRY_
TAKE - Your last loop, recorded and stamped.
- MARGIN
- How far ahead of now a live source is first placed: a jitter buffer of 2048 frames (about 43 ms at 48 kHz).
- OUT
- What your device plays (the device-output tap), stamped like the dry stream.
Functions§
- grid
- The grid on your side now.
- local_
now - Your transport position now, in absolute frames, while playing (estimated from the audio clock).
- loop_
offset - Whole loops to add to a sender’s absolute position so that,
delayframes (the bar delay) later, it still lies at leastmarginframes ahead ofnow. The two transports run the same grid but started at different times, so this keeps the position on the loop and picks the next time round that can still be played. - play_
along - Play a collaborator’s recorded take (Mode::Recorded) or live dry stream (other modes) into
slot. - publish_
take - Publish your last loop as the recorded stream
DRY_TAKE, stamped with where it starts on the loop. Returns its frames. - pump_
dry - Moves the dry tap into stamped frames on
publisher, keeping the last loop inlast. Runs untilstop. - pump_
tap - Moves a positioned tap into stamped frames on
publisher(keeping the last loop inlast, if given). Runs untilstop.