[LAD] Plugin 1/oct frequency controls (AMS/MCP/VCO)
Fons Adriaensen
fons at linuxaudio.org
Mon Aug 20 19:26:47 UTC 2012
On Mon, Aug 20, 2012 at 12:34:38PM -0400, David Robillard wrote:
> So far I have done all of MCP and all of VCO.
You'll find a call to exp2ap() with a complicated sum as
the argument. One of the terms of that sum, usually near
the end, is a constant. Adding 0.75f to that should
transpose verything from middle C to A (440) - 3/4 octave
up.
Also please check that all FP constants are single
precision as well as all math.h functions. I was
rather careless with that when I wrote those plugins.
It matters, in particular if you compile for 32-bit
SSE.
Ciao,
--
FA
A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)
More information about the Linux-audio-dev
mailing list