[LAD] Plugin 1/oct frequency controls (AMS/MCP/VCO)

Sean Bolton sean at smbolton.com
Wed Aug 22 17:22:13 UTC 2012


Hi Dave,

On Wed, 22 Aug 2012 12:43:27 -0400 David Robillard <d at drobilla.net>
wrote:
> Originally I was thinking about a
> control to set the base frequency, but it sounds like you are
> thinking about adding a Hz frequency CV port.  This is a better idea,
> since you get both options, and the debate goes away entirely.  The
> overhead is about 2 multiplications per sample, so not really an
> issue.

Careful there.  You will find that to get the 1/oct modulation to work,
you'll need a calculation somewhat like this:

frequency = exp2(octave_mod_port + log2(Hz_port))

which in light of this overlong discussion, makes me laugh out
loud!

-Sean




More information about the Linux-audio-dev mailing list