<div dir="ltr">Thanks Roman!!!<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-25 19:42 GMT+02:00 Roman Haefeli <span dir="ltr"><<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rainer<br>
<span class=""><br>
On Fri, 2018-05-25 at 18:55 +0200, Rabbit ́s . wrote:<br>
> Hi there,<br>
> <br>
> I´m doing a sequencer in pd for my modular rig starting with a<br>
> trigger/gate abstraction that should bang the analog envelopes &<br>
> friends. A very simple approach starting as trigger and ends up in<br>
> variable gatelenghts - see patch attached.<br>
> <br>
> If I bang it manually there is no problem. If I bang it with a metro,<br>
> the gate starts to wiggle a bit in lenght.<br>
> <br>
> Hmmm, guess there is a sync problem with free running metro and<br>
> dac~???<br>
<br>
</span>Not really. The [line~ ] object starts (and ends, I guess) ramps only<br>
on block boundaries, while the [metro] sends bangs with exact time<br>
periods, and so does [delay]. It happens that the bang arrives<br>
sometimes at the start of the block, sometimes at the end, the same<br>
with the bang from [delay]. So the number of full blocks that fit<br>
between the metro bang and the delay bang varies by one block. <br>
<br>
The reason why you don't see that jumping when manually triggering the<br>
gate is that GUI interventions are quantized to blocks (or even more<br>
coarsely). <br>
<br>
If you want to have a (sub)sample-precise envelope, you need to use<br>
[vline~] which is able to generate ramps starting and ending at any<br>
time, even in between samples. Simply replace [line~] with [vline~] in<br>
your patch. You will notice that not the length of the envelope is<br>
wiggling now, but the position. This is due to [tabwrite~] being able<br>
to start writing to a table only at block boundaries, too.<br>
<span class="HOEnZb"><font color="#888888"><br>
Roman</font></span><br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
<br></blockquote></div><br></div>