MUFF WIGGLER Forum Index
 FAQ & Terms Of UseFAQ & Terms Of Use   Wiggler RadioWiggler Radio   SearchSearch   Muff Wiggler Blog & NewsBlog & News   Muff Wiggler StoreMW Store 
 RegisterSign up   Log inLog in 

PLL in Max or Pd 
 MUFF WIGGLER Forum Index -> Music Software
View previous topic :: View next topic  
Author PLL in Max or Pd
arthurgrimley
Learning to Wiggle


Joined: 06 Mar 2011
Last Visit: 24 Nov 2014

Posts: 12

PostPosted: 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

https://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: 02 Jan 2015

Posts: 4264
Location: Mumfordshire

PostPosted: 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: 605

PostPosted: 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: 25 Jan 2015

Posts: 200
Location: Portland, OR

PostPosted: Mon Mar 05, 2012 1:18 am    Post subject:

This thread motivated me to make a PLL with the gen~ object in Max 6. I posted the results on the Cycling74 forum here:
http://cycling74.com/forums/topic.php?id=38452
Back to top
Display posts from previous:   
 MUFF WIGGLER Forum Index -> Music Software
 
Page 1 of 1

Powered by phpBB © phpBB Group