On Tue, Dec 7, 2010 at 9:21 PM, Paul Winchester <span dir="ltr">&lt;<a href="mailto:pww35@cornell.edu">pww35@cornell.edu</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br><br>I made the following circuit in PD in an attempt to control a DAW&#39;s (FL Studio&#39;s in this case) tempo via recorded clapping or tapping (much thanks to Pedro Lopes who helped me in another thread).  <br>

<br>Here&#39;s a picture of it:<br>
<a href="http://img227.imageshack.us/img227/9851/bpmpd.gif" target="_blank">http://img227.imageshack.us/img227/9851/bpmpd.gif</a><br>
<br>
The only issue I&#39;m having now is scaling the midi data/ doing the right math so the tempo I calculate in PD is the tempo that is received by my DAW.  <br><br>I had an 81 bpm song that was consistently being &quot;tapped in&quot; at 88 bpm when I clapped along, and I suspect this has something to do with my scale divisor being about 8 in my patch.  The DAW I&#39;m working with has a scale of about 0-1000 bpm, so I simply divided 1000 by 127 in order to get ~7.87.  This isn&#39;t working/isn&#39;t as accurate as it needs to be though, and I&#39;m wondering why.<br>

<br>Any suggestions?  Tips?  Better ways of approaching this?<br><br>Thanks.<br>-- <br><font color="#888888">Paul Winchester<br><br>
</font><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br></blockquote><div><br><br>Just out of curiousity, how long does it take the tempo to &quot;correct&quot; (quotes are because it sounds like it&#39;s not)?<br>
<br>What if you already knew what tempo you were aiming for (e.g. you entered it in when you created/saved the song) and then you&#39;d clap to set the tempo and there&#39;d be some math to get the diff of the 2 tempos and determine it that way?<br>
<br>-Aaron<br><br><br><br> <br></div></div><br>