[SOLVED] How to route a specific CC to multiple channels at same time?

Author
rogeriodec
Max Output Level: -75 dBFS
  • Total Posts : 753
  • Joined: 2004/04/09 13:55:04
  • Location: Brazil
  • Status: offline
2017/02/02 14:03:57 (permalink)

[SOLVED] How to route a specific CC to multiple channels at same time?

I'm using NoteMapper successfully to route notes to different channels.
But it only routes NOTES and not CC.
I would like to know if there is any way or some plugin that allows me the following:
1) Listen a CC 64 on channel 1
2) Play CC 64 on both channel 1 and channel 2?
post edited by rogeriodec - 2017/02/08 19:28:12

rogeriodec.com.br


* Cakewalk By Bandlabs (always lastest versions), Window 10 x64
* Focusrite Scarlett Solo Audio Interface
* Intel i7-4790K CPU @ 4.00 GHz / ASROCK EXTREME 4 Z97 Mobo
* 2 SSD Samsung Evo 250 Gb (RAID-0) + 1 Western Digital 2 Tb + 1 Seagate 1 Tb
* Onboard video / 16 Gb RAM HyperX Fury 1600 Mhz
* 3 LCD Monitors
* Axiom 61 MIDI Controller, Tapco S5 Active Studio Monitors
#1

1 Reply Related Threads

    rogeriodec
    Max Output Level: -75 dBFS
    • Total Posts : 753
    • Joined: 2004/04/09 13:55:04
    • Location: Brazil
    • Status: offline
    Re: [SOLVED] How to route a specific CC to multiple channels at same time? 2017/02/08 19:29:00 (permalink)
    I did not find any plugin suitable for this in the market, so I created a script using Blue Cat's Plug'n Script.
     
    #include "library/Midi.hxx"
    // temp MIDI events for processing
    MidiEvent tempEvent;
    int8 ch;

    void processBlock(BlockData& data)
    {
     for(uint i=0;i<data.inputMidiEvents.length;i++) {

      ch=1;
      MidiEventType type=MidiEventUtils::getType(data.inputMidiEvents[i]);
      tempEvent=data.inputMidiEvents[i];
      
      if(type==kMidiControlChange) {
       data.outputMidiEvents.push(tempEvent);
       int8 cc=MidiEventUtils::getCCNumber(data.inputMidiEvents[i]);
       int8 cv=MidiEventUtils::getCCValue(data.inputMidiEvents[i]);
       if (cc == 64)
        ch = 2;
       MidiEventUtils::setCCValue(tempEvent,cv);
      }
            MidiEventUtils::setChannel(tempEvent,ch);
      data.outputMidiEvents.push(tempEvent);
     }
    }


    rogeriodec.com.br


    * Cakewalk By Bandlabs (always lastest versions), Window 10 x64
    * Focusrite Scarlett Solo Audio Interface
    * Intel i7-4790K CPU @ 4.00 GHz / ASROCK EXTREME 4 Z97 Mobo
    * 2 SSD Samsung Evo 250 Gb (RAID-0) + 1 Western Digital 2 Tb + 1 Seagate 1 Tb
    * Onboard video / 16 Gb RAM HyperX Fury 1600 Mhz
    * 3 LCD Monitors
    * Axiom 61 MIDI Controller, Tapco S5 Active Studio Monitors
    #2
    Jump to:
    © 2025 APG vNext Commercial Version 5.1