Michael Maine Posted February 4 Share Posted February 4 Hi, I need help using IK Hammond B-3X with my Viscount Legend Live organ as a MIDI controller. Unfortunately, the software is poorly set up for controllers besides Hammond models. It doesn't have allowances for CC's coming in on different channels, and seems to be listening on ALL channels to the CC's. I need to filter certains CC's and remap them to other CC's on channel 1. Ideally if there is a solution to this (scripter?) that I can use in both Logic and Mainstage, that would be ideal! I need to filter out Channel 2 and 3 from reaching B-3X, while remapping the following: Channel 2: CC's 12-20 need to be remapped to channel 1, CC's 21-29 95 to 95 Channel 3: CC's 12 and 13 remapped to Chan 1 CC's 33 and 35 Possibly some other things... but this would give me a functional organ controller. Thank you in advance for any help! Quote Link to comment Share on other sites More sharing options...
Solution Jordi Torres Posted February 5 Solution Share Posted February 5 Hi Michael, On 2/4/2023 at 4:14 AM, Michael Maine said: I need to filter out Channel 2 and 3 from reaching B-3X, while remapping the following: Channel 2: CC's 12-20 need to be remapped to channel 1, CC's 21-29 95 to 95 Channel 3: CC's 12 and 13 remapped to Chan 1 CC's 33 and 35 Here's a script for Scripter that does that: const ccMap = { 2: { 12: 21, 13: 22, 14: 23, 15: 24, 16: 25, 17: 26, 18: 27, 19: 28, 20: 29, 95: 95, }, 3: { 12: 33, 13: 35, }, }; function HandleMIDI(e) { if (e instanceof ControlChange && (e.channel === 2 || e.channel === 3)) { if (Object.keys(ccMap[e.channel]).includes(String(e.number))) { e.number = ccMap[e.channel][e.number]; e.channel = 1; e.send(); } } else { e.send(); } } J. 2 Quote Link to comment Share on other sites More sharing options...
Michael Maine Posted February 5 Author Share Posted February 5 (edited) Thanks so much! For some reason, that didn't achieve what I wanted it to with drawbar control. But I did figure out how to get the remapping to work in Bome MIDI Translator Pro. Ok, so second half of your script for blocking, plus BOME worked, thanks! Edited February 5 by Michael Maine Quote Link to comment Share on other sites More sharing options...
Jordi Torres Posted February 5 Share Posted February 5 3 minutes ago, Michael Maine said: Thanks so much! No problem! 4 minutes ago, Michael Maine said: For some reason, that didn't achieve what I wanted it to Hmm, either I misinterpreted what you wrote or you did not properly explain what you actually where looking to achieve? But since you found your own solution with Bome MIDI translator then that's Ok. 8 minutes ago, Michael Maine said: OK, so with Mainstage the problem is I need to block one of my MIDI inputs, because it automatically sends all unassigned MIDI data to all channels. If I turn it off, then I have to manually remap every CC inside Mainstage, which I don't want to do... Is there a scripter way to block "UM-ONE" hardware input? I could also ask in Mainstage forum if this that is more appropriate. No, Scripter cannot do that but MidiPipe can with its MIDI Input "hijack" option: Hope that helps, J. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.