On 01/03/2008, <b class="gmail_sendername">volker böhm</b> &lt;<a href="mailto:vboehm@gmx.ch">vboehm@gmx.ch</a>&gt; wrote:<br><br><div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
thanks for your answer, kassen.<br> you have a good point here. i&#39;m a lousy chucker and simply needed<br> some feedback with the delay ugens.<br> but yes, it can&#39;t work like this - at least not correctly.</blockquote>
<div><br>Well, now, &quot;lousy chucker&quot; is really quite exaggerated. Calculation order and so on is really a quite advanced subject that nobody notices until it mysterious mucks everything up. At least it&#39;s predictable in most practical ChucK situations which can save a lot of noise compared to some other systems.<br>
&nbsp;<br>I&#39;d say you are a good listener instead, I might&#39;ve missed why things were out of tune myself. :¬)<br><br><br>...in fact, now that I think of it, I might&#39;ve missed this in some of my own code, I could probably tighten up a rhythmical delay I use.<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> but what did confuse me in the first place was that i had already<br> tried to add a feedback path in the ugen source, only to find, that<br>
 the timing still wasn&#39;t right. that led me to the conclusion that<br> there must be something wrong with the way the delay time is<br> calculated - sorry that was a little fast. i did some further tests<br> and delay times are indeed set correctly.<br>
 the problem i ran into, is related to the &quot;Writing before reading<br> allows delays from 0 to length-1&quot; - approach, which is stated in the<br> source.<br> i changed the order of write and read, added a feedback parameter and<br>
 everything is fine.</blockquote><div><br><br>So, if I get this right, you made sure the delay now works at it&#39;s set length for both feedback and straight output?<br><br>That would be quite a valuable&nbsp; addition if you&#39;d submit it (not sure if there&#39;s a official process for this). At any rate this phenomenon could stand some attention in the manual because any system using feedback will run into this. Often the Z-1 function inherent in the feedback is actually beneficial and useful but we should probably document that it&#39;s there, where it is exactly and how it will affect things.<br>
</div><br><br>Glad to have been of help. I hope you&#39;ll share your fix, sounds like a solution that would be good for everyone.<br><br><br>Yours,<br>Kas.<br></div>