dear forum,
in an additive synth like this:
how would i multiply the combined partials to keep the result in 1 -1 boundaries?
i thought there must be a rather simple equation for this but haven't found anything so far. any ideas?
additive.pd
normalizing additive synth
dear forum,
in an additive synth like this:
how would i multiply the combined partials to keep the result in 1 -1 boundaries?
i thought there must be a rather simple equation for this but haven't found anything so far. any ideas?
additive.pd
@solipp
hello,
try [*~ 0.125]. If you connect 2 or more signals to a signal inlet in pd they are summed up, and so do their amplitudes.
There might be other ways to deal with this too.
Well, normalizing like you are should make the amplitude like this:
n = total number of partials
1 = (1/1/n) + (1/2/n) + ... + (1/n/n)
each addition in that series would be the amplitude of its corresponding partial.
I think thats right.
If you can keep all the math in the control rate, you should save some cpu by being able to avoid that one final [*~ ] at the end.
Might want to consider using line~ to avoid the clicks of changing the amplitudes at control rate though.
Oops! Looks like something went wrong!