Now it does!it didnt' just because I didn't know anything about this remainder ( I was thinking you made a mistake and you wanted to write reminder and I was saying by myself, a reminder for what? ) but then i checked it out on the web and wiki helped me. <br>
yes its' a little complicated but yes I understand , in a easier way it is what happens when you push the button in Ableton live and the clip waits to start with another. <br>It's a good way to connect different patches together and mix them as you like.<br>
<br><br><br><br><div class="gmail_quote">On Thu, Sep 27, 2012 at 6:53 PM, Kassen <span dir="ltr"><<a href="mailto:signal.automatique@gmail.com" target="_blank">signal.automatique@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, Sep 27, 2012 at 02:36:20PM +0200, Alberto Alassio wrote:<br>
> I was trying to open the otf examples you told me and I got a question<br>
> about period.<br>
> what does<br>
><br>
> T - (now % T) => now;<br>
><br>
> means?<br>
<br>
</div>The "%" operator means "modulo". X modulo Y means; the remainder of<br>
dividing X by Y. So; "9 % 4" will be 1. Check?<br>
<br>
What we are doing here is that we start counting in increments of T<br>
since time 0. This line of code makes us wait for the next beat, being<br>
a integer multiple of T. After all; (now % T) must be the time since<br>
the last "beat", so "T - (now % T)" refers to the amount of time to go<br>
until the next beat. The total expression will then advance time until<br>
the next beat, more or less like you will wait a bit until falling in<br>
on your guitar when entering a jam session.<br>
<br>
That is actually exactly what happens in these examples; each file<br>
will wait until the next beat, then start playing, so because they are<br>
all aware of T and know we start at 0 they do not need to communicate<br>
with each other about this.<br>
<br>
Make sense now?<br>
<div class="HOEnZb"><div class="h5"><br>
Kas.<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</div></div></blockquote></div><br>