Topic: My First Velocity Curve - HOW I DID IT

I want to create a velocity curve for my PSR-9000 for the MKI Basic...

I'm going to do it visually, here are the steps:

  1. Using the mouse and built-in keyboard I play the lowest volume notes and watch where the green volume slider settles.

  2. I do the same for the loudest volume notes also.

  3. I now have a range and can see where the middle of the range lies (see image.)

    https://www.dropbox.com/s/zcq43ryn9uabqaz/VC4MKI_01.png?raw=1

  4. Now I play the quietest notes on my PSR-9000 and see that they hover around a velocity of 23 using the Midi viewer under Options.

    https://www.dropbox.com/s/e5t01jevwgc8czh/VC4MKI_02.png?raw=1

  5. I do the same for the loudest notes I can play and they seem to hover around 105.

  6. I set the velocity curves lowest and highest setting using these numbers.

    https://www.dropbox.com/s/r9x0jlc3meqiwaq/VC4MKI_03.png?raw=1

  7. Now I play notes on the keyboard and watch the green volume slider (see first image) and note the velocity of the notes that hit this centred position. It's around 50.

  8. I add a nod to the velocity graph and set it at [50,64].

    https://www.dropbox.com/s/0hmdbtgup37222v/VC4MKI_04.png?raw=1

  9. Now I play and watch where the velocities fall on the Velocity Graph and add further nodes to the upper curve to round it out.

  10. Voila ! My first Velocity Curve for PSR-9000 to play the MKI Basic.

    https://www.dropbox.com/s/vpjh3ujz3xb2jri/VC4MKI_05.png?raw=1


Here are two simple test renditions of the same recording:


Factory set Velocity
https://forum.modartt.com/uploads.php?f...raight.mp3


New Curved Velocity
https://forum.modartt.com/uploads.php?f...Curved.mp3

Re: My First Velocity Curve - HOW I DID IT

Thanks for posting your methodology.  Do you end up with the ceiling and floor on your velocity curve with your keyboard for acoustic pianos as well?

- David

Re: My First Velocity Curve - HOW I DID IT

dklein wrote:

Thanks for posting your methodology.  Do you end up with the ceiling and floor on your velocity curve with your keyboard for acoustic pianos as well?

Don’t know, David as I haven’t tried yet. I’m not a fan of the PSR9000’s keyboard to be honest and just felt Pianoteq could make up for it. Also, I can’t say that I’ve noticed a need to create a Velocity Curve for the digital piano and just use the one set by default.

Re: My First Velocity Curve - HOW I DID IT

DEZ wrote:

7. Now I play notes on the keyboard and watch the green volume slider (see first image) and note the velocity of the notes that hit this centred position. It's around 50.

8. I add a nod to the velocity graph and set it at [50,64].

Hello,

interesting idea to use Pianoteq's VU-meter for velocity calibration!
Smart idea to define a medium loudness of a preset with the VU-meter and to find the noteon velocity, that triggers it.

A VU-meter more or less corresponds to the human hearing, so this could work eventually. Have to try it myself. One problem could be, that a noteon velocity not only changes the volume level, but also the timbre / frequency-spectrum, which also influences the human loudness perception.

Thanks for sharing your idea!


Late edit: The Limiter switch should be OFF in this process.

Last edited by groovy (17-12-2022 11:49)

Re: My First Velocity Curve - HOW I DID IT

groovy wrote:

Hello,

interesting idea to use Pianoteq's VU-meter for velocity calibration!
Smart idea to define a medium loudness of a preset with the VU-meter and to find the noteon velocity, that triggers it.

A VU-meter more or less corresponds to the human hearing, so this could work eventually. Have to try it myself. One problem could be, that a noteon velocity not only changes the volume level, but also the timbre / frequency-spectrum, which also influences the human loudness perception.

Thanks for sharing your idea!

Late edit: The Limiter switch should be OFF in this process. Yes! I had overlooked this - thanks for your contribution!

Thanks groovy for your valuable input. Like most things, I seem more intuitive that scientific in my approach and this 'experiment' is no exception.

As we are really dealing with subjectivity here the curve can be adjusted to suit one's taste / playing style. I chose the mid point of the keyboard's velocity [50] and the midpoint between the start and end values (105-23)/2+23 = 64 - should have explained this earlier! Now, here's where subjectivity comes in... as I use this curve my playing will change accordingly and I will adapt to it quite quickly.

I think the only truly critical components of this curve are the start and end values... The PSR9000 under my hands in normal play didn't produce velocities higher or lower that these chosen values (except for the odd one or two). However, as I use the instrument more - perhaps it will???

Nothing can be set in stone, we are in a constant state of flux

Re: My First Velocity Curve - HOW I DID IT

DEZ wrote:

I chose the mid point of the keyboard's velocity [50] ...

It is more result than a choice, how I understand it: Klicking a key on Pianoteq's virtual keyboard at the top of the key gives a small green bar on the VU-meter. Klicking on the bottom of the virtual key a large green bar / audio level. The half between that two audio levels is assumed to represent the "normal" loud level.

The next assumption is that mf-mp in Pianoteq's velocity diagram represents the subjectivity of the Pianoteq crew, how their presets should sound at a middle velocity level (named mf-mp on the y-axis). In another thread I had shown, that the middle between mf and mp stands for the number 64).

At this point we are having two representations:
The "normal" audio level (by VU-meter)
The "normal" velocity (64 aka mf-mp by Modartt)

The glue for both parameters is a third parameter: Pianoteq's input velocity ( = output velocity of your MIDI keyboard).

With the VU-meter we can identify which input velocity triggers our defined "normal" audio level. If we found that to be 50 for example, we now can map that to Modartt's medium 64, and bam! we have the middle dot of our new curve [50; 64].

That is, how I understand your method. If it has been a misunderstanding, it is the draft for my own new method! ;-)

The lowest and highest points in the individual curves are trivial, this is what PTQ's midi calibration assistant outputs already or is found manually by several users (with some subjective variations of course).

Re: My First Velocity Curve - HOW I DID IT

groovy wrote:

It is more result than a choice, how I understand it: Klicking a key on Pianoteq's virtual keyboard at the top of the key gives a small green bar on the VU-meter. Yes Klicking on the bottom of the virtual key a large green bar / audio level. Yes The half between that two audio levels is assumed to represent the "normal" loud level.This is what I assumed.

The next assumption is that mf-mp in Pianoteq's velocity diagram represents the subjectivity of the Pianoteq crew, how their presets should sound at a middle velocity level (named mf-mp on the y-axis). In another thread I had shown, that the middle between mf and mp stands for the number 64).

At this point we are having two representations:
The "normal" audio level (by VU-meter)
The "normal" velocity (64 aka mf-mp by Modartt) I didn't choose 64 because it was half-way house between 0 and 127. It just happened to correspond to the middle of the range the keyboard produced.

The glue for both parameters is a third parameter: Pianoteq's input velocity ( = output velocity of your MIDI keyboard).

With the VU-meter we can identify which input velocity triggers our defined "normal" audio level. If we found that to be 50 for example, we now can map that to Modartt's medium 64, and bam! we have the middle dot of our new curve [50; 64]. Yes, using the keyboard velocity and the middle of the found range is indeed the middle dot of the 'new' curve.

That is, how I understand your method. If it has been a misunderstanding, it is the draft for my own new method! ;-)

The lowest and highest points in the individual curves are trivial, this is what PTQ's midi calibration assistant outputs already or is found manually by several users (with some subjective variations of course). I wouldn't say they were trivial, but vital as some keyboards might be very good at low velocity and not so good at high. I am simply trying to map the range of the keyboard to the range of available volume offered by Pianoteq. By using a set middle of 64 in the case of a keyboard range of 1-100 say would produce a 'quiet sounding' curve. Would you not agree?

It is assumed that the keyboard's own internal 'curve' won't affect the outcome by doing things visually and not relying on any fixed points... Once the basic curve is created it can be tweaked to cater for those of us who like to play predominantly quietly - but still have the option to play FFF as and when by moving the midpoint on the keyboard range (0-100) down <50 and more loudly by moving it up >50...

Last edited by DEZ (17-12-2022 19:33)

Re: My First Velocity Curve - HOW I DID IT

DEZ wrote:

I didn't choose 64 because it was half-way house between 0 and 127. It just happened to correspond to the middle of the range the keyboard produced.

... that I don't fully understand probably. You tried to play in the middle range of the VU-meter and then you find/read 64 in Ptq's  midi monitor?
Or did your read 50 then?

DEZ wrote:

I wouldn't say they were trivial, but vital as some keyboards might be very good at low velocity and not so good at high.

I meant trivial to find this two outer points. Yes, they are vital - or I would even say essential - for midi keyboards with a limited, useful resolution like 23-105 in this example.

DEZ wrote:

I am simply trying to map the range of the keyboard to the range of available volume offered by Pianoteq.

... that is the new approach in one sentence, yes.

By using a set middle of 64 in the case of a keyboard range of 1-100 say would produce a 'quiet sounding' curve. Would you not agree?

... I can't answer this, because your 50/64 thing is not clear to me, see above.

Last edited by groovy (18-12-2022 10:32)

Re: My First Velocity Curve - HOW I DID IT

groovy wrote:
DEZ wrote:

I didn't choose 64 because it was half-way house between 0 and 127. It just happened to correspond to the middle of the range the keyboard produced. In other words 105-23 = 82. This is the limited range of the keyboard. Half of that is 41. Now because the range starts at 23 we add 23 and 41 to get... 64.

... that I don't fully understand probably. You tried to play in the middle range of the VU-meter and then you find/read 64 in Ptq's  midi monitor?
Or did your read 50 then? Looking at the VU-Meter I hit keys on the keyboard and got them to strike the mid-point and then checked the velocity in options = 50. I can now set my node on the curve as 50, 64.

Not being 'scientific' but 'intuitive' I don't always explain things in easy-to-understand terms. I apologies for any resultant confusion.

Plus, having thought about it I think the preset should be exactly as you're going to play it so there's little point in turning off the limiter. This will avoid getting a false mid-point.

Re: My First Velocity Curve - HOW I DID IT

DEZ wrote:

In other words 105-23 = 82. This is the limited range of the keyboard. Half of that is 41. Now because the range starts at 23 we add 23 and 41 to get... 64.

With that algorithm you get values of 1 - 127 for all curves of that general type:

https://www.dropbox.com/s/r9x0jlc3meqiwaq/VC4MKI_03.png?raw=1

That it is 64 in your case is accident. But all these possible values 1 - 127 on the x-axis (your 64 too) have one specialty: They all mark that point on curves of that type, where y = 64!

One other example: Say a fictional midi keyboard would have a useful output of 10-100. Your strategy with that type of curve results in (100-10)/2+10 = 55 on the x-axis. You will find out that at x=55 on that curve the y-value is 64 again.

It is always the half of the y-range: 128/2=64
And your simple algorithm just finds the x-value, where y=64.

The funny thing is, we come to the same result, because my proposition has been, that the medium audio level in the VU-meter represents mf-mp, which is ... the equivalent to y=64.

Re: My First Velocity Curve - HOW I DID IT

groovy wrote:

The funny thing is, we come to the same result, because my proposition has been, that the medium audio level in the VU-meter represents mf-mp, which is ... the equivalent to y=64.

Yes! You were looking at the Y value and I at the X value...

https://www.dropbox.com/s/askos9ie3bv1vga/Graph_64.png?raw=1

Re: My First Velocity Curve - HOW I DID IT

..Now that I've played a bit with my first Velocity Curve...

I thought I'd try to 'manipulate' it for different playing scenarios.

Here I've extended the mp-mf range subtly...

https://www.dropbox.com/s/nvy9lwrwrd3kpok/NEW_MKI_VC_01.png?raw=1


Here's what it sounds like:
https://forum.modartt.com/uploads.php?f...LAT_01.mp3


And the original x=y linear curve for comparison
https://forum.modartt.com/uploads.php?f...andard.mp3

Re: My First Velocity Curve - HOW I DID IT

..A tad flatter (for comparison)...

https://www.dropbox.com/s/vtylfxzy22z4e69/NEW_MKI_VC_02.png?raw=1


Here's what it sounds like:
https://forum.modartt.com/uploads.php?f...LAT_02.mp3

Re: My First Velocity Curve - HOW I DID IT

Probably our iteration of the third, middle point is systematically wrong.

Let's start with your first iteration again, the 2-dot-curve
Velocity = [23, 105; 0, 127]

On your first curve a point x=50,y=39 exists:

https://i.postimg.cc/kG18CVzD/Velocity-using-VU-meter-1.png
Velocity = [23, 50, 105; 0, 39, 127]

When velocity 50 comes into Ptq from your Yamaha keyboard, it is remapped to velocity 39 with that curve. So it is velocity 39, that creates the medium audio level of your Rhodes MkI preset we located with the VU-meter.

That's a bit surprising, isn't it? Normally I would expect, that Modartt calibrates an instrument preset with a medium audio level at velocity 64 (and not 39). But you can compensate that approximately in your curve with a third dot at x=64, y=39. Then the middle value of your useful range (accidentally x=64) is mapped to 39 and 39 results in a medium audio volume, as you had reported:

https://i.postimg.cc/63xFVqH7/Velocity-using-VU-meter-2.png

Last edited by groovy (19-12-2022 13:42)