On Thu, 2010-11-11 at 20:22 -0800, Eric Kampman wrote:
I think you misspelled one sin(), no?
let float p be the panning position such that:
Left == 0.0, Center == 0.5, Right == 1.0
float l = sqrtf(1.0f - p)
float r = sqrtf(p)
For LFO and envelope, I would calculate ay most every 16th value and
There is support in SSE for sqrt:
It is a complex mul you really want - where L+R is the real and L-R is
the imaginary. You can have the sin/cos pair very cheaply by using an
LFO that works by rotating iself by some complex constant.
jedes mal wenn du eine quintparallele verwendest
tötet bach ein kätzchen.
Linux-audio-dev mailing list