<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. (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 fade your audio out before the position change, and back in after it. <br>so, something like: <br><br>[r newposition]<br>|<br>[pipe 5]<br>|<br>[looperplayerthingy~]<br>|<br>| [r newposition]<br>
| |<br>| [t b] <br>| |<br>| [0 5, 1 5 7]<br>| |<br>| [vline~]<br>| |<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. this would either require an external, or making a filter yourself using [czero~] and [cpole~] or whatever.<br>
<br><br>