<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
How is it possible to change in real-time the start and stop position of a soundfile in loop mode without getting audible audio clicks.<br></blockquote><div><br>other options are:<br><br>(1) use 2 loop players and crossfade between then every time you change the position.&nbsp; (you can put each player in a separate subpatch and use [switch~] to turn it off after the crossfade is finished, to save on processing power)<br>
<br>or (2) use [vline~] to&nbsp; fade your audio out before the position change, and back in after it.&nbsp; <br>so, something like:&nbsp; <br><br>[r newposition]<br>|<br>[pipe 5]<br>|<br>[looperplayerthingy~]<br>|<br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [r newposition]<br>
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>| &nbsp; &nbsp;&nbsp; [t b] <br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0 5, 1 5 7]<br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [vline~]<br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>[*~ ]<br></div></div><br>(3) you could also use a voltage controlled Lowpass filter instead of the simple volume fade to do a similar thing to (2), but better.&nbsp; this would either require an external, or making a filter yourself using [czero~] and [cpole~] or whatever.<br>
<br><br>