2014/04/28 09:43:09
wizard71
Is there any way of automatically limiting this within sonar so i could for instance not exceed a value of 90 instead of the 0-127 range that is the norm?.
 
Bibs
2014/04/28 10:10:36
brundlefly
You can't limit what gets recorded, but you might be able to use a MIDI FX to scale the recorded values on echo/playback. And if it's only about only about playback, it's fairly easy to use Find/Replace to scale them after the fact as well.
2014/04/28 13:54:05
Anderton
Not totally clear from the question what you want, but if you want to limit MIDI data in the same way an audio limiter limits audio, here's how.
 
For example, suppose you want to limit the values to 90.
 
1. Do the following math: (127/maximum value you want) X 100. So (127/90) x 100 = 141.
2. Use Scale Velocity to multiply your data by 141 per cent. Check "percentages" and enter 141 for beginning and end.
3. Now calculate the inverse, (maximum value you want/127) x 100. So (90/127) = 71.4. Use Scale Velocity to multiple your data by 71 per cent.
 
Now anything that was more than 90 will be limited to 90, and anything that was under 90 will maintain its original value.
2014/04/28 14:25:45
scook
It should be possible routing the input MIDI signal through MIDICurve and use a virtual MIDI cable (LoopBe1 or loopMIDI) to the synth MIDI track.
2014/04/28 15:00:51
robert_e_bone
Well, I went ahead and wrote (and tested) a CAL script for you, to allow you to enter in a value for the maximum allowable mod wheel level.
 
Any events in that track that are found to be greater than that maximum allowable level are then set to become that maximum allowable level.
 
So, if you run the script for a given track, it will ask you to enter Mod Wheel Maximum Level, and you enter 99 and hit Enter, it will change any mod wheel values for that track that are greater than 99 to BE 99.
 
If this is what you are looking to do, please send me a PM and I will send you the script.
 
Oh - that was a lovely math exercise, Craig.  :)
 
(sorry, couldn't resist poking some fun - it's actually amazing you thought of that approach)
Bob Bone
 
2014/04/28 17:22:53
wizard71
Wow thats amazing guys, thanks for giving such in depth answers. My reason was that I use LA scoring strings which generally sounds the most realistic between 0-75 on CC1 and as i generally draw in the data post recording i thought it would be easier if i could use the whole depth of the CC window but actually limit the CC max so the top of the window would be around that mark as my eyes find it hard to read the numbers easily on the screen.
 
 
If i could find some way of using the full travel of the mod wheel with this limited range whilst actually recording i would be very happy indeed.
 
The next best thing seems to be the CAL script (that ive never used). The Math part fried my brain :) 
 
Bibs
2014/04/28 18:11:02
Anderton
wizard71
The Math part fried my brain :) 


Well in that case...I have good news and bad news. The good news is that it's possible to compress MIDI exactly as you want, so that a range can be compressed into a smaller range. This works just like audio compression, but with MIDI data. The bad news is that if the limiter math fried your brain, the math for the compression will burn it to a crisp.
2014/04/28 18:16:19
jatoth
bibs, can your controller be set to limit the range? I don't know the Kawai but on my Kurz I can set it.
 
2014/04/28 18:35:40
wizard71
Anderton
wizard71
The Math part fried my brain :) 


Well in that case...I have good news and bad news. The good news is that it's possible to compress MIDI exactly as you want, so that a range can be compressed into a smaller range. This works just like audio compression, but with MIDI data. The bad news is that if the limiter math fried your brain, the math for the compression will burn it to a crisp.



I've been scared of numbers ever since i opened a joint bank account with my wife :)
 
Would be interested to hear the Math, so feel free to post, it would be appreciated
 
Jatoth, good idea, i did search the menus but coulnt see anything, will check the manual. Cheers
2014/04/28 18:41:04
scook
There is a CAL compressor/limiter script included with SONAR called "C-MPLIMT.CAL" for velocity. For scaling control data there is "C-NTROLR,CAL".
12
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account