2017 was our 20th year online!

Welcome to the Piano World Piano Forums
Over 3 million posts about pianos, digital pianos, and all types of keyboard instruments.
Over 100,000 members from around the world.
Join the World's Largest Community of Piano Lovers (it's free)
It's Fun to Play the Piano ... Please Pass It On!

Shop our online store for music lovers
SEARCH
Piano Forums & Piano World
(ad)
Best of Piano Buyer
 Best of Piano Buyer
(ad)
Faust Harrison Pianos
Faust Harrison 100+ Steinway pianos
(ad)
Wessell Nickel & Gross
PianoForAll
Who's Online Now
38 members (anotherpianoplayer, busa, AprilE, Bett, Azunyan, 12 invisible), 1,350 guests, and 530 robots.
Key: Admin, Global Mod, Mod
(ad)
Estonia Pianos
Estonia Pianos
Previous Thread
Next Thread
Print Thread
Hop To
#3128943 06/18/21 07:52 AM
Joined: Jul 2020
Posts: 65
G
Full Member
OP Offline
Full Member
G
Joined: Jul 2020
Posts: 65
Hi all,

I developed a small easy to use midi velocity mapping tool (windows application):
https://drive.google.com/file/d/1ohAQnEmBydh_rJiUP8Sj7TWh0wzJgxYx

Make sure, you extract both files to a folder on your harddrive.

Please ensure, you installed the .net core 3.1 desktop runtime:
https://dotnet.microsoft.com/download/dotnet/3.1

Sourcecode is available:
https://github.com/georg-zeiser/midi-velocity-mapper



It's not like the Pianoteq velocity mapper, where you define points.
My solution is based on an exponential function, just enter the max. possible velocity of your midi controller and set the exponent...

Screenshot
[img]https://drive.google.com/file/d/1ENYDlNkiX-rZRrUwqmtH5-fRTbwUm0RA/view[/img]


keep calm and play the piano :-)
Joined: Oct 2014
Posts: 414
A
Full Member
Offline
Full Member
A
Joined: Oct 2014
Posts: 414
So it creates a virtual MIDI device, which will later be visible in my DAW, right?


Ars non habet osorem nisi ignorantem
Joined: Jul 2020
Posts: 65
G
Full Member
OP Offline
Full Member
G
Joined: Jul 2020
Posts: 65
no, virtual midi device is not included...
I just catch the "note on" events from midi input device, convert the velocity value and resend it to the output device...


keep calm and play the piano :-)
Joined: Sep 2009
Posts: 14,077
Yikes! 10000 Post Club Member
Offline
Yikes! 10000 Post Club Member
Joined: Sep 2009
Posts: 14,077
I tried it ... and all notes are sustained. Something's not right.

Joined: Oct 2014
Posts: 414
A
Full Member
Offline
Full Member
A
Joined: Oct 2014
Posts: 414
@Georg Z. it seems your app is either changing CC messages or, more probably, not sending back note-offs.
If it would be Java I would correct it myself :P


Ars non habet osorem nisi ignorantem
Joined: Oct 2006
Posts: 143
D
Full Member
Offline
Full Member
D
Joined: Oct 2006
Posts: 143
Looks helpful. I've had a bunch of people comment on my free VI about how the velocities don't work well for XXX DP. Any velocity curve utility that is readily available can help...


1928 Mason & Hamlin Model A
Play it as a VI HERE and binaurally HERE
Yamaha PF85, Formerly Kawai KG-1D
Joined: Sep 2009
Posts: 14,077
Yikes! 10000 Post Club Member
Offline
Yikes! 10000 Post Club Member
Joined: Sep 2009
Posts: 14,077
@Georg Z: It would help if you made it easier to put inflection points into the chart. As it stands it's very difficult to adjust the curve.

Also the "roller coaster" curve doesn't suit me. I need an S-curve. Or, better yet, allow the user to put points into the curve ... kind of like what Pianoteq does.

Joined: Oct 2006
Posts: 143
D
Full Member
Offline
Full Member
D
Joined: Oct 2006
Posts: 143
Just FYI, since I've been noodling with the VR control stuff, there is a scripting language that should make this entire thing easier called OSCII-bot. I'm a total beginner at using it- I wrote some scripts that take OSC input and push out Midi CC01. But I believe you should be able to make a velocity mapper out of it since the language is made to input MIDI or OSC and output MIDI or OSC

Just need someone with better coding skills than me (which isn't saying much).

https://cockos.com/oscii-bot/


1928 Mason & Hamlin Model A
Play it as a VI HERE and binaurally HERE
Yamaha PF85, Formerly Kawai KG-1D
Joined: Jul 2020
Posts: 65
G
Full Member
OP Offline
Full Member
G
Joined: Jul 2020
Posts: 65
Originally Posted by AlphaBravoCharlie
@Georg Z. it seems your app is either changing CC messages or, more probably, not sending back note-offs.
If it would be Java I would correct it myself :P
I only catch the "note on" events and resend them to the output with the new velocity value.
All other events are just forwarded to the output device. Nothing is changed...

C# is very similiar to Java, you could have a look here:
https://github.com/georg-zeiser/mid...ityMapper.Lib/MidiVelocityMapper.cs#L159

All you need for editing/compiling is Visual Studio 2019 Community Edition...


keep calm and play the piano :-)
Joined: Jul 2020
Posts: 65
G
Full Member
OP Offline
Full Member
G
Joined: Jul 2020
Posts: 65
Originally Posted by MacMacMac
@Georg Z: It would help if you made it easier to put inflection points into the chart. As it stands it's very difficult to adjust the curve.

Also the "roller coaster" curve doesn't suit me. I need an S-curve. Or, better yet, allow the user to put points into the curve ... kind of like what Pianoteq does.
So you want to edit the curve by defining own points, like in Pianoteq?
Such software already exists *), therefore I decided to implement the exponential function approach.
For me this kind of curve works fine. For me it's easier to just set two parameters instead of setting many points...


*)
MIDI Velocity Curve Changer by Trombettworks v1.2


keep calm and play the piano :-)
Joined: Jul 2020
Posts: 65
G
Full Member
OP Offline
Full Member
G
Joined: Jul 2020
Posts: 65
Originally Posted by MacMacMac
I tried it ... and all notes are sustained. Something's not right.
Sorry to hear, that it's not working for you.
I don't know, what the reason could be, because I just catch the "note on" from midi input and send it with new velocity to the output device...
Other events (like note off, or any pedal events) are just forwarded to the output...

I only have the Yamaha P-125 for testing, I have no issues at all...

Last edited by Georg Z.; 06/18/21 04:56 PM.

keep calm and play the piano :-)
Joined: Jul 2014
Posts: 2,361
2000 Post Club Member
Offline
2000 Post Club Member
Joined: Jul 2014
Posts: 2,361
Originally Posted by MacMacMac
I tried it ... and all notes are sustained. Something's not right.

When your controller sends Note On velocity 0 instead of Note Off it probably gets processed incorrectly because someone didn't read the MIDI specification. wink


Yamaha P-515
Joined: Sep 2009
Posts: 14,077
Yikes! 10000 Post Club Member
Offline
Yikes! 10000 Post Club Member
Joined: Sep 2009
Posts: 14,077
The piano works fine connected to any VST. It only breaks when using this mapper software.

Joined: Jul 2014
Posts: 2,361
2000 Post Club Member
Offline
2000 Post Club Member
Joined: Jul 2014
Posts: 2,361
Originally Posted by MacMacMac
The piano works fine connected to any VST. It only breaks when using this mapper software.

Obviously VST implementers read the MIDI spec.


Yamaha P-515
Joined: Jul 2020
Posts: 65
G
Full Member
OP Offline
Full Member
G
Joined: Jul 2020
Posts: 65
Originally Posted by JoeT
Originally Posted by MacMacMac
I tried it ... and all notes are sustained. Something's not right.

When your controller sends Note On velocity 0 instead of Note Off it probably gets processed incorrectly because someone didn't read the MIDI specification. wink
Thanks for the hint!
Indeed this could be an issue.

New version should fix this:
https://drive.google.com/file/d/1nLglKIDg6VAJcPxm0_QEqescy2WGRw4m/view


keep calm and play the piano :-)
Joined: Sep 2009
Posts: 14,077
Yikes! 10000 Post Club Member
Offline
Yikes! 10000 Post Club Member
Joined: Sep 2009
Posts: 14,077
This is what I've been using ...
Originally Posted by Georg Z.
So you want to edit the curve by defining own points, like in Pianoteq? Such software already exists ...
MIDI Velocity Curve Changer by Trombettworks v1.2
But it is no longer supported.
More importantly the author's web site is gone. So people have asked me for the software and I've sent it.
But I'm not keen to be a "software supplier". That's why I was hoping your velocity tool could be a replacement.


Moderated by  Piano World 

Link Copied to Clipboard
(ad)
Pianoteq
Steinway Spiro Layering
(ad)
PianoDisc

PianoDisc
(ad)
Piano Life Saver - Dampp Chaser
Dampp Chaser Piano Life Saver
(ad)
Mason & Hamlin Pianos
New Topics - Multiple Forums
Under-piano pedal wood replacement
by Js367 - 08/01/21 01:25 AM
Everett upright Regulation
by wenhen90 - 07/31/21 06:57 PM
Marx
by dolce sfogato - 07/31/21 04:05 PM
Self-teaching and looking for good exercises
by TORaptors2019 - 07/31/21 03:46 PM
ES110 Static/Buzzing on Certain Keys?
by mikechang503 - 07/31/21 02:40 PM
Download Sheet Music
Virtual Sheet Music - Classical Sheet Music Downloads
Forum Statistics
Forums42
Topics208,310
Posts3,117,987
Members102,295
Most Online15,252
Mar 21st, 2010
Please Support Our Advertisers

Faust Harrison 100+ Steinways

Dampp Chaser Piano Life Saver

 Best of Piano Buyer

PianoTeq Bechstein
Visit our online store for gifts for music lovers

Virtual Sheet Music - Classical Sheet Music Downloads



 
Help keep the forums up and running with a donation, any amount is appreciated!
Or by becoming a Subscribing member! Thank-you.
Donate   Subscribe
 
Our Piano Related Classified Ads
| Dealers | Tuners | Lessons | Movers | Restorations | Pianos For Sale | Sell Your Piano |

Advertise on Piano World
| Subscribe | Piano World | PianoSupplies.com | Advertise on Piano World |
| |Contact | Privacy | Legal | About Us | Site Map | Free Newsletter | MapleStreetMusicShop.com - Our store in Cornish Maine


© copyright 1997 - 2021 Piano World ® all rights reserved
No part of this site may be reproduced without prior written permission
Powered by UBB.threads™ PHP Forum Software 7.7.5