Loop Sync for Elektron Analog Rytm
Keeps sample loops in time with the project tempo by repitching them; AUTO reads each loop's tempo from its length, locks and scenes included.
Module version 0.3.2-experimental. Base firmware: 1.74.
About this module
In AUTO the mod works out each loop's source tempo from the length of the sample that plays (between STA and END, 4/4, cut on the bar), picking the bar count (1/4 to 16, powers of two) nearest the project tempo, once per sample: the length is kept while the tempo moves, so a loop never jumps an octave; 3/4, 1.5, 3, 6 and 12 bars are chosen by hand, and adds the matching pitch shift to the track's effective TUN every audio block, after parameter locks, scenes and the LFO. Each sample keeps its own mode and a correction of up to 25 %; a sample played by a SMP lock or a scene without a setting of its own plays like the sound's own sample if it is a copy of it, and in AUTO from its own length otherwise. Pitch follows tempo; no time-stretch.
- AUTO: no tempo to enter for loops cut on the bar.
- SMP locks and scenes stay in time, each sample from its own length.
- TUN stays yours: the shift is added on top, so a TUN lock still transposes.
- Twelve lengths from 1/4 to 16 bars, 3/4, 1.5, 3, 6 and 12 included, and a correction of up to 25 % per sample.
How to use it
- Load a loop cut on the bar, for example one bar at 120 BPM, on a sound track with a trig on step 1.
- Press SMPL, hold FUNC and turn TUN to AUTO: the box reads AUTO over 1BAR 120.0, and SYNC appears at the bottom right.
- Play and change the tempo: the loop follows, and the pitch glides with each tempo step. Lock SMP on a step to another loop: it plays in AUTO from its own length, in time too, with no setting; a copy of the loop plays at the same speed. Save the project after setting loops: settings live in it.
- For a loop of 3 beats or 1.5 bars, or one with a tail or a gap, hold FUNC and turn TUN to its length, then FIN until it sits in time. Save the project to keep it.
Controls
- MODE
- OFF, AUTO, or 1/4, 1/2, 3/4, 1, 1.5, 2, 3, 4, 6, 8, 12 or 16 BAR, for the sample the selected sound loads. FUNC + TUN on the SAMPLE page. Kept per sample with the project; a locked sample without one plays like the sound sample if it is a copy, else in AUTO.
- ADJUST
- Correction of the source tempo of the sample the selected sound loads, -25 to +25 % in 0.2 % steps. FUNC + FIN on the SAMPLE page. Kept per sample with the project (up to 51 samples a project).
Compatibility notes
- AUTO picks each sample's length nearest the tempo when it is set and when the project loads, and keeps it while the tempo moves; the choice is not saved with the project. A length set by hand is.
- Pitch follows tempo: no time-stretch.
- The shift is clamped to TUN's +-24 semitones (a factor of 4); past it the loop stays as far as TUN goes, out of time.
- The silence check sees only digital silence under 5 % of a sample; other mis-cut loops need the per-sample correction.
- The loop length comes from the sound's own STA and END: locks and LFOs on STA or END play another region at the same speed.
- The SYNC mark shows only on the SAMPLE page.
- Hooks the audio interrupt one instruction after rytm2_mods lfo-rnd's site; the pair is not tested.
- At most 51 samples a project keep a setting; settings saved by 0.2 are not read.
- An LFO on STA in FREE mode starts each trig at another point of the loop, off the grid; TRIG mode stays in time.
- Known issue (found in a host test, not seen on a unit): a fixed length of 3 to 16 BAR on a sample or STA-END region shorter than about 0.14 s can freeze the unit; AUTO is safe.
Test evidence
0.3.2: host scenarios on the real code (a loop chosen as one bar at 175 BPM follows down to 100 with no upward step and back; a locked copy keeps the sound's length; a new mode or a project load chooses again) and 900 k random blocks identical to 0.3.1 with a steady tempo or fixed lengths; rytm-emu, tempo 127 -> 172 -> 165 in AUTO: no octave jump (0.3.1 jumps at 169.7), and after a cold boot AUTO chooses at the loaded project's tempo. 0.3.1: the same TUN as 0.3.0 on 1.5 M random blocks. Unit (author): MD07 reported working; LS24 (0.3.0) by ear. See TESTING.md.
Module source and documentation