TimestretchSyncer
File: Rhapsodist/Processors/TimestretchSyncer.js.
Overview
Keeps a sampler’s timestretch ratio matched to the host tempo, computing newTempo / bpm on every tempo change.
Recommended over the sampler’s built-in tempo sync mode, which is considered awkward by comparison.
Parameters
| ID | Description |
|---|---|
bpm | The tempo the samples were recorded at, 10–200. |
Usage
Place in a sampler’s MIDI Processor chain, set that sampler’s Timestretching mode to VoiceStart or TimeVariant, and set bpm to the tempo the samples were recorded at.
Internal Reference
| Function | Description | Returns |
|---|---|---|
updateTimeStretchRatio(newTempo) | Registered on the transport handler’s tempo-change callback; divides newTempo by bpm and applies the result as the sampler’s timestretch ratio. | — |