Helpful Reply[Answered] How to quantize velocity

Author
jkoseattle
Max Output Level: -79 dBFS
  • Total Posts : 556
  • Joined: 2004/10/21 16:29:48
  • Status: offline
2014/05/25 16:25:28 (permalink)

[Answered] How to quantize velocity

I often have a midi recording where the velocity is all over the map. AFAIK, my only options are to increase/decrease absolute velocity values as a group with the edit tool or the velocity dialog. or else drag over them from the velocity pane in PRV. I end up spending huge amounts of time editing velocities note by note, by seeking out the outliers and editing them one by one. Ugh!
 
But what I want is to leave some of the velocity variance in there, just way less than I played. How can I quantize velocity the same way I quantize midi start times and durations? I want to be able to "compress" the velocities so there is less variance. Then I can change the absolute velocities using one of the methods I already know. Is this possible?

Sonar Version: Platinum  
Audio Interface: M-Audio Delta
Computer: Dell i5 3.1 GHz, 12Gb RAM, Windows 10 64-bit
Soft Synths: EastWest PLAY Symphonic Orchestra
MIDI Controllers: M-Audio 2x2 MidiSport Anniv Edition
Settings: 16-Bit, Sample Rate 44.1k, ASIO Buffer Size 128-1024, Record/Playback I/O Buffers play:256k, rec: 64k, Total Round Trip Latency 48 ms  
Check out my work here
#1
Paul P
Max Output Level: -48.5 dBFS
  • Total Posts : 2685
  • Joined: 2012/12/08 17:15:47
  • Location: Montreal
  • Status: offline
Re: How to quantize velocity 2014/05/25 16:31:28 (permalink)
 
Sounds like a situation for a little CAL program.  Shouldn't be hard to throw together, but I'm not in a position yet to tell you how as that sort of thing is still on my to-do list.
 
 

Sonar Platinum [2017.10], Win7U x64 sp1, Xeon E5-1620 3.6 GHz, Asus P9X79WS, 16 GB ECC, 128gb SSD, HD7950, Mackie Blackjack
#2
Beepster
Max Output Level: 0 dBFS
  • Total Posts : 18001
  • Joined: 2012/05/11 19:11:24
  • Status: offline
Re: How to quantize velocity 2014/05/25 16:43:50 (permalink)
Ignore the following... I didn't read the last part about keeping some of the nuances but I'll leave it up in case someone else finds it useful. What I would do is set a minimum and maximum velocity threshold on the MIDI track so the incoming notes remain within that range. I believe this can be done in the Track Inspector. I don't know how you would do it after recording. Sorry.
 
My initial post:
 
I'm pretty sure you can just select all the notes you want to change then use the that MIDI Event Module thingie (add it to the Control Bar) to change them all at once.
 
So lasso all the notes or do a range select or whatever, then the Event Inspector (I forget its exact name but I think that's it) dialogs will all clear (because it is dealing with multiple notes) and you just need to type in the velocity you want the notes to be and they'll change.
 
Scott Garrigus has a video about this up over at Digifreq that shows how to do this. I can try to dig it up if you need.
#3
paulo
Max Output Level: -13 dBFS
  • Total Posts : 6218
  • Joined: 2007/01/30 05:06:57
  • Status: offline
Re: How to quantize velocity 2014/05/25 16:51:18 (permalink)
I just draw them in PRV with the draw tool.
#4
finalymetten
Max Output Level: -90 dBFS
  • Total Posts : 41
  • Joined: 2014/04/21 11:45:27
  • Location: Hannover, Germany
  • Status: offline
Re: How to quantize velocity 2014/05/25 16:52:32 (permalink) ☄ Helpfulby g_randybrown 2014/05/25 18:57:18
Have you tried the MIDI FX "Velocity MIDI FX"? There you change the velocity in different ways. Set limits or scale the velocity. And by inserting it in the effects bin you can set it in real time to control the effect.
#5
Soft Enerji
Max Output Level: -86 dBFS
  • Total Posts : 203
  • Joined: 2010/11/25 16:21:26
  • Location: Lismore, Northern Rivers, NSW, Australia
  • Status: offline
Re: How to quantize velocity 2014/05/25 18:17:23 (permalink)
Interesting thread. It's not something I've tried to do yet in Sonar but I know it's easily achievable in Reason so I'd be surprised if it can't be done in Sonar.  

i7-3820 3.6Ghz Processor. 32Gb DDR3 RAM. GTX660 Graphics Card. M-Audio Fast Track Pro.
Soft Enerji Soundcloud
Soft Enerji Bandcamp
 
#6
rbowser
Max Output Level: -10 dBFS
  • Total Posts : 6518
  • Joined: 2005/07/31 14:32:34
  • Status: offline
Re: How to quantize velocity 2014/05/25 20:10:34 (permalink)
finalymetten
Have you tried the MIDI FX "Velocity MIDI FX"? There you change the velocity in different ways. Set limits or scale the velocity. And by inserting it in the effects bin you can set it in real time to control the effect.


+1 - all except the FX bin.  I would suggest you make your selection, maybe an entire track, and run the plugin so you have your track permanently the way you want it.  It's limiting the range of velocities that you're wanting to do.
 
Randy

Sonar X3e Studio
Roland A-800 MIDI keyboard controller
Alesis i|O2 interface
Gigabyte Technology-AMD Phenom II @ 3 GHz
8 Gb RAM 6 Core Windows 7 Home Premium x64
with dual monitors
#7
Anderton
Max Output Level: 0 dBFS
  • Total Posts : 14070
  • Joined: 2003/11/06 14:02:03
  • Status: offline
Re: How to quantize velocity 2014/05/25 21:02:52 (permalink)
You can compress MIDI data using the same concepts as analog compression. I believe there are also CAL scripts to do this.
 
1. Use Velocity Scale or the MIDI Velocity plug-in and multiply the notes by a percentage that correlates to the amount you want to compress. For example for 2:1 compression, multiply by 50%. For 3:1 compression, multiply by 33%.
2. This is like applying a compression ratio, but now you need "makeup gain." Use the MIDI Velocity plug-in's Change function to add a positive number.
 
Here's a practical example. Suppose the original maximum velocity value was 120 and the minimum was 40 (a spread of 80). When you scale these by 50%, the maximum becomes 60 and the minimum, 20. If you add 40 to these values, the maximum will now be 100 and the minimum will be 60. This is a spread of 40 - yup, 2:1 compression   If you add 20, then you'll still have 2:1 compression as the max will be 80 and the min will be 40 - again, a spread of 40 compared to the original 80.
 
The highest notes are lower and the lowest notes are higher, thus evening out the dynamic range.

The first 3 books in "The Musician's Guide to Home Recording" series are available from Hal Leonard and http://www.reverb.com. Listen to my music on http://www.YouTube.com/thecraiganderton, and visit http://www.craiganderton.com. Thanks!
#8
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re: How to quantize velocity 2014/05/26 11:16:08 (permalink)
Process > Find/Change. Enter the original range, and then the target range.  The trick is to know the high and low velocity of the existing range. There are HiVel and LoVel CALs that will give you this. If you guess the starting range, or use 0-127 you may end up moving the mean velocity in a way you don't intend.

SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
#9
Anderton
Max Output Level: 0 dBFS
  • Total Posts : 14070
  • Joined: 2003/11/06 14:02:03
  • Status: offline
Re: How to quantize velocity 2014/05/26 12:59:38 (permalink)
brundlefly
The trick is to know the high and low velocity of the existing range.



For short passages the event list might do the job.

The first 3 books in "The Musician's Guide to Home Recording" series are available from Hal Leonard and http://www.reverb.com. Listen to my music on http://www.YouTube.com/thecraiganderton, and visit http://www.craiganderton.com. Thanks!
#10
jkoseattle
Max Output Level: -79 dBFS
  • Total Posts : 556
  • Joined: 2004/10/21 16:29:48
  • Status: offline
Re: How to quantize velocity 2014/05/26 23:58:28 (permalink)
Well what'd'ye know, I never really looked at that Midi Process Effects Menu. You know what -- there's all kind of stuff in there. Mostly stuff I don't need, but the MIDI Velocity tool is cool. The first person who mentioned it could have just said "There's a MIDI velocity tool, do you know about that?"
 
Thank you again!!!

Sonar Version: Platinum  
Audio Interface: M-Audio Delta
Computer: Dell i5 3.1 GHz, 12Gb RAM, Windows 10 64-bit
Soft Synths: EastWest PLAY Symphonic Orchestra
MIDI Controllers: M-Audio 2x2 MidiSport Anniv Edition
Settings: 16-Bit, Sample Rate 44.1k, ASIO Buffer Size 128-1024, Record/Playback I/O Buffers play:256k, rec: 64k, Total Round Trip Latency 48 ms  
Check out my work here
#11
Anderton
Max Output Level: 0 dBFS
  • Total Posts : 14070
  • Joined: 2003/11/06 14:02:03
  • Status: offline
Re: How to quantize velocity 2014/05/27 01:32:31 (permalink)
jkoseattle
The first person who mentioned it could have just said "There's a MIDI velocity tool, do you know about that?"



Well, you did ask how to "compress" it...now you know how to do that, too.

The first 3 books in "The Musician's Guide to Home Recording" series are available from Hal Leonard and http://www.reverb.com. Listen to my music on http://www.YouTube.com/thecraiganderton, and visit http://www.craiganderton.com. Thanks!
#12
Jump to:
© 2025 APG vNext Commercial Version 5.1