Announcement

Collapse
No announcement yet.

Can a button change the CC of another button?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can a button change the CC of another button?

    Suppose there is a Button and a Fader...

    The Fader transmits midiCC 5
    Suppose you want to press a Button so that the Fader now transmits midiCC 10

    all CC#'s are examples.

    Can this be done?

    Mike

  • #2
    Hi Mike,

    There several ways of doing this.

    The most simple way is to change the channel number of the Fader message. It won't change the CC#, but depending on what you want to achieve, changing the channel can be sufficient. So you just choose the Change Channel event, choose your Fader message as the Value, and adjust the scalings parameters so the you get the desired channels when you push or release the button.

    Another way of doing this is to use the Enable event.
    This time you duplicate the Fader message, and assign both MIDI CC# events you want, but you keep one disabled (uncheck the checkbox button in the first column). Then, you duplicate the Button message as well and assign two Enable events. The Value of these Events should be the two messages you previously duplicated. With this solution, when you press the button, the enabled state will switch from one duplicate to another, thus from one MIDI CC# to another.

    If you need a more specific example, please let me know.


    Best,
    Cam

    Comment


    • #3
      Hi Mike,

      Here is a simple example based on TouchOSC's layout Beatmachine.
      The yellow fader will output either MIDI CC 10 or MIDI CC 20, depending on the lower left purple button being pressed or released.

      It uses the Enable event on the button to control the enable state of the fader (MIDI CC 10 or 20).

      Let me know if you need further detail or help.


      Best,
      Cam
      Attached Files

      Comment

      Working...
      X