Hi PeeDee list,
I use PD as a MIDI "translator" into the popular Ableton Live. I'm trying to make it to where a single knob controls wet/dry mix for a given track. I was hoping it would be a fairly trivial matter of making a single CC input into two with PD, and assigning each of the two CCs to a knob (one inverted), and being done with it.
However, the problem is that Ableton's knobs use "audio taper", such that the change in decibels per cc amount is much larger at the bottom than at the top. The result of this -- is that at "50 wet/50 dry", the sound is attenuated quite a lot. Really, though, the sound amplitude should not change across the wet/dry span.
I'm guessing one solution is to alter the 0-127 range of the CC controls within PD -- maybe map them along a different curve.
Thanks for any thoughts! rs
I think I answered my own question -- I'm sure there are other ways to go about it but an array, 128 items with a range of 0-127, will work quite nicely for remapping to the appropriate curve.
Thanks rs
On 2/20/06, Ryan Supak ryansupak@gmail.com wrote:
Hi PeeDee list,
I use PD as a MIDI "translator" into the popular Ableton Live. I'm trying to make it to where a single knob controls wet/dry mix for a given track. I was hoping it would be a fairly trivial matter of making a single CC input into two with PD, and assigning each of the two CCs to a knob (one inverted), and being done with it.
However, the problem is that Ableton's knobs use "audio taper", such that the change in decibels per cc amount is much larger at the bottom than at the top. The result of this -- is that at "50 wet/50 dry", the sound is attenuated quite a lot. Really, though, the sound amplitude should not change across the wet/dry span.
I'm guessing one solution is to alter the 0-127 range of the CC controls within PD -- maybe map them along a different curve.
Thanks for any thoughts! rs
If you are using sliders, then you can set them to "log" scale from
linear scale by right-clicking and selecting Properties. "audio
taper" is a logarithmic scale, so "log" would be appropriate.
.hc
On Feb 20, 2006, at 10:44 PM, Ryan Supak wrote:
Hi PeeDee list,
I use PD as a MIDI "translator" into the popular Ableton Live. I'm
trying to make it to where a single knob controls wet/dry mix for a
given track. I was hoping it would be a fairly trivial matter of
making a single CC input into two with PD, and assigning each of
the two CCs to a knob (one inverted), and being done with it.However, the problem is that Ableton's knobs use "audio taper",
such that the change in decibels per cc amount is much larger at
the bottom than at the top. The result of this -- is that at "50
wet/50 dry", the sound is attenuated quite a lot. Really, though,
the sound amplitude should not change across the wet/dry span.I'm guessing one solution is to alter the 0-127 range of the CC
controls within PD -- maybe map them along a different curve.Thanks for any thoughts! rs _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Hans-Christoph Steiner wrote:
If you are using sliders, then you can set them to "log" scale from linear scale by right-clicking and selecting Properties. "audio taper" is a logarithmic scale, so "log" would be appropriate.
this is a fine solution if you just want to control something with a non-linear fader. however, you cannot convert things withit (sending "10" to a (logarithmic or not) fader will output "10")
if you want to convert values from one range to another (e.g. linear -> log), use objects of the [rmstodb] family.
if you have the iemlib, there is also a [fadtodb] (and simile, like [rmstofad]), which is a very non-linear curve similar to faders in real-world mixers.
mf.asdr IOhannes
Thanks all. I ended up using an array with 128 items, with a range from 0-127.
That way, I could keep tweaking the curve until it "felt" right.
Thanks rs
On 2/22/06, IOhannes m zmoelnig zmoelnig@iem.at wrote:
Hans-Christoph Steiner wrote:
If you are using sliders, then you can set them to "log" scale from linear scale by right-clicking and selecting Properties. "audio taper" is a logarithmic scale, so "log" would be appropriate.
this is a fine solution if you just want to control something with a non-linear fader. however, you cannot convert things withit (sending "10" to a (logarithmic or not) fader will output "10")
if you want to convert values from one range to another (e.g. linear -> log), use objects of the [rmstodb] family.
if you have the iemlib, there is also a [fadtodb] (and simile, like [rmstofad]), which is a very non-linear curve similar to faders in real-world mixers.
mf.asdr IOhannes
omg lol since this thraed has attractged some attention from teh serious "heads" i would like to offer a humble solution to the idea before there was an option in teh properties dialogue; bonus: variable steepness
feedback, comments, and optimization suggestions are appreciated
-- log curve --v
#N canvas 685 184 372 343 10; #X obj 20 60 inlet; #X text 23 42 Float between 0 and 1; #X obj 196 70 f 1; #X obj 239 36 loadbang; #X obj 197 36 inlet; #X text 202 17 Steepness index (> 1); #X obj 20 181 outlet; #X text 29 200 Logarithmic curve between 0 and 1; #X obj 196 95 expr $f1 ; if ($f1 > 1 , $f1 , 1) ; if ($f1 < 1 , 1 , 1); #X text 116 289 (C) 1994 Eric L. Singer; #X text 119 303 ported to Pd 2005 , David Akbari; #X text 239 260 LogCurve; #X obj 19 147 expr (log($f1*($f2-1)+1)/log($f2)); #X connect 0 0 12 0; #X connect 2 0 8 0; #X connect 3 0 2 0; #X connect 4 0 2 0; #X connect 8 1 12 1; #X connect 12 0 6 0;
-- exp curve --v
#N canvas 685 184 376 347 10; #X obj 20 60 inlet; #X text 23 42 Float between 0 and 1; #X obj 19 147 expr (exp($f1*log($f2))-1)/($f2-1); #X obj 196 70 f 1; #X obj 239 36 loadbang; #X obj 197 36 inlet; #X text 202 17 Steepness index (> 1); #X obj 20 181 outlet; #X obj 196 95 expr $f1 ; if ($f1 > 1 , $f1 , 1) ; if ($f1 < 1 , 1 , 1); #X text 239 260 ExpCurve; #X text 116 289 (C) 1994 Eric L. Singer; #X text 119 303 ported to Pd 2005 , David Akbari; #X text 30 199 Exponential curve between 0 and 1; #X connect 0 0 2 0; #X connect 2 0 7 0; #X connect 3 0 8 0; #X connect 4 0 3 0; #X connect 5 0 3 0; #X connect 8 1 2 1;
./d5
On Feb 21, 2006, at 10:52 PM, Hans-Christoph Steiner wrote:
If you are using sliders, then you can set them to "log" scale from linear scale by right-clicking and selecting Properties. "audio taper" is a logarithmic scale, so "log" would be appropriate.
.hc
On Feb 20, 2006, at 10:44 PM, Ryan Supak wrote:
Hi PeeDee list,
I use PD as a MIDI "translator" into the popular Ableton Live. I'm trying to make it to where a single knob controls wet/dry mix for a given track. I was hoping it would be a fairly trivial matter of making a single CC input into two with PD, and assigning each of the two CCs to a knob (one inverted), and being done with it.
However, the problem is that Ableton's knobs use "audio taper", such that the change in decibels per cc amount is much larger at the bottom than at the top. The result of this -- is that at "50 wet/50 dry", the sound is attenuated quite a lot. Really, though, the sound amplitude should not change across the wet/dry span.
I'm guessing one solution is to alter the 0-127 range of the CC controls within PD -- maybe map them along a different curve.
Thanks for any thoughts! rs