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

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Mon Aug 20 2012 - 22:26:47 EEST

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)
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Tue Aug 21 00:15:01 2012

This archive was generated by hypermail 2.1.8 : Tue Aug 21 2012 - 00:15:01 EEST