<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Filippo,<br><br></div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">You&#39;re welcome.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
You probably forgot to reply-to-all, but I added pd-list to the conversation. I hope you don&#39;t mind, but I do this ...<br>a) to prevent ten people to answer the same question, not knowing that nine others are or have been spending time to do exactly the same, and<br>
</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">b) for the archive. It&#39;s annoying if you have a problem, search the web, and do find your question, but not the answer, since it is not made public.<br>
</div><br><div class="gmail_quote">On Mon, Jan 13, 2014 at 5:48 PM, Filippo Beck Peccoz <span dir="ltr">&lt;<a href="mailto:mail@fbpsound.com" target="_blank">mail@fbpsound.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hi Funs and thanks a lot for the message! Sorry if I&#39;m launching noob questions at you, but so far I&#39;ve only used a tabplay~ object and a metro with a set bpm, and triggered both of them at the same time- this is obviously not ideal..although it &quot;almost&quot; works the fade into and out of the drum loop should be perfectly timed, especially for this kind of application.<div>
<br></div><div>I am, however, a little lost as to how extrapolate bar/beat information from the objects you suggested. I&#39;m sure it&#39;s super easy and I&#39;m missing something obvious. Why do you put the 1000 in the message that goes to the line object?<br>
</div></div></blockquote><div> </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I assumed you were reading the table with [tabread~] or [tabread4~]. For looping purposes it is common to use [phasor~] in combination with one of these two. If the loop should last 1 second (1000 ms) its frequence should be 1 Hertz (cycle per second). So the equivalent for the argument `1&#39; for [phasor~] would be `1000&#39; (milliseconds) for [line~]. Translation is done using the following function: y = 1000 / x, where x is the length of the time interval in ms and y the frequency in Hz (note that x = 1000 / y). This one second sample was just an example. [soundfiler] outputs the length of your sound sample in dsp samples.<br>
<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I don&#39;t understand what you mean by `bar/beat information&#39;, for I can&#39;t precisely imagine what you are building.<br><br></div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Regards,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Funs<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
 <br></div></div></div></div>