Hallo, derek holzer hat gesagt: // derek holzer wrote:
derek holzer wrote:
Help me out here, cause I've been using that particular dirty-but-quick panner construction for years now. What is the difference between your version and mine? Seems like they both give a range from 0-1 to the left channel and the inverse of that to the right channel.
Never mind!!!!! I figured it out. There's one patch cable in the wrong place in my version. If that were fixed, our maths would be the same.
Yes, it's the same. My version might be slightly faster because it avoids a multiplication, but then it has a variable replacement in a message box, which also is a bit costly. Normally I use something like
[expr 1-$f1; $f1]
to do the splitting in one object but I once heard that you don't like [expr]. (Just joking ;)
Using [expr] for panning has the advantage to allow for writing alternative pannings in a very compact way like:
[expr sqrt(1-$f1); sqrt($f1)]
[expr cos(1.57 * $f1); sin(1.57 * $f1)]
Attached patch shows them all.
Frank Barknecht _ ______footils.org_ __goto10.org__