Previous Thread
Index
Next Thread
Print Thread
Go To
#354590 06/21/16 01:43 AM
Recording, Mixing, Performance and Production
Joined: Jun 2012
Posts: 18,369
Veteran
OP Offline
Veteran
Joined: Jun 2012
Posts: 18,369
Can anybody recommend a good MIDI Compressor plugin, something that can intelligently handle MIDI Velocity (with threshold, ratio and gain)?

I occasionally have a requirement for one that I would like to use with Sonar. Cakewalk have one called velocity, but it's fairly rudimentary, and I find it somewhat unintuitive in terms of knowing what it's actually doing.

There must be something out there that works for MIDI?

Ideas?



BIAB & RB2024 Win.(Audiophile), Sonar Platinum, Cakewalk by Bandlab, Izotope Prod.Bundle, Roland RD-1000, Synthogy Ivory, Kontakt, Focusrite 18i20, KetronSD2, NS40M Monitors, Pioneer Active Monitors, AKG K271 Studio H'phones
Recording, Mixing, Performance and Production
Joined: Jul 2000
Posts: 25,871
Veteran
Offline
Veteran
Joined: Jul 2000
Posts: 25,871
I wonder if there is a CAL script for this, given that you are using SONAR. Perhaps post there, too?


BIAB 2024 Win Audiophile. Software: Studio One 6.5 Pro, Swam horns, Acoustica-7, Notion 6; Win 11 Home. Hardware: Intel i9, 32 Gb; Roland Integra-7, Presonus Studio 192, Presonus Faderport 8, Royer 121, Adam Sub8 & Neumann 120 monitors
Recording, Mixing, Performance and Production
Joined: Apr 2009
Posts: 9,326
Veteran
Offline
Veteran
Joined: Apr 2009
Posts: 9,326
Midi is data. While it is possible to compress data, it's not the same as compressing audio. Data compression is done all the time but not in relation to midi. AFAIK.

I would venture to say that you're not going to compress the Midi.... if you're wanting to play with the velocity of the midi notes, there might be a way to do that that's easier....

I found this : http://www.harmonycentral.com/forum/forum/Keyboards/acapella-18/363476-

Compression, however, I believe you will find, is reserved to the audio portion of music. You might find tools to assist with velocity levels but that's not the same as true compression. I used to work a lot in midi and yes, it was a real pain to tweek the velocity of the notes.... so I can feel your pain.

I would think it would be easier to use a velocity "touch" sensitive keyboard and let it read the velocity of the played notes...assuming that's how you enter the notes. One of my keyboards is velocity sensitive and that's a really cool way to enter the notes and include the touch sensitivity in the data from the start.


You can find my music at:
www.herbhartley.com
Add nothing that adds nothing to the music.
You can make excuses or you can make progress but not both.

The magic you are looking for is in the work you are avoiding.
Recording, Mixing, Performance and Production
Joined: Jun 2012
Posts: 18,369
Veteran
OP Offline
Veteran
Joined: Jun 2012
Posts: 18,369
Originally Posted By: Guitarhacker
I would think it would be easier to use a velocity "touch" sensitive keyboard and let it read the velocity of the played notes...

Thanks Herb
That's actually how this whole mess started. An 'over ambitious' player using a velocity sensitive keyboard. The dynamics of the performance are wide ranging, too wide ranging to get a good balanced mix over the entire performance.


BIAB & RB2024 Win.(Audiophile), Sonar Platinum, Cakewalk by Bandlab, Izotope Prod.Bundle, Roland RD-1000, Synthogy Ivory, Kontakt, Focusrite 18i20, KetronSD2, NS40M Monitors, Pioneer Active Monitors, AKG K271 Studio H'phones
Recording, Mixing, Performance and Production
Joined: Dec 2003
Posts: 20,821
Veteran
Offline
Veteran
Joined: Dec 2003
Posts: 20,821
Like Herb said there is no such a thing as a MIDI compressor. What exactly are you trying to do?

If you are trying to raise or lower all or some of the notes the velocity tab on the track page will help. You can raise or lower velocities by an absolute amount or by a percentage. You can also use find/replace to select only the notes that you want to change and then change them.

Another option is to right click on the MIDI clip, select MIDI effects then velocity. There you will find a number of tools to help set velocity levels including one that you can set an absolute level then randomize it by a given amount.

Your last option would be to bounce the track to audio then you can use compression, limiting and any other audio effect.

Good luck.

[edit] typo

Last edited by MarioD; 06/21/16 03:17 AM.

I want my last spoken words to be "I hid a million dollars under the........................"

64 bit Win 10 Pro, the latest BiaB/RB, Roland Octa-Capture audio interface, a ton of software/hardware
Recording, Mixing, Performance and Production
Joined: Jun 2012
Posts: 18,369
Veteran
OP Offline
Veteran
Joined: Jun 2012
Posts: 18,369
Thanks Mario

I thought it would be simple to have an algorithm that works similar to the way an Audio Compressor works. The algorithm has thresholds and applies intelligent dynamic adjustment to values based on the note velocity information.

I don't want to adjust them by a 'fixed' percentage, but by dynamically controlling their velocity based on their range/distance 'outside' from an upper (or lower) threshold.

It's not impossible (at least for me) to draw a parallel between MIDI "Note Velocity" information and "Audio Loudness". Surely if one can apply a compressor to control dynamics to Audio, a similar concept could be used to control the dynamics of MIDI velocity data - of course using a tool designed for MIDI Data, not Audio.

Thanks for your input and ideas. Yes, I could go to Audio and then compress that, but I like the idea of maintaining the flexibility that MIDI still gives me in this case.

Trev


BIAB & RB2024 Win.(Audiophile), Sonar Platinum, Cakewalk by Bandlab, Izotope Prod.Bundle, Roland RD-1000, Synthogy Ivory, Kontakt, Focusrite 18i20, KetronSD2, NS40M Monitors, Pioneer Active Monitors, AKG K271 Studio H'phones
Recording, Mixing, Performance and Production
Joined: Jul 2000
Posts: 25,871
Veteran
Offline
Veteran
Joined: Jul 2000
Posts: 25,871
Have you ever worked with CAL scripts? This may already exist. I've seen scripts for far stranger things.


BIAB 2024 Win Audiophile. Software: Studio One 6.5 Pro, Swam horns, Acoustica-7, Notion 6; Win 11 Home. Hardware: Intel i9, 32 Gb; Roland Integra-7, Presonus Studio 192, Presonus Faderport 8, Royer 121, Adam Sub8 & Neumann 120 monitors
Recording, Mixing, Performance and Production
Joined: Dec 2003
Posts: 20,821
Veteran
Offline
Veteran
Joined: Dec 2003
Posts: 20,821
Originally Posted By: VideoTrack
Thanks Mario

I thought it would be simple to have an algorithm that works similar to the way an Audio Compressor works. The algorithm has thresholds and applies intelligent dynamic adjustment to values based on the note velocity information.

I don't want to adjust them by a 'fixed' percentage, but by dynamically controlling their velocity based on their range/distance 'outside' from an upper (or lower) threshold.

..... but I like the idea of maintaining the flexibility that MIDI still gives me in this case.

Trev


You can do that in find/replace. Find the ranges that you want to change, lets say 6-120 velocity. Input these ranges on the first page then on the second page select the ranges that you want, say 25-85. Find/change will then replace all of the velocities accordingly. That is a 120 will be 85, a 6 will be 25 with the other place in between according to how far out of the limits they are. Those velocities outside in the limits will not change, note there are two in the after pictures, so you have to carefully pick your initial limits.

good luck.

Ps - I will check on a cal later today time permitting.

[img]https://www.dropbox.com/s/agpjnx2x4wkw3d5/Initial.JPG?dl=0[/img]

[img]https://www.dropbox.com/s/fktm4z0qh8dtaji/Page%201.JPG?dl=0[/img]

[img]https://www.dropbox.com/s/iydzznv57g24agh/Page%202.JPG?dl=0[/img]

[img]https://www.dropbox.com/s/8d7q8smu9krpvdu/after.JPG?dl=0[/img]


I want my last spoken words to be "I hid a million dollars under the........................"

64 bit Win 10 Pro, the latest BiaB/RB, Roland Octa-Capture audio interface, a ton of software/hardware
Recording, Mixing, Performance and Production
Joined: Jun 2000
Posts: 2,475
Veteran
Offline
Veteran
Joined: Jun 2000
Posts: 2,475
I have a Sonar "compressor" .cal from Garry Simmons (Apr 93) that does essentially what you want - BETWEEN the strings of the "%%%%%%%%%"

C&P into a text editor and save as name.CAL


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



; This CAL script works like a compressor/gate.
;
; Garry Simmons, April 1993
; simmons@ittc.wec.com
;
; This script performs the following three functions:
;
; 1) Notes with velocities BELOW the gate threshold are DELETED.
;
; 2) Notes with velocities BELOW the low threshold are INCREASED
; a percentage of their distance from the low threshold.
;
; 3) Notes with velocities ABOVE the high threshold are DECREASED
; a percentage of their distance from the high threshold.
;
; Application Notes:
;
; A compression perctange of 0% does nothing. A compression percentage
; of 100% sets the Note Velocity to the threshold.
;
; The gate is disabled by setting the gate threshold to zero.
;
; The velocity increase is disabled by setting the low threshold to zero.
;
; The velocity decrease is disabled by setting the high threshold to 127.
;
; The unaffected "deadband" between the high and low thresholds is
; eliminated by setting both the high and low thresholds to the same value.
; This causes all non-gated note events to be either increased or decreased
; toward the threshold value.
;

; prolog
(do
(int GT 0) ;Gate Threshold
(int LT 60) ;Low Threshold
(int HT 100) ;High Threshold
(int PCT 50) ;Compression Percentage
(int DV 0) ;Delta Velocity
(int Add) ;Amount to Add
(int Sub) ;Amount to Subtract

(getInt GT "Gate Velocity:" 0 127)
(getInt LT "Low Threshold:" 0 127)
(getInt HT "High Threshold:" 0 127)
(getInt PCT "Compression(%):" 0 100)
)

; body
(if (== Event.Kind NOTE)
(do
(if (< Note.Vel GT)
(delete)
(if (< Note.Vel LT)
(do
(= DV (- LT Note.Vel))
(= Add (* DV PCT))
(= Add (/ Add 100))
(= Note.Vel (+ Note.Vel Add))
)
(if (> Note.Vel HT)
(do
(= DV (- Note.Vel HT))
(= Sub (* DV PCT))
(= Sub (/ Sub 100))
(= Note.Vel (- Note.Vel Sub))
)
NIL
)
)
)
)
NIL
)

; epilog ;
NIL


%%%%%%%%%%%%%%%%%%%%%%

Larry


Win10Pro,i9,64GB,2TBSSD+20TBHDDs,1080TI,BIAB'24,Scarlett18i8,Montage7,Fusion 8HD,QS8,Integra7,XV5080,QSR,SC-8850,SPLAT,FL21&others,Komp.14,IK suite&others, just a guitar player-AXE FX III &FM9T, FishmanTP, MIDIGuitar2, GK2/3'sw/GI20
Recording, Mixing, Performance and Production
Joined: Apr 2009
Posts: 9,326
Veteran
Offline
Veteran
Joined: Apr 2009
Posts: 9,326
If an overly aggressive player banged on the keys of a velocity sensitive keyboard, you should be able to go into the piano roll view (PRV) (in Sonar) and select groups of notes in the midi track and lower them all by a set amount.

I also think you can draw in a line with your mouse to set the velocity. I'm not sure how to tell you how this is done because I don't work in PRV at all. I know that it can be done because I did it one time many years back. This might be the better option for you to customize the velocity quickly. I had another Cakewalk user guide me on this.... although it's not some dark hidden secret. It's in the help manual. (F1 in Sonar)


You can find my music at:
www.herbhartley.com
Add nothing that adds nothing to the music.
You can make excuses or you can make progress but not both.

The magic you are looking for is in the work you are avoiding.
Recording, Mixing, Performance and Production
Joined: Jan 2002
Posts: 7,913
R
Veteran
Offline
Veteran
R
Joined: Jan 2002
Posts: 7,913
PGs products have some of the best midi manipulation and Marios recommendation is a place to start, however I do know of one plugin that allows you to apply a self drawn velocity curve that you can put befor your sound module VSTi. It's by a guy who goes by platinumears on the KVR forums. I've used it for exactly what you refer to.

Go to platinumears.com and grab the velocity curve plugin. You can draw in a compression like input output curve with it. I had to do this because I didn't like the limited velocity curves in my Casio XW P1 when outputting to some piano VSTi.

Last edited by rockstar_not; 06/26/16 05:14 AM.
Previous Thread
Next Thread
Go To

Link Copied to Clipboard
ChatPG

Ask sales and support questions about Band-in-a-Box using natural language.

ChatPG's knowledge base includes the full Band-in-a-Box User Manual and sales information from the website.

PG Music News
User Video: Next-Level AI Music Editing with ACE Studio and Band-in-a-Box®

The Bob Doyle Media YouTube channel is known for demonstrating how you can creatively incorporate AI into your projects - from your song projects to avatar building to face swapping, and more!

His latest video, Next-Level AI Music Editing with ACE Studio and Band-in-a-Box, he explains in detail how you can use the Melodist feature in Band-in-a-Box with ACE Studio. Follow along as he goes from "nothing" to "something" with his Band-in-a-Box MIDI Melodist track, using ACE Studio to turn it into a vocal track (or tracks, you'll see) by adding lyrics for those notes that will trigger some amazing AI vocals!

Watch: Next-Level AI Music Editing with ACE Studio and Band-in-a-Box


Band-in-a-Box® 2024 German for Windows is Here!

Band-in-a-Box® 2024 für Windows Deutsch ist verfügbar!

Wir waren fleißig und haben über 50 neue Funktionen und eine erstaunliche Sammlung neuer Inhalte hinzugefügt, darunter 222 RealTracks, neue RealStyles, MIDI SuperTracks, Instrumental Studies, "Songs with Vocals" Artist Performance Sets, abspielbare RealTracks Set 3, abspielbare RealDrums Set 2, zwei neue Sets von "RealDrums Stems", XPro Styles PAK 6, Xtra Styles PAK 17 und mehr!

Paket | Was ist Neu

Update Your PowerTracks Pro Audio 2024 Today!

Add updated printing options, enhanced tracks settings, smoother use of MGU and SGU (BB files) within PowerTracks, and more with the latest PowerTracks Pro Audio 2024 update!

Learn more about this free update for PowerTracks Pro Audio & download it at www.pgmusic.com/support_windows_pt.htm#2024_5

The Newest RealBand 2024 Update is Here!

The newest RealBand 2024 Build 5 update is now available!

Download and install this to your RealBand 2024 for updated print options, streamlined loading and saving of .SGU & MGU (BB) files, and to add a number of program adjustments that address user-reported bugs and concerns.

This free update is available to all RealBand 2024 users. To learn more about this update and download it, head to www.pgmusic.com/support.realband.htm#20245

The Band-in-a-Box® Flash Drive Backup Option

Today (April 5) is National Flash Drive Day!

Did you know... not only can you download your Band-in-a-Box® Pro, MegaPAK, or PlusPAK purchase - you can also choose to add a flash drive backup copy with the installation files for only $15? It even comes with a Band-in-a-Box® keychain!

For the larger Band-in-a-Box® packages (UltraPAK, UltraPAK+, Audiophile Edition), the hard drive backup copy is available for only $25. This will include a preinstalled and ready to use program, along with your installation files.

Backup copies are offered during the checkout process on our website.

Already purchased your e-delivery version, and now you wish you had a backup copy? It's not too late! If your purchase was for the current version of Band-in-a-Box®, you can still reach out to our team directly to place your backup copy order!

Note: the Band-in-a-Box® keychain is only included with flash drive backup copies, and cannot be purchased separately.

Handy flash drive tip: Always try plugging in a USB device the wrong way first? If your flash drive (or other USB plug) doesn't have a symbol to indicate which way is up, look for the side with a seam on the metal connector (it only has a line across one side) - that's the side that either faces down or to the left, depending on your port placement.

Update your Band-in-a-Box® 2024 for Windows® Today!

Update your Band-in-a-Box® 2024 for Windows for free with build 1111!

With this update, there's more control when saving images from the Print Preview window, we've added defaults to the MultiPicker for sorting and font size, updated printing options, updated RealTracks and other content, and addressed user-reported issues with the StylePicker, MIDI Soloists, key signature changes, and more!

Learn more about this free update for Band-in-a-Box® 2024 for Windows at www.pgmusic.com/support_windowsupdates.htm#1111

Band-in-a-Box® 2024 Review: 4.75 out of 5 Stars!

If you're looking for a in-depth review of the newest Band-in-a-Box® 2024 for Windows version, you'll definitely find it with Sound-Guy's latest review, Band-in-a-Box® 2024 for Windows Review: Incredible new capabilities to experiment, compose, arrange and mix songs.

A few excerpts:
"The Tracks view is possibly the single most powerful addition in 2024 and opens up a new way to edit and generate accompaniments. Combined with the new MultiPicker Library Window, it makes BIAB nearly perfect as an 'intelligent' composer/arranger program."

"MIDI SuperTracks partial generation showing six variations – each time the section is generated it can be instantly auditioned, re-generated or backed out to a previous generation – and you can do this with any track type. This is MAJOR! This takes musical experimentation and honing an arrangement to a new level, and faster than ever."

"Band in a Box continues to be an expansive musical tool-set for both novice and experienced musicians to experiment, compose, arrange and mix songs, as well as an extensive educational resource. It is huge, with hundreds of functions, more than any one person is likely to ever use. Yet, so is any DAW that I have used. BIAB can do some things that no DAW does, and this year BIAB has more DAW-like functions than ever."

Forum Statistics
Forums66
Topics81,643
Posts735,393
Members38,525
Most Online2,537
Jan 19th, 2020
Newest Members
theyearofjess, OlvaJownDay, Tranner Track, Ely Bass, Barking
38,525 Registered Users
Top Posters(30 Days)
MarioD 183
DC Ron 101
dcuny 89
rsdean 71
Today's Birthdays
There are no members with birthdays on this day.
Powered by UBB.threads™ PHP Forum Software 7.7.5