<div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 4, 2014 at 8:53 PM, Chris McCormick <span dir="ltr">&lt;<a href="mailto:chris@mccormick.cx" target="_blank">chris@mccormick.cx</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Not sure if this is relevant or already common knowledge but newer<br>
versions of Pd allow you to specify metro and delay tempo &amp; units,<br>
including in samples. e.g. [metro 500 1 samp].<br></blockquote><div><br>Does anybody know if sample-accurate [metros] are available in libpd? I&#39;m making an application that allows for fairly arbitrary divisions of a tempo. Originally I was going to make clocks out of metros, but I wasn&#39;t aware that you could set a [metro] faster than one bang per ms. If I wanted a bunch of different rhythms, not just eigths and sixteenths, but triplets and divisions of fives or sevens or whatever, I would need to make a bunch of [metro] objects (or maybe one running at the least common multiple of the various divisions).<br>
<br></div><div>In the end, I settled on handling this logic in the Java side of my application by counting samples and doing some math. I can schedule bangs at arbitrary divisions of a base amount of time (so I can make seven-tuplets or fiftythree-uplets or whatever strange rhythm I want to). In theory my solution should be sample-accurate, and it sounds like it&#39;s working fine.<br>
<br>But is there a straightforward way to do this in pd that I completely overlooked?<br></div></div></div></div></div>