<div dir="auto">I was thinking about it and the teensy interval timer class has an inherent limitation. When the period of the timer is changed the actual period is not updated immediately. The current timer cycle ends before changing it's frequency and starting again. I'm sure you can change this if you delve deeper into the hardware and set them up yourself.<div dir="auto">If you are measuring the input frequency and run a timer based on that measurement, in the case of an abrupt change you will inevitably have to drop out of phase when using the interval timer I described above; a clock that arrives sooner will be registered correctly as the new frequency by your detector but the new clock won't be output until the last cycle is over, effectively throwing you out of sync.</div><div dir="auto">A behaviour akin to the avr timers wherein you compare a timer with a value and reset would output the next clock as soon as the next measurement is in. You will miss some time but probably not enough to make it noticeable. Without any additional syncing this is a cumulative error and further changes and noise in the measurements should eventually add up.</div><div dir="auto">Should you try to run the clock faster, say 48ppq, you will run into the problem of outputting an out of time clock before being synced again. While the second clock after the change will have the correct timing relative to the first, the sync is messed up, and the amount is relative to the tempo change. You can "hardsync" to get the two clocks back in phase, but to bring the whole beat back in sync you will have to output a short burst of clocks so that all sequencers are back on track.</div><div dir="auto">In retrospect, I've never used step tempo changes when making electronic music, but it is a very intriguing problem.</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 20, 2024, 01:07 Adam (synthDIY) <<a href="mailto:synthdiy@adambaby.com">synthdiy@adambaby.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-break:after-white-space"><br><div><br><blockquote type="cite"><div>On 20 Mar 2024, at 6:19 am, Chromatest J. Pantsmaker <<a href="mailto:chromatest@chromatest.net" target="_blank" rel="noreferrer">chromatest@chromatest.net</a>> wrote:</div><br><div><div style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">Ableton Link provides both Tempo and Phrasing, so it will always start your sequencer at the beginning of a bar of the master clock.</div><div style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br></div><div style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">I think there is a solid market for an Ableton Link to MIDI device, but nobody makes one yet. The standalone hardware devices out there only take Ableton Link and output triggers/gates.</div></div></blockquote></div><br><div>This sounds interesting. I wasn't aware of this thing.</div><div><br></div><div>Anyone joining has their start time delayed to the start of the next bar, right? Nice!</div><div>Looks like anyone on the network can change the tempo at any time!! Oh dear..</div><div>Sounds like it has a lot of potential for jazz!!</div><div>In terms of jitter, I wonder how it stacks up against the Innerclock litmus test gallery? </div><div><br></div><div>A</div></div>________________________________________________________<br>
This is the Synth-diy mailing list<br>
Submit email to: <a href="mailto:Synth-diy@synth-diy.org" target="_blank" rel="noreferrer">Synth-diy@synth-diy.org</a><br>
View archive at: <a href="https://synth-diy.org/pipermail/synth-diy/" rel="noreferrer noreferrer" target="_blank">https://synth-diy.org/pipermail/synth-diy/</a><br>
Check your settings at: <a href="https://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer noreferrer" target="_blank">https://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank" rel="noreferrer">marketplace@synth-diy.org</a><br>
</blockquote></div>