Question about "compressing" MIDI notes using a drum map

Author
jaunderw
Max Output Level: -90 dBFS
  • Total Posts : 3
  • Joined: 2010/08/22 22:44:46
  • Status: offline
2013/03/06 19:46:35 (permalink)

Question about "compressing" MIDI notes using a drum map

I am using Sonar X1 PE with a Simmons SD Xpress v-drum connected to my DAW via USB MIDI. The drum pads on the SD Xpress are low quality, with each pad having a hot spot in the center. That is, if you hit dead center on the pad, you get a MIDI note with decent velocity, but if you hit the pad slightly off center, then there is a significant drop-off in the MIDI note velocity. The problem gets worse as you hit closer to the edge of a pad.
 
What I would like to do is use a drum map to "compress" the velocities of the MIDI notes so that there isn't a huge dynamic range between the hot spot and the edge of the drum pad, and then boost the "gain" of the compressed notes.
 
The Sonar documentation seems to indicate that I can do this using the V Scale parameter to compress the MIDI Note velocities and the Vel+ parameter to add a velocity offset to boost the velocities. What is says is:
"The V Scale value sets a level of compression or expansion. A value below 100% is compression. A value above 100% is expansion. The Vel+ setting allows for gain make-up."
However, after attempting to compress and then boost the velocity values, it appears to me that Sonar is boosting the velocities first and then compressing them. Does anyone know in which order the processing actually happens? That is, which of the following is the correct processing sequence that Sonar uses:
  • input -> V+ -> V Scale -> output
  • input -> V Scale -> V+ -> output
 
Any insight on this issue would be greatly appreciated.
 
Regards,
jaunderw
post edited by jaunderw - 2013/03/06 20:31:50

Toshiba Satellite A665
8GB RAM (two 4GB Kingston DIMMs)
Intel Core i7 Q720 @ 1.6 GHZ
Windows 7 home Premium 64-bit
SONAR X1 Producer - build 184
M-Audio ProFire 2626
 - Firmware: 1.0.10
 - Software: 5.10.0.5082 1.0.8.1
M-Audio USB Oxygen 49 MIDI keyboard/controller
Simmons SD Xpress USB MIDI Drums
#1

5 Replies Related Threads

    Bristol_Jonesey
    Max Output Level: 0 dBFS
    • Total Posts : 16775
    • Joined: 2007/10/08 15:41:17
    • Location: Bristol, UK
    • Status: offline
    Re:Question about "compressing" MIDI notes using a drum map 2013/03/07 03:41:34 (permalink)
    You might want to consider just going with what you've recorded, bounce to audio & compress the audio

    Though something at the back of my mind says there's a CAL script for this somewhere (Midi compression)

    I'm not at my DAW so I can't help any further

    CbB, Platinum, 64 bit throughout
    Custom built i7 3930, 32Gb RAM, 2 x 1Tb Internal HDD, 1 x 1TB system SSD (Win 7), 1 x 500Gb system SSD (Win 10), 2 x 1Tb External HDD's, Dual boot Win 7 & Win 10 64 Bit, Saffire Pro 26, ISA One, Adam P11A,
    #2
    Kalle Rantaaho
    Max Output Level: -5 dBFS
    • Total Posts : 7005
    • Joined: 2006/01/09 13:07:59
    • Location: Finland
    • Status: offline
    Re:Question about "compressing" MIDI notes using a drum map 2013/03/07 04:04:09 (permalink)
    I recommend doing that in the audio form as well.
    Changing the MIDI velocity often changes also the sample that is triggered, which means the whole sound/feel of the drum track changes. Velocity manipulation is not the way to adjust volume/dynamics when you're using samples.

    SONAR PE 8.5.3, Asus P5B, 2,4 Ghz Dual Core, 4 Gb RAM, GF 7300, EMU 1820, Bluetube Pre  -  Kontakt4, Ozone, Addictive Drums, PSP Mixpack2, Melda Creative Pack, Melodyne Plugin etc.
    The benefit of being a middle aged amateur is the low number of years of frustration ahead of you.
    #3
    John
    Forum Host
    • Total Posts : 30467
    • Joined: 2003/11/06 11:53:17
    • Status: offline
    Re:Question about "compressing" MIDI notes using a drum map 2013/03/07 05:26:26 (permalink)
    This a great use for the CA2A. 

    Best
    John
    #4
    Dan Cate [Cakewalk]
    Administrator
    • Total Posts : 1277
    • Joined: 2009/02/06 11:49:11
    • Status: offline
    Re:Question about "compressing" MIDI notes using a drum map 2013/03/07 10:48:27 (permalink)
    Hi jaunderw,

    You could do the audio compression thing, but I think you may want the velocity option as the sample playing back is velocity switching. I think what you might want is the Velocity plugin on your source MIDI track. There is an option to limit the velocity's threshold and input to get the consistent velocity you need (for example 64-127).

    To do this, patch in the Velocity plugin to the MIDi track. Enable the Limit button and move the bottom part of the slider up to scale the input velocities to convert any input velocity below 64 to 64, keeping the ranges for anything above 64. When you're done and you're happy with the results, select the clip and go to Process - Apply Effect - MIDI effect. 

    This is ultimately more convenient than editing drum map velocity scaling and will let you do this task even without MIDI drum maps. 

    Hope this helps!
    Daniel [Cakewalk]


    Thanks!
    Daniel Cate [Cakewalk]  
    #5
    jaunderw
    Max Output Level: -90 dBFS
    • Total Posts : 3
    • Joined: 2010/08/22 22:44:46
    • Status: offline
    Re:Question about "compressing" MIDI notes using a drum map 2013/03/07 15:06:54 (permalink)
    Thank you very much Dan, the Velocity plug-in just might be the thing I am looking for.  I will give it a try.
     
    However, even though editing the drum map is a pain, it does give me the flexibility of independently compressing and boosting each drum pad velocity.  That is really cool, but if the Velocity plug-in can do somthing comparable then that would definitely be the way to go.
     
    Regards,
    jaunderw

    Toshiba Satellite A665
    8GB RAM (two 4GB Kingston DIMMs)
    Intel Core i7 Q720 @ 1.6 GHZ
    Windows 7 home Premium 64-bit
    SONAR X1 Producer - build 184
    M-Audio ProFire 2626
     - Firmware: 1.0.10
     - Software: 5.10.0.5082 1.0.8.1
    M-Audio USB Oxygen 49 MIDI keyboard/controller
    Simmons SD Xpress USB MIDI Drums
    #6
    Jump to:
    © 2025 APG vNext Commercial Version 5.1