<br><br><div><span class="gmail_quote">On 8/5/06, <b class="gmail_sendername">Mathieu Bouchard</b> &lt;<a href="mailto:matju@artengine.ca">matju@artengine.ca</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sat, 5 Aug 2006, Ypatios Grigoriadis wrote:<br><br>&gt; I have this little problem with [tabread4~ ]. When I use it to read from<br>&gt; a relative short Array it works just fine. But now I need an array of<br>&gt; 2.646e+007
 elements(10 min with sample rate 44100). When I try it with<br>&gt; such a long array I hear distortion from 1min 30 and it becomes worse as<br>&gt; the time goes.<br><br>Distorsion would &quot;start&quot; at 1min35, the next distorsion level at 3min10
<br>(double), and so on. But really it starts before, just softly, e.g. 0min47<br>is another threshold. The reason is that you are hitting the maximum<br>precision of float numbers, which is 24 binary significant digits. Said
<br>thresholds are always at position 2*2*2*...*2 in the array. Starting with<br>each threshold you have twice less timewise precision. This makes<br>[tabread4~] go nuts after a while.<br><br>The easiest fix around this is to create a [tabread4~] external which uses
<br>another float for large-scale index, so that the small-scale index can<br>stay precise. In the long term it would be better if Pd had an option for<br>higher-precision floats (double-floats have much more precision than you
<br>need).<br><br>&nbsp;&nbsp;_ _ __ ___ _____ ________ _____________ _____________________ ...<br>| Mathieu Bouchard - tél:+1.514.383.3801 - <a href="http://artengine.ca/matju">http://artengine.ca/matju</a><br>| Freelance Digital Arts Engineer, Montréal QC Canada
<br></blockquote></div><br>Thank you guys, I now have the picture of the problem.<br><br>However, I am not a programmer which means that it is impossible for me to create an external... So if any one has free time next weekend...
<br><br>Or if anyone can figure out another solution, i would be grateful.<br><br>Thank you anyway!!!<br clear="all"><br>-- <br>Ypatios.