# Control two CC values with one knob?

**URL:** <https://forum.electra.one/t/control-two-cc-values-with-one-knob/3442>\
**Category:** General discussion\
**Created:** [December 12, 2024, 4:40am UTC](https://forum.electra.one/t/control-two-cc-values-with-one-knob/3442 "2024-12-12T04:40:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Llorgos](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@Llorgos](https://forum.electra.one/u/Llorgos)\
**Post date:** [December 12, 2024, 4:40am UTC](https://forum.electra.one/t/control-two-cc-values-with-one-knob/3442/1 "2024-12-12T04:40:54Z")

</div>

Hi there,

I own a beautiful Electra One MKII and I am in the following situation. I have a midi controllable pedal that allows you to control parameters individually left and right but not stereo. So my question is, is there a way to use one knob to control two different CC values (i.e., mix L + R at once)?

😁

---

<div class="post-metadata">

**Author:** ![NewIgnis](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/newignis/32/767_2.png) [@NewIgnis](https://forum.electra.one/u/NewIgnis)\
**Post date:** [December 12, 2024, 6:45am UTC](https://forum.electra.one/t/control-two-cc-values-with-one-knob/3442/2 "2024-12-12T06:45:45Z")

</div>

Here is an elaborate example  
[https://app.electra.one/preset/RVlGqiQaSUdP3ldcSRsF](https://app.electra.one/preset/RVlGqiQaSUdP3ldcSRsF)

---

<div class="post-metadata">

**Author:** ![Llorgos](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@Llorgos](https://forum.electra.one/u/Llorgos)\
**Post date:** [December 12, 2024, 1:23pm UTC](https://forum.electra.one/t/control-two-cc-values-with-one-knob/3442/3 "2024-12-12T13:23:28Z")

</div>

Thanks, I guess I miss something. I could not see how this is related.

---

<div class="post-metadata">

**Author:** ![NewIgnis](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/newignis/32/767_2.png) [@NewIgnis](https://forum.electra.one/u/NewIgnis)\
**Post date:** [December 12, 2024, 1:50pm UTC](https://forum.electra.one/t/control-two-cc-values-with-one-knob/3442/4 "2024-12-12T13:50:57Z")

</div>

Then you need to try out.  
You ask to change 2 parameters at once. The morphing control in this example lets you change 8 parameters at once…

---

<div class="post-metadata">

**Author:** ![Llorgos](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@Llorgos](https://forum.electra.one/u/Llorgos)\
**Post date:** [December 12, 2024, 1:53pm UTC](https://forum.electra.one/t/control-two-cc-values-with-one-knob/3442/5 "2024-12-12T13:53:49Z")

</div>

Thanks again, indeed, the script is brilliant but the documentation got me really puzzled. So, the morph is global controller for the midi value on the rest of the 7 paramters. However, e.g., setting CC A = 49 and CC B = 50 wont really affect the device. And I know I am in the correct channel since if I create a “standard” fader to control either it works ok (but L or R only).

Is there some other trick I am missing? I.e., except for setting correct midi channel and in CC A = 49 and CC B = 50, should I note something else too?

Again, amazing tool, just need to figure out how to use!

---

<div class="post-metadata">

**Author:** ![NewIgnis](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/newignis/32/767_2.png) [@NewIgnis](https://forum.electra.one/u/NewIgnis)\
**Post date:** [December 12, 2024, 1:58pm UTC](https://forum.electra.one/t/control-two-cc-values-with-one-knob/3442/6 "2024-12-12T13:58:26Z")

</div>

Per control you need to set 3 parameters:

- what CC number do you want to control?
- if the morph is turned left: what value should I send ( I guess 0 for your 1st CC and 127 for the 2nd)
- if the morph is turned right: what value should I send ( I guess 127 for your 1st CC and 0 for the 2nd)  
Also check port and channel is okay and assigned device to the controls you add is the same

---

<div class="post-metadata">

**Author:** ![oldgearguy](https://avatars.discourse-cdn.com/v4/letter/o/f4b2a3/32.png) [@oldgearguy](https://forum.electra.one/u/oldgearguy)\
**Post date:** [December 12, 2024, 2:17pm UTC](https://forum.electra.one/t/control-two-cc-values-with-one-knob/3442/7 "2024-12-12T14:17:02Z")

</div>

short answer is yes, with some LUA programming.

for the master level control, assign it parameter number 49 and make it a standard CC control.  
Then, write a simple LUA function and set the name (sendNextCC) in the “function” field of the control (not “format”)

**NOTE** - the example below assumes you are using the Electra One port 1 and MIDI channel 1. There are ways to make this more generic, but try this first.

function sendNextCC(valueObject,value)  
midi.sendControlChange(1, 1, 50, value)  
end
