Scaling of Sliders?
Posted: Mon Aug 03, 2009 4:36 am
So, I'm trying to control the sliders in SL with sliders in PureData. I'm sending the new values out of Pd by OSC.
I'm starting with the dry slider.
I tried sending them out as a linear scale between 0 and 1, but that yields nonlinear results visually in SL.
Also, I understand that moving the slider linearly (visually) yields nonlinear dB values (which is, itself a nonlinear scale)
To make things simple, I want to just figure ot how to map linear movement of a slider in Pd to linear VISUAL movement of the slider in SL. Could you tell me what math scaling happens to convert the OSC input to visual slider output (on the channel dry slider, specifically, if they're different for different volume sliders)?
I'm starting with the dry slider.
I tried sending them out as a linear scale between 0 and 1, but that yields nonlinear results visually in SL.
Also, I understand that moving the slider linearly (visually) yields nonlinear dB values (which is, itself a nonlinear scale)
To make things simple, I want to just figure ot how to map linear movement of a slider in Pd to linear VISUAL movement of the slider in SL. Could you tell me what math scaling happens to convert the OSC input to visual slider output (on the channel dry slider, specifically, if they're different for different volume sliders)?