Thanks for those. They are pretty much what I was looking for. Don't know why but that info was really hard for me to locate via google when I last looked.<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;">

<br>
If you have the inclination you can see where I got to with this code because I have uploaded a new version here:<br>
<br>
<a href="http://djcj.org/code/kluppe-0.6.14-playbackdelay-v2.tar.bz2" target="_blank">http://djcj.org/code/kluppe-0.6.14-playbackdelay-v2.tar.bz2</a><br>
<br>
The core mod is in src/common/looperdata.c:1355<br>
<br>
Basic operation is to create a new track, import a buffer file, load the buffer,  set the playback delay to > 0 and press play. When it gets to the end of the loop range it will stop for the number of seconds in the playback delay spinbox.<br>

<br>
It's now at least partially working. Needs some finetuning with multiple tracks but at least that annoying buzz has gone and the ui stays responsive. I'll spend some more time on it in the next few days no doubt. But if anyone else feels like giving it a tweak then be my guest. I'm sure Louigi will be keen to test out any improvements.<br>

<br></blockquote><div><br><br>Hey Patrick!<br>Just compiled this latest version. Unfortunately, I couldn't really get this to work yet.<br><br>First off, I still get the buzz when the delay does work. If I route audio from individual looper outs, the buzz is there too if you just hit Pause.<br>
<br>Second, the delay function worked only a couple of times - the rest of the time changing its value from 0 to whatever did not create any delay. Times that it did work it paused all the loops with a buzz. One time kluppe crashed when the playhead reached the end of the loop, but I could not reproduce it later.<br>
<br>By the way, is it possible to delay a custom loop? I mean, is delay applied only to the end of the file or when the end loop point is reached?<br><br>Anyway, always ready to test the new version!<br><br>Cheers!<br>L.V.<br>
</div></div>