<div dir="ltr"><div>> timer and realtime compute 2 different things </div><div>> (logical time and real time). i don"t know what </div><div>> your want.</div><div><br></div><div>I know they are different, and I don't really know what I want either :)</div><div><br></div><div>I just wanted to measure how long it takes between each control message.</div><div><br></div><div>you were using [realtime], and then Roman came in and said that'd be kinda random and how [timer] was best for it. So I tried with [timer] and got a very nice result indeed. But I'm not sure now if that actually relates to whats going on... or how it is actually working.</div><div class="gmail_extra"><br></div><div class="gmail_extra">> what i don't understand is your intention with </div><div class="gmail_extra">> the spigot in the patch.</div><div class="gmail_extra"><br></div><div class="gmail_extra">just wanted to have a way to close the message stream, but you can forget about it</div><div class="gmail_extra"><br></div><div class="gmail_extra">cheers</div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-12 14:14 GMT-03:00 Cyrille Henry <span dir="ltr"><<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br>
Le 12/03/2015 18:04, Alexandre Torres Porres a écrit :<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
"/i don't understand your patch.<span class=""><br>
<br>
using [timer], a delay 0 will give a 0 delay...<br></span>
logical time will always be consistent./"<span class=""><br>
<br>
well, I thought you were disucussing here and reaching the conclusion that [timer] is the one to be used to calculate this...<br>
</span></blockquote>
timer and realtime compute 2 different things (logical time and real time). i don"t know what your want.<br>
<br>
what i don't understand is your intention with the spigot in the patch.<br>
<br>
cheers<br>
c<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
<br>
So you mean this result is actually inconsistent? And the implication is that it is not going at that super fast rate at all? Please help me understand better about how to measure this.<br>
<br>
thanks<br>
<br>
<br></span>
2015-03-12 11:55 GMT-03:00 Cyrille Henry <<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> <mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>>>:<span class=""><br>
<br>
    hello,<br>
<br>
    i don't understand your patch.<br>
<br>
    using [timer], a delay 0 will give a 0 delay...<br>
    logical time will always be consistent.<br>
<br>
<br>
    cheers<br>
    c<br>
<br>
<br>
    Le 12/03/2015 15:41, Alexandre Torres Porres a écrit :<br>
<br>
        ok, so the metro at 1ms is because I'm using extended.<br>
<br>
        as for the minimum time pd can process and send data, what's the final word on it?<br>
<br>
        something like 1.4013e-45 ms?<br>
<br>
        cause that's a lot more than an audio rate at 44.1khz :)<br>
<br>
        I thought there was a limit control rate that was below the audio rate, but curiously it can go over.<br>
<br>
        1 sample at 44.1khz gives us 0.0226757 ms, and I was able to send bangs at 1e-06 ms, according to [timer]<br>
<br>
        check my patch attached, based on the one that was sent here on the thread.<br>
<br>
        thanks<br>
<br></span>
        2015-03-12 10:04 GMT-03:00 Cyrille Henry <<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> <mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>> <mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> <mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>>>>:<span class=""><br>
<br>
             hello,<br>
<br>
             Le 12/03/2015 10:12, Roman Haefeli a écrit :<br>
<br>
                 On Thu, 2015-03-12 at 09:17 +0100, Cyrille Henry wrote:<br>
<br>
                     hello<br>
<br>
                     this patch show the same behaviors for a delay based metro and a [metro].<br>
                     (both can do faster than 1ms period)<br>
<br>
<br>
                 You're right. More recent versions of Pd (>= 0.45?) have an updated<br>
                 [metro] that supports many more ways to specify time and the restriction<br>
                 was lowered. However, the [metro] in any available version of<br>
                 Pd-extended is still limited to 1ms.<br>
<br>
             sorry, i was not aware of this old limitation.<br>
<br>
<br>
                 I don't understand why you use [realtime] and not [timer] to illustrate<br>
                 your point. [timer] gives you consistent values (logical time) while<br>
                 [realtime] is very jittery and shows just some random value depending on<br>
                 the current cpu usage and probably other factors. When you render a<br>
                 soundfile, the logical time is actually the one that matters.<br>
<br>
             yes, for things that stay in pd, logical time is better.<br>
             but if you want to send midi note, [realtime] is more related to what happens.<br>
             it's just the way i understand the original question.<br>
<br>
             cheers<br>
             c<br>
<br>
<br>
<br>
                 Roman<br>
<br>
<br>
<br></span>
                 ______________________________<u></u>_____________________<br>
        <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> <mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>> <mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> <mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>>> mailing list<br>
                 UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/____listinfo/pd-list" target="_blank">http://lists.puredata.info/___<u></u>_listinfo/pd-list</a> <<a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a>> <<a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a> <<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a>>><br>
<br>
<br>
             ______________________________<u></u>_____________________<br>
        <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> <mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>> <mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> <mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>>> mailing list<br>
             UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/____listinfo/pd-list" target="_blank">http://lists.puredata.info/___<u></u>_listinfo/pd-list</a> <<a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a>> <<a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a> <<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a>>><span class=""><br>
<br>
<br>
<br>
<br>
        ______________________________<u></u>___________________<br>
        <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> <mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>> mailing list<br>
        UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a> <<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a>><br>
<br>
<br>
    ______________________________<u></u>___________________<br>
    <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> <mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>> mailing list<br>
    UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a> <<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a>><br>
<br>
<br>
</span></blockquote>
</blockquote></div><br></div></div>