Author |
Message |
Burp
Joined: Dec 18, 2006 Posts: 53 Location: Utrecht - NL
G2 patch files: 7
|
|
Back to top
|
|
|
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
Posted: Mon Apr 09, 2007 2:50 pm Post subject:
|
|
|
Your approach is basically correct.
However, it isn't possible to perfectly phase-lock an LFO to the delay time by itself. It always drifts after a few minutes or so. So the only way to do it is to time-stamp the beginning of the sampling within the delay loop. I do this by injecting a max headroom (+256 Clavia units) but very short (a few samples) click into the loop. (The audio headroom is reduced to make sure that it doesn't approach the max) This click is detected afterwards and used to resync the readout LFO. Hence it is necessary to empty the whole delay line loop everytime you capture audio, because otherwise there might by chance be two clicks in the loop (the new one and an old one), making the patch malfunction. Yes, It's a fiddly kludge, but the only one that works reliably.
Here's a patch that does what you want. It captures audio as long as the "capture" button is pressed (but not more than 2,7 secs, obviously), and loops it as soon as the button is released. I colored and named the function groups to help elucidate what goes on. Hope it helps.
best,
tim
Description: |
|
Download |
Filename: |
SimpleLooper TK.pch2 |
Filesize: |
2.17 KB |
Downloaded: |
1474 Time(s) |
|
|
Back to top
|
|
|
Burp
Joined: Dec 18, 2006 Posts: 53 Location: Utrecht - NL
G2 patch files: 7
|
Posted: Tue Apr 10, 2007 4:12 am Post subject:
|
|
|
Hi Tim,
Great! Thanks for your help. It works perfect.
It is indeed a bit of a workaround, but timing is good.
Just some questions, is the calibrating (readout LFO) to avoid hearing the timestamp?
The only thing now is that i like to start the loop immediately after releasing the capture button. Now it waits till, i think, the timestamp comes by again (when from the start the whole 2.7s are passed).
I'll try for that later.
Thanks,
-Jan _________________ if you don't know where you're going, you will allways arrive |
|
Back to top
|
|
|
Fozzie
Joined: Jun 04, 2004 Posts: 875 Location: Near Wageningen, the Netherlands
Audio files: 8
G2 patch files: 49
|
Posted: Tue Apr 10, 2007 11:34 am Post subject:
|
|
|
Hey Tim, thanks for the looper for dummies patch, it helps me to finally understand a bit of your fantastic looper patches (I was puzzling again over them in the last few days).
Question though: is it really necessary to have the separate readout and loop lfo's? It seems to me the readout lfo is used with the phase setting to get the sync signal at the restart of the loop, but this could be done just with one lfo and a s/h, right? Can't check right now myself. _________________ Spinning at ~0.0000115740740741 Hz |
|
Back to top
|
|
|
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
Posted: Tue Apr 10, 2007 3:54 pm Post subject:
|
|
|
The Loop LFO is necessary to establish the exact time intervals of the loop. |
|
Back to top
|
|
|
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
Posted: Tue Apr 10, 2007 3:57 pm Post subject:
|
|
|
Burp wrote: |
The only thing now is that i like to start the loop immediately after releasing the capture button. Now it waits till, i think, the timestamp comes by again (when from the start the whole 2.7s are passed). |
You can unplug the yellow cable running into the AM input of the Envelope (below the delay module). That should do the job. |
|
Back to top
|
|
|
Burp
Joined: Dec 18, 2006 Posts: 53 Location: Utrecht - NL
G2 patch files: 7
|
Posted: Wed Apr 11, 2007 5:29 am Post subject:
|
|
|
tim wrote: | Burp wrote: |
The only thing now is that i like to start the loop immediately after releasing the capture button. Now it waits till, i think, the timestamp comes by again (when from the start the whole 2.7s are passed). |
You can unplug the yellow cable running into the AM input of the Envelope (below the delay module). That should do the job. |
Yes it works. Thanks!
Now i have to keep my timing good _________________ if you don't know where you're going, you will allways arrive |
|
Back to top
|
|
|
|