User Forum :: Powered by YaBB
« MIDI-OX User Forum - Limiting MIDI CC range? »
Welcome, Guest. Please Login or Register.
Aug 8th, 2022, 1:02am


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Questions and Discussion
(Moderator: Jamie OConnell)
   Limiting MIDI CC range?
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Limiting MIDI CC range?  (Read 1999 times)
vsthem
New Member
*



MIDI-OX Rules!

   


Posts: 3
Limiting MIDI CC range?
« on: Jan 4th, 2022, 4:03pm »
Quote Quote Modify Modify

Hi all. Is there any way to set a limit on MIDI CC Mesages that get passed through on a particular CC? I have CC10 controlling the level of a microphone, and if it goes all the way up, it can potentially create deafening feedback. My kid is in my studio sometimes, so trying to find a way to prevent this.  Thanks all!
IP Logged
Breath
Administrator
*****





   
WWW

Gender: male
Posts: 925
Re: Limiting MIDI CC range?
« Reply #1 on: Jan 4th, 2022, 5:38pm »
Quote Quote Modify Modify

You can use the menu Options / Data Mapping
If there are lines there press the 'Clear' button.
Press 'Insert' and a new dialog will appear.
 
Input
Select the needed Midi channel, the Event is 'Ctrl', The Ctrl# Min and Max are 10, Amount Min should be the upper volume limit and Max should be 127
Output
Channel = Match channel, Event = Discard
All the CC10 messages on and above your volume limit will be discarded.
Press OK button
 
To test, click Turn Map On and press OK.
 
The Map affects all connections you have in the Midi Port Router window, so try it out, go back to the Data Mapping and adjust the upper limit till it is correct.
 
When it is OK, go back to the Data Mapping and save the Map as 'CC10Limit.oxm' in the ../Program Files(86)/MIDIOX/Map directory.
Stop the global filter by deselecting  'Turn Map On' and press OK.
 
Looking at the Midi Port Routing window, click on the box in the middle of the link from your CC 10 controller to your microphone.
In the middle right there is a drop down box. You should see CC10Limit.oxm so select it.
Now CC10Limit.oxm is only applied to this connected route.
 
To add extra filters or data maps just add extra lines to CC10Limit.oxm data map.
 
I hope that helps
Royce
IP Logged
vsthem
New Member
*



MIDI-OX Rules!

   


Posts: 3
Re: Limiting MIDI CC range?
« Reply #2 on: Jan 5th, 2022, 12:24am »
Quote Quote Modify Modify

Amazing! Thank you so much. My favorite part about the internet might be that I can ask very niche questions and when I'm lucky I get a detailed response like this. Thank you!
 
Two questions if you still have a moment:  
 
I don't have any other devices running through MIDI OX. I use it to split one MIDI controller to two different audio programs (digital mixer software and a DAW). Does this mean that I can skip all the final 4 instructions? It seems to be working great!
 
Also, curious why I put the maximum volume I'd like it to go to in the "Min" field. I MIGHT have been able to figure this out on my own with enough time and trial and error, but I would have gotten REALLY stuck here, thinking that I'd put 0 as the minimum, and 90 as the Maximum (90 is what I went with).
 
Thanks again!
« Last Edit: Jan 5th, 2022, 12:25am by vsthem » IP Logged
Breath
Administrator
*****





   
WWW

Gender: male
Posts: 925
Re: Limiting MIDI CC range?
« Reply #3 on: Jan 5th, 2022, 7:18pm »
Quote Quote Modify Modify

Sure. You can use it in global mode as MidiOx will remember all your settings.  
The trouble, for me, with that is I often don't remember and I load up MidiOx to solve a problem and then wonder why I don't get any high values for CC10.
 
I also wanted to show you how you can have different filters for different paths, which I find useful.
I would still save your filter file (oxm) for future expansion of your setup. Creativity never sleeps.    8 )
 
About the Min field...
All CC10 values are already being passed.  
What do you want to change?
You want to stop ONLY the high values going through to prevent excess volume.
So min=90 and max =127 in the bin.
(-1 means "any value" so that would be confusing for you when you read "Max =-1" in a month or so - MidiOx is OK with it though)
 
 
MidiOx can do a whole lot of stuff or just one thing.  
 
Enjoy
Royce
« Last Edit: Jan 5th, 2022, 7:29pm by Breath » IP Logged
vsthem
New Member
*



MIDI-OX Rules!

   


Posts: 3
Re: Limiting MIDI CC range?
« Reply #4 on: Jan 6th, 2022, 6:03pm »
Quote Quote Modify Modify

Thanks for the detailed and clear response, 2nd one on this thread! That makes a lot of sense, and hopefully now, I can figure out future things I'd like to do without needing to post here.
 
I keep my CCs pretty isolated. CC10 controls my mic volume and nothing else, as I can transform CC messages inside Reaper if I need to (Change CC10 to unassigned CC15 for instance). So I don't think I need to worry about that.
 
Thanks again!
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB 2000-2003. All Rights Reserved.