Guest cult fiction Posted November 19, 2013 Report Share Posted November 19, 2013 I am very new to Live and I have what should be an easy question(I think). I picked up a Behringer CMD LC-1, and overall I like it but the knob sensitivity is incredibly low. It takes 3+ full turns to take any midi mapped parameter from 0 -> 127. I like my knobs more sensitive than this. The CMD LC-1 is super bare bones when it comes to Ableton support. It comes with some python scripts that bind session navigation and clip launching. Unfortunately they do nothing with the knobs. Googling around, it seems like this is a common enough problem that somebody created a Max For Live plug-in to let you map midi inputs to a curve: http://www.djtechtools.com/2012/02/16/mapulator-advanced-midi-mapping-for-ableton/ Unfortunately I don't have Max For Live. Furthermore if I had Max For Live, I would solve this problem in about 5 minutes by just scaling the midi input myself. Does anybody have any quick solutions for scaling the midi? The knobs are relative midi CC and when I map them I have them set to Relative (BinOffset) interpretation, which is the only one that actually works right. tldr How can I scale up incoming relative midi CC data in ableton without max for live? Quote Link to comment https://forum.watmm.com/topic/81304-relative-midi-control-scaling-in-ableton-live/ Share on other sites More sharing options...
Guest skibby Posted November 19, 2013 Report Share Posted November 19, 2013 http://www.behringer.com/EN/products/cmd-lc-1.aspx#softwareContent on here, theres an ableton download, and i imagine you've seen this, but it says it's a script, and that says to me there may be a chance to hack it. Quote Link to comment https://forum.watmm.com/topic/81304-relative-midi-control-scaling-in-ableton-live/#findComment-2094384 Share on other sites More sharing options...
awepittance Posted November 19, 2013 Report Share Posted November 19, 2013 this could be done in Reaktor also, as long as you're using the VST version of it and not the AU Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide awepittance's signature Hide all signatures Link to comment https://forum.watmm.com/topic/81304-relative-midi-control-scaling-in-ableton-live/#findComment-2094407 Share on other sites More sharing options...
mcbpete Posted November 19, 2013 Report Share Posted November 19, 2013 On 11/19/2013 at 8:48 AM, skibby said: but it says it's a script, and that says to me there may be a chance to hack it.Aye, there's a file in there called CMDEncoderElement.py which has a line that reads: self._mapping_sensitivity = 7Which I guess you just bung in a higher value. However there's also CMDEncoderElement.pyc which is not human readable - so I'm guessing the 'c' in the file extension is 'compiled', so you probably need python to run its magic over it. Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide all signatures I haven't eaten a Wagon Wheel since 07/11/07... ilovecubus.co.uk - 25ml of mp3 taken twice daily. Link to comment https://forum.watmm.com/topic/81304-relative-midi-control-scaling-in-ableton-live/#findComment-2094415 Share on other sites More sharing options...
Guest cult fiction Posted November 19, 2013 Report Share Posted November 19, 2013 On 11/19/2013 at 11:47 AM, mcbpete said: On 11/19/2013 at 8:48 AM, skibby said: but it says it's a script, and that says to me there may be a chance to hack it.Aye, there's a file in there called CMDEncoderElement.py which has a line that reads: self._mapping_sensitivity = 7Which I guess you just bung in a higher value. However there's also CMDEncoderElement.pyc which is not human readable - so I'm guessing the 'c' in the file extension is 'compiled', so you probably need python to run its magic over it. Man I wish! I spent a few hours hacking the scripts over the weekend to make the 4 mute buttons swap A/B sends on the first 4 tracks so I can route effects, so I'm pretty familiar with them. Unfortunately CMDEncoderElement has no effect on the knobs out of the box. In LC1.py it looks like CMDEncoderElement is initially bound to control an external device of your choosing. When I was working on changing the 4 mute buttons' behavior, I sprinkled their ButtonElement subclass with log messages and noticed that it stopped sending or receiving values as soon as I midi mapped the behavior. I wonder if the same thing is happening with the CMDEncoderElement knobs. I'll take a further crack at the scripts tonight. I have Reaktor but it has always been really unstable in Logic so I haven't used it much. If I can't get the python scripts to work I'll go that route. Thanks guys! Quote Link to comment https://forum.watmm.com/topic/81304-relative-midi-control-scaling-in-ableton-live/#findComment-2094470 Share on other sites More sharing options...
mcbpete Posted November 19, 2013 Report Share Posted November 19, 2013 You must've done this but I guess there's no harm in checking - Have you selected these options in Ableton: Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide all signatures I haven't eaten a Wagon Wheel since 07/11/07... ilovecubus.co.uk - 25ml of mp3 taken twice daily. Link to comment https://forum.watmm.com/topic/81304-relative-midi-control-scaling-in-ableton-live/#findComment-2094475 Share on other sites More sharing options...
Guest cult fiction Posted November 19, 2013 Report Share Posted November 19, 2013 Yep got that part covered. The script is working great in all aspects except for the knobs. Quote Link to comment https://forum.watmm.com/topic/81304-relative-midi-control-scaling-in-ableton-live/#findComment-2094479 Share on other sites More sharing options...
Guest cult fiction Posted November 19, 2013 Report Share Posted November 19, 2013 You know what, the baby's asleep and I have an hour before work, I'm going to see if I can't fix the knobs in python Quote Link to comment https://forum.watmm.com/topic/81304-relative-midi-control-scaling-in-ableton-live/#findComment-2094484 Share on other sites More sharing options...
mcbpete Posted November 19, 2013 Report Share Posted November 19, 2013 You go girl ! Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide all signatures I haven't eaten a Wagon Wheel since 07/11/07... ilovecubus.co.uk - 25ml of mp3 taken twice daily. Link to comment https://forum.watmm.com/topic/81304-relative-midi-control-scaling-in-ableton-live/#findComment-2094487 Share on other sites More sharing options...
Guest cult fiction Posted November 19, 2013 Report Share Posted November 19, 2013 I was able to make some progress. I tried directly assigning one of the CMDEncoderElements to track 0's pan control: self.mixer.channel_strip(0).set_pan_control(CMDEncoderElement(MIDI_CC_TYPE, CHANNEL, 16, Live.MidiMap.MapMode.relative_binary_offset, 20)) and while it did control the pan, I couldn't get the sensitivity to actually change regardless of what I set the numbers to. So then I tried adding a value listener to the encoder and manually setting the pan value myself. That worked, and I was able to get the sensitivity feeling great. That approach will work fine for just about any Ableton exposed value(tempo, pan, etc.) but it won't work for changing audio effect parameters - for that I think I need midi mapping. Unfortunately, as soon as I midi map the knob, my custom encoders get unmapped and no longer work. Tonight I'm going try adding a 'redirect' encoder that just sends the scaled values to another midi channel, and midi map the other channel instead. Hopefully Ableton won't unmap my encoder then. I e-mailed Behringer support, because all this work seems pretty ludicrous. Quote Link to comment https://forum.watmm.com/topic/81304-relative-midi-control-scaling-in-ableton-live/#findComment-2094518 Share on other sites More sharing options...
Recommended Posts