Hi Derek
Probably not the best solution, but to my ears, it sounds good to scale the input to 0-1 and then square it.
cheers dafydd
On 2/18/07, Derek Holzer derek@umatic.nl wrote:
I've been using the following to control the output volume of a channel from my MIDI faders:
[ctlin 7 1] (in from faderbox) | [* 0.787402] (scale 0-127 to 0-100) | [dbtorms] | [pack 0 50] | [*~] (multiplied by sound from channel)
I know that this is the "mathematically" correct way to do decibels to RMS, but it doesn't sound right. The bottom 2/3rds of the slider are almost silent, then the sound comes in very loud at the top. What other kind of setup are people using to control gain?
d.
-- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 172: "Use `unqualified' people"
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list