| View previous topic :: View next topic |
| Author |
PLL in Max or Pd |
arthurgrimley Learning to Wiggle
Joined: 06 Mar 2011 Last Visit: 03 Mar 2012
  Posts: 8
|
Posted: Thu Feb 23, 2012 12:18 pm Post subject: PLL in Max or Pd |
 |
|
|
Hi everyone,
I'm interested in creating a Phase Locked Loop (PLL) in MaxMSP or Pd - this kind of thing
http://www.muffwiggler.com/forum/viewtopic.php?t=53142&highlight=pll
but while I can get close to the sound with [rampsmooth] or [line], can anyone offer advice as to how I could implement something like an actual PLL mechanism (running at audio rates)? A search of the Max and Pd forums doesn't seem to turn up much useful.
Thanks |
|
| Back to top |
|
 |
CJ Miller Super Deluxe Wiggler
Joined: 28 Apr 2011 Last Visit: 25 May 2013
  Posts: 2459 Location: the daathian doorway
|
Posted: Thu Feb 23, 2012 1:19 pm Post subject: |
 |
|
|
| I'd never really thought about it before. I guess I'd try looking at patches for pitch-tracking input, and repurpose them for internal signals. If you can play with the tracking parameters it might function in a similar way to a PLL. |
|
| Back to top |
|
 |
felix le chat Veteran Wiggler
Joined: 10 Aug 2010 Last Visit: 18 Feb 2013
  Posts: 606
|
Posted: Fri Feb 24, 2012 4:34 am Post subject: Re: PLL in Max or Pd |
 |
|
|
| arthurgrimley wrote: |
but while I can get close to the sound with [rampsmooth] or [line], can anyone offer advice as to how I could implement something like an actual PLL mechanism (running at audio rates)? |
As far as I remember, the Doepfer PLL manual explains how the components are connected. It should be possible to do this in software, at audio rate.
The difficult part is you cannot make zero-latency feedback paths in software. But maybe you can simply add a single sample delay line in each feedback loop and it will sound similar.
Cheers
Flc |
|
| Back to top |
|
 |
skrasms Common Wiggler
Joined: 07 Nov 2008 Last Visit: 24 May 2013
    Posts: 188
| |
| Back to top |
|
 |
|