7 objects arpeggiator<div>note that if you click the same Hradio box several times you also get variations.</div><div>gr,</div><div>Tim<br><br><div class="gmail_quote">2011/10/11 Mathieu Bouchard <span dir="ltr">&lt;<a href="mailto:matju@artengine.ca">matju@artengine.ca</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Le 2011-10-12 à 01:32:00, hardoff goes bananas a écrit :<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
no idea what causes the transpose/chord shift in this patch, but if you leave it for a while, it inevitably does happen.<br>
</blockquote>
<br></div>
You are greatly amplifying error accumulation coming from [phasor~]. With a samplerate of exactly 44100 and a frequency of exactly 2, an ideal [phasor~] would increase by an amount of 2/44100 at each sample, leading to a new 0 at every 22050. The truth is a bit different.<br>


<br>
If you do it with regular pd floats (float32), the amount 2/44100 gets computed as <a href="tel:12466118" value="+3212466118" target="_blank">12466118</a>/pow(2,15+23) instead, because that&#39;s the closest fraction that this format can express.<br>


<br>
For reasons of error accumulation, [phasor~] uses a «double» (float64) for storing the phase, but then it stores 1/44100 as a float, an computes 2*(1/44100) as a float too, therefore a [phasor~ 2] doesn&#39;t have the exact frequency of 2.<br>


<br>
BTW, have you tried [phasor~ 2.01] and other things like that ? At least on my computer, it&#39;s more interesting than [phasor~ 2].<div><div></div><div class="h5"><br>
<br>
 ______________________________<u></u>______________________________<u></u>__________<br>
| Mathieu BOUCHARD ----- téléphone : <a href="tel:%2B1.514.383.3801" value="+15143833801" target="_blank">+1.514.383.3801</a> ----- Montréal, QC</div></div><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>
<br></blockquote></div><br></div>