need for larger velocity scales, 0-128 to small

Discussion relating to the Korg Kronos Workstation.

Moderators: Sharp, X-Trade, Pepperpotty, karmathanever

Scott
Platinum Member
Posts: 1036
Joined: Fri Oct 16, 2009 4:49 pm

Post by Scott »

burningbusch wrote:Musical instruments have no where near a 120db amplitude range.
According to a quick google search, the maximum volume of a grand piano in a small room is about 109 dB. I didn't come across detail, but I assume that's a huge multi-finger hit and not achievable on a single key, and I don't know how far from the sound board that measurement came from, but I thought it was an interesting tidbit. Not that keyboards should necessarily be limited to the dynamic range of a piano on one hand, nor, on the other hand, are most sound systems capable of actually reproducing the full dynamic range of what the human ear can hear before we go deaf (nor is there any need for most of us to attempt to duplicate the actual sound level of a gun shot, even if we had a sound system that was capable of it).

Some other thoughts from this thread...

Your fingers are capable of an infinite number of different levels between zero and maximum, regardless of one's ability to replicate a given level at will, which is a red herring. The fact that we don't have perfect control doesn't mean our playing doesn't create audible differences. Humans have a certain amount of randomness to their motions, we can't be so precise, and that imprecision is part of the character of our playing. If you take out the ability of something to respond to deviations smaller that we can control, it will sound robotic.

The worst argument I saw was that the 8 levels of dynamics of a traditional score are sufficient. Can you just imagine how bad a piano patch would sound if every velocity level was rounded to one of the nearest 8? Ouch! Engineering down to our primitive ability to notationally score the tremendous range of what our fingers can do and what our ears can hear would be a bad idea indeed! And, btw, there is a traditional notation for many levels between those 8... crescendo and decrescendo. They do not mean you should attempt to jump through the 8 steps without anything in between!

If we accept that our ears can't recognize a difference of less than 1 dB, then 110 steps should be sufficient to duplicate a 109 dB piano. However, there are still areas where that can theoretically fall short. For one thing, there is rounding error. If 1000 "real" velocity values are each rounded to the closest of 100 values, some will round in such a way that an inaudible difference between two close notes will round to something that creates an audible difference. (That is, if the velocity that would create 50.4 db is rounded down to 50, and the velocity that would create 50.6 db is rounded up to 51, you have now created an audible 1 dB difference between the two notes that, on a real piano, would have been only an inaudible .2 dB apart.) Then, as already mentioned, there is the variable of scaling velocity curves... the resolution of differences in force is not linear, and resolution you add somewhere is lost somewhere else.

But I agree that this is largely academic. Velocity range or distinction between levels is not anything I ever considered a problem. In reality, we listen to music on devices with limited dynamic range to begin with, and the amount of level control we have, keeping in mind our 1 dB audible differentiation capability, really does seem perfectly adequate to me; whatever "errors" are introduced seem likely to be minimal. I agree with those that think that velocity curves can make a big difference in playability, though. The Kawai approach of being able to customize the response to your playing sounds like it could be a very useful feature.
Last edited by Scott on Mon Feb 14, 2011 3:50 pm, edited 1 time in total.
Kevin Nolan
Approved Merchant
Approved Merchant
Posts: 2524
Joined: Sun Dec 04, 2005 3:08 pm
Location: Dublin, Ireland
Contact:

Post by Kevin Nolan »

If we accept that our ears can't recognize a difference of less than 1 dB, then 110 steps should be sufficient to duplicate a 109 dB piano.



However, there are still areas where that can theoretically fall short. For one thing, there is rounding error. If 1000 "real" velocity values are each rounded to the closest of 100 values, some will round in such a way that an inaudible difference between two close notes will round to something that creates an audible difference. (That is, if the velocity that would create 50.4 db is rounded down to 50, and the velocity that would create 50.6 db is rounded up to 51, you have now created an audible 1 dB difference between the two notes that, on a real piano, would have been only an inaudible .2 dB apart.) Then, as already mentioned, there is the variable of scaling velocity curves... the resolution of differences in force is not linear, and resolution you add somewhere is lost somewhere else.

But I agree that this is largely academic. Velocity range or distinction between levels is not anything I ever considered a problem. In reality, we listen to music on devices with limited dynamic range to begin with, and the amount of level control we have, keeping in mind our 1 dB audible differentiation capability, really does seem perfectly adequate to me; whatever "errors" are introduced seem likely to be minimal. I agree with those that think that velocity curves can make a big difference in playability, though. The Kawai approach of being able to customize the response to your playing sounds like it could be a very useful feature.
Are you sure your can map decibels to MIDI Volume levels? Perhaps you can, but your claim to be able to identify a resolution of 1dB chances is a bit arbitrary. The decibel range is logarithmic so that the sound pressure difference between two sounds 120dB apart (the ear's dynamic range) is 10E12 - that is - a trillion times greater pressure (albeit only 120 times louder so perhaps you're right?). I would have thought we can identify loudness differences far finer than 1dB given the sensitivity of the ear?

I'm not sure, however, if that's already factored into how we 'hear' a piano. I think there are subtle harmonic overtone and other non-volume relates issues to do with minute velocity difference that are massively overlooked in current 20 - 120 layer sampled pianos or even virtual acoustic piano models. And I still think Ozy and other analyses here are far too adhoc and simplistic, The original poster is definitely onto something important with regard to designing better digital pianos. You may smooth samples and so on, but if you bother to sample a fine piano at, for example, 10,000 velocity levels, you will bring an entirely new and vastly superior playing experience into the digital domain. Ridiculously unrealistic to achieve now I accept, but never the less, we do not perceive 'acoustic' just because it's wood, but because of the interaction of the player with the instrument providing audible but fine difference and variation.

After all, if the hand can instigate thousands of gradation levels on a real piano that sound natural to us, then we should strive to replicate that on digital pianos. 128 levels, no matter how your view it - even with smoothing, is simply not enough. there is no doubt that there are literally thousands of levels rendered on an acoustic piano in real performances, albeit most close to each other - and I agree with the original poster that the minimum that should be strived for is at least a quantization that goes beyond our conscious perception and allows for the full inconsistency of playing on an acoustic instrument to be possible on digital pianos. This would take thousands of levels.

And it may be the case that even playing the V Piano does not solve this because they may relate velocity to 128 levels to be compatible with MIDI.


IMO, the instigation of a new, fined MIDI spec in this regard should be welcomed by digital instrument makers - it gives them a whole me market all the way up the new maximum granular resolution; while also allowing for better performances and recordings by those using them. This of course would apply to all acoustic instruments and not just the t piano, in both the sampled instrument and virtual acoustic arenas.


Kevin.
Scott
Platinum Member
Posts: 1036
Joined: Fri Oct 16, 2009 4:49 pm

Post by Scott »

Kevin Nolan wrote:Are you sure your can map decibels to MIDI Volume levels?
There is no inherent direct correlation that I am aware of. Even regardless of where you place the volume control on your amp or how big your speakers are. ;-) Whether anyone has actually tried to create a velocity curve that would somehow correlate, I don't know.

Admittedly using a bit of shorthand/simplification for brevity, what I'm trying to say is simply that 1 dB is commonly accepted (I believe) as the smallest level difference between two sounds that can be reliably perceived; that the full range of any sound we would want to create would probably lie between 0 and 127 decibels (on a theoretical ideal sound system); therefore 128 definable velocity levels can theoretically correlate to the 127 distinct volume levels that human ears can differentiate between 0 and 127 dB. (Though I also pointed out the variables of velocity response curve and rounding errors.)
Kevin Nolan wrote: two sounds 120dB apart (the ear's dynamic range)
The ear's dynamic range is greater than that. The difference between silence and the loudest thing we can hear is more than 120 dB. According to http://www.gcaudio.com/resources/howtos/loudness.html a gun shot is 140 dB, for example. Whether we actually need to generate music with a dynamic range of greater than 120 dB is a different question, though. ;-) (Nor do we have stereos that play that loud.)
Kevin Nolan wrote:if the hand can instigate thousands of gradation levels on a real piano that sound natural to us
Well, that's the question I was getting at. Say the hand can instigate thousands (or, in a sense, infinite) gradations... but if the human ear can't discern a difference between two sounds that are less than a decibel apart, and the total dynamic range of a piano is 109 dB, there are only 110 audibly distinct volume levels that can be created from those thousands of possible hand gradations.
synthjoe
Platinum Member
Posts: 1011
Joined: Wed Apr 21, 2010 12:41 am

Post by synthjoe »

Scott wrote:...what I'm trying to say is simply that 1 dB is commonly accepted (I believe) as the smallest level difference between two sounds that can be reliably perceived
I'm unaware of such common knowledge - do you have a source for it? dB is a figure for ratios, expressed as Image (where V0 and V1 are the two values to be compared) - combined with psychoaoustical research the common consensus appears to be that a perceived doubling of volume happens at approximately 6 dB increase in sound pressure level. This would not imply that 1 dB is the smallest perceivable difference - and even if it would be established by any organisation I'd loudly protest against! :D
Scott wrote:
Kevin Nolan wrote:if the hand can instigate thousands of gradation levels on a real piano that sound natural to us
Well, that's the question I was getting at. Say the hand can instigate thousands (or, in a sense, infinite) gradations... but if the human ear can't discern a difference between two sounds that are less than a decibel apart, and the total dynamic range of a piano is 109 dB, there are only 110 audibly distinct volume levels that can be created from those thousands of possible hand gradations.
The ear is capable of much finer resolution than 1 dB regardless whether you are 'golden ears' or a housewife. Whether you can identify the difference or you care about identifying is what makes you become 'golden ears'. Most people listening to music cannot tell the subtilities why they don't like what they hear, they just simply don't like it. This is what can make the difference between a hit record or a flop. And if you know how to define that difference, you're a hit record producer. I think it cannot be put simplier than that.

Edit: sorry for the misleading information above, I have to correct myself after having refreshed my memories. 3 dB is for the doubling in SPL but a 10 dB increase is preceived by most people as 'volume doubling'. My bad.
Last edited by synthjoe on Tue Feb 15, 2011 2:30 am, edited 1 time in total.
Scott
Platinum Member
Posts: 1036
Joined: Fri Oct 16, 2009 4:49 pm

Post by Scott »

synthjoe wrote:
Scott wrote:...what I'm trying to say is simply that 1 dB is commonly accepted (I believe) as the smallest level difference between two sounds that can be reliably perceived
I'm unaware of such common knowledge - do you have a source for it?
I'm sorry, I don't have a reference, maybe someone else can chime in more authoritatively.

There is one more factor I didn't mention... even if MIDI velocity can theoretically cover the full dynamic range of human hearing, and even if you had a stereo that reproduced it, the actual audio electronics of the MIDI keyboards themselves probably don't have that much dynamic range, that could be another limiting factor.
jemkeys25
Full Member
Posts: 243
Joined: Sat Jan 15, 2011 7:41 pm

Post by jemkeys25 »

like i've said before, we don't know why it sounds better , it just does, the ear can hear 1db, and 2db and 1.25db and 1.3672db, and so on, if we said the ear can only distiguish a 1db change then we've placed a physical limit on our own hearing, sort of like saying our eyes can only see 128 different colors, but in reality its millions, same with hearing,millions of shades of sound.
synthjoe
Platinum Member
Posts: 1011
Joined: Wed Apr 21, 2010 12:41 am

Post by synthjoe »

Scott wrote:
synthjoe wrote:
Scott wrote:...what I'm trying to say is simply that 1 dB is commonly accepted (I believe) as the smallest level difference between two sounds that can be reliably perceived
I'm unaware of such common knowledge - do you have a source for it?
I'm sorry, I don't have a reference, maybe someone else can chime in more authoritatively.
Excuse my English. It was my way of saying you were wrong. :oops: No need to chime in.
Scott
Platinum Member
Posts: 1036
Joined: Fri Oct 16, 2009 4:49 pm

Post by Scott »

synthjoe wrote:
Scott wrote:
synthjoe wrote: I'm unaware of such common knowledge - do you have a source for it?
I'm sorry, I don't have a reference, maybe someone else can chime in more authoritatively.
Excuse my English. It was my way of saying you were wrong. :oops: No need to chime in.
I am by no means saying that Crutchfield is the ultimate authority, they could be wrong, but it is at least some reference...

http://www.crutchfield.com/S-cmPqRMtjR8 ... ssary.html

"SPL is measured in dB — an acoustic measurement of sound energy. One dB SPL is the smallest audible difference in sound level. 0dB SPL is the threshold of human hearing, while noise measuring 120dB can damage your hearing."

I assume they got that from somewhere and didn't make it up, but I don't know what their source is. It is something I have heard numerous times in the past, however.

I am not saying you're wrong, but I haven't seen evidence that you're right, either. Maybe there's someone here who can add some more actual facts.
ozy

Post by ozy »

comparing dBs and velocity scales is like comparing price of gazoline and speed of a car.

Yes, a car can go sometimes go slower because its driver wants to spend less in gazoline. But it's not a mathematical correlation.

midi 127th and dB describe totally different phenomena, btw using two totally different scales (one is linear the other logarytmic)

velocity is SOMEHOW related to volume only because MOST synth users modulate a AMPLIFIER ENVELOPE amount with the velocity parameter. The correlation betwenn the two of them is arbitrary.

velocity is often INVERSELY correlated to amplifier envelope amount (the harder I hit a key, the flatter the envelope). Or, velocity can be correlated to filter frequency (then, consequently, also with differenmces in audible volume) while the velocity/Amplifier curve is left FLAT (think of analogue emulations).
jemkeys25 wrote: once you reach 128 velocity ,which is easy enough to do, playing harder won't give you anything, does that happen with say a piano.
oh my god!!!

0/127 is a convention!

by convention, 127 is defined as "the maximum level".

so: NO, you can't hit anything harder than 127!

There's no "130" level BY DEFINITION.

If the scale was 1/1280, YOU COULDN'T HIT 1281 either! Is that so fìdifficult to understand?

You can program a piano sound engine so that

velocity 127 PLUS aftertoutch 127 [remember that aftertouch can be used as a complement to velocity] equals to:

"throwing a 80 kilos weight on a piano keyboard" (in tone and amplitude terms)

OR

you can program the same velocity (127 + 127) to return "a nicely hit piano, without rage and fury.

You want to hear "piano strings breaking" at velocity 127? Do it. program a adequate sample.

That's got nothing to do with resolution.

if the two numbers were 1280+1280 instead of 127+127, nothing would change.

Boy this guys is like someone who puts a ladder under his monitors because he wants HIGHER volume...

[I have a suspect: I think that this man CANNOT hit 127, stop. It happens, to pencile-necked, flat-chested, pale, computer-sequencer-addicted nerds.

I alrteady met a guy once, who literally coudln't hit a key above 100, and complained that his synth "had no dynamics"]
Last edited by ozy on Mon Feb 14, 2011 7:58 pm, edited 1 time in total.
Lando
Full Member
Posts: 100
Joined: Tue Feb 08, 2011 3:56 pm
Location: Stockholm, Sweden
Contact:

Post by Lando »

Maybe offtopic, but this discussion gives me such a strong "These amps go to eleven"-feeling :D

http://www.youtube.com/watch?v=ll7rWiY5obI
ozy

Post by ozy »

Lando wrote:"These amps go to eleven"
amen, bro. Amen!
Kevin Nolan
Approved Merchant
Approved Merchant
Posts: 2524
Joined: Sun Dec 04, 2005 3:08 pm
Location: Dublin, Ireland
Contact:

Post by Kevin Nolan »

synthjoe wrote:
Scott wrote:...what I'm trying to say is simply that 1 dB is commonly accepted (I believe) as the smallest level difference between two sounds that can be reliably perceived
I'm unaware of such common knowledge - do you have a source for it? dB is a figure for ratios, expressed as Image (where V0 and V1 are the two values to be compared) - combined with psychoaoustical research the common consensus appears to be that a perceived doubling of volume happens at approximately 6 dB increase in sound pressure level. This would not imply that 1 dB is the smallest perceivable difference - and even if it would be established by any organisation I'd loudly protest against!
Scott wrote:
Kevin Nolan wrote:if the hand can instigate thousands of gradation levels on a real piano that sound natural to us
Well, that's the question I was getting at. Say the hand can instigate thousands (or, in a sense, infinite) gradations... but if the human ear can't discern a difference between two sounds that are less than a decibel apart, and the total dynamic range of a piano is 109 dB, there are only 110 audibly distinct volume levels that can be created from those thousands of possible hand gradations.
The ear is capable of much finer resolution than 1 dB regardless whether you are 'golden ears' or a housewife. Whether you can identify the difference or you care about identifying is what makes you become 'golden ears'. Most people listening to music cannot tell the subtilities why they don't like what they hear, they just simply don't like it. This is what can make the difference between a hit record or a flop. And if you know how to define that difference, you're a hit record producer. I think it cannot be put simplier than that.


synthjoe - just splitting hair here but being complete about it - that decibel scale definition you provide is for 'loudness' of voltages - electrical signals. For sound intensity (pressure) as in how the ear works, the equation is:

L(dB) = 10log(P1/Po).

Similar equation, but important to note the difference for calculations. So your equation is fine for computing loudness when comparing measured voltages, the one I give when comparing sound intensity. Not related to the central point of this thread but just felt it worth flagging.


I think there is a broad consesus among many of us here that there is a need for finer resolution in digital representation of acoustic signals (is there anything new in this???)


But the most important thing of all is - Ozy is wrong :D

If we can agree on that then it has all been worthwhile :lol:
(just pulling your leg Ozy - you know I respect your opinion).

Kevin.
Zeroesque
Senior Member
Posts: 451
Joined: Mon Jan 17, 2011 10:38 pm
Location: SoCal

Post by Zeroesque »

This is simple. Get a VAX77 and Pianoteq (or go to the IR booth at the next NAMM). Then, have someone switch on and off the CC88 capability and see if you can tell the difference. My guess is that other than the difference between velocity 1 and 0 (and who's gonna accurately play there), you can't. I'll take that bet w/ anyone.
Kronos 61, Kronos2-88, Hammond B3, Baldwin SD-10
Kevin Nolan
Approved Merchant
Approved Merchant
Posts: 2524
Joined: Sun Dec 04, 2005 3:08 pm
Location: Dublin, Ireland
Contact:

Post by Kevin Nolan »

Zeroesque wrote:This is simple. Get a VAX77 and Pianoteq (or go to the IR booth at the next NAMM). Then, have someone switch on and off the CC88 capability and see if you can tell the difference. My guess is that other than the difference between velocity 1 and 0 (and who's gonna accurately play there), you can't. I'll take that bet w/ anyone.
That's not a valid comparison. the comparison is - have the same top Pianist play, say, "Reflects dans l'eau" or "Snowflakes are Dancing" by Debussy (or some other Debussy piece with many shades of colour) on the Bosendorfer sampled by VSL and then on their sampled version. Record both at 24 bit, 192kHz on Apogee hardware and ask the listener to compare the two. If there is no audible difference then your right, if there is an audible difference then we're right.

I am personally confident I'd clearly identify the actual piano from the sampled one on the basis of velocity nuance alone.
ozy

Post by ozy »

Scott wrote:Your fingers are capable of an infinite number of different levels between zero and maximum, regardless of one's ability to replicate a given level at will
BUT NOT EVEN A REAL HAMMER ACTION PIANO KEYBOARD CAN TRACK THEM!

](*,)

NO mechanical device can currently have the same level of accuracy of a human body!

I didn't say that 8 levels are enough. I said that 127+silence are enough, as far as MECHANICAL 8keys) resolution is concerned.

I said also that better SOUND GENERATION definition is needed!

There's no need for keyboards with more than 127 scanning points per key,

while there's need for sound engines which to put those 127 steps through a 4-layers bottleneck!

Don't twist my words.



There is no point-to-point correlation between the infinite number of theoretical finger positions,

and the sound of a piano like you hear it!

Do all maps in your library have a 1:1 scale?

Well, whatever.

Go on asking for a 1/256 midi resolution keyboard, and hope that THAT generates a better piano sound...

Kevin Nolan wrote: Image But the most important thing of all is - Ozy is wrong :D If we can agree on that then it has all been worthwhile :lol:
I haf now eks-austed my pazienz.

I vill now put on you the final pover of the Doomsday Device, voose formula iz:

Infinite series: There are infinite series expansions for each of the functions ez, cos(z), and sin(z), found from Maclaurin's Series, as follows:

ez = 1 + z + z2/2! + z3/3! + z4/4! + z5/5! + z6/6! + ... ,
cos(z) = 1 - z2/2! + z4/4! - z6/6! + z8/8! - z10/10! + ... ,
sin(z) = z - z3/3! + z5/5! - z7/7! + z9/9! - z11/11! + ... .
All three series are valid for all real numbers. We want to accept the first one as valid for all complex numbers z. Then substitute z = xi, expand, use the facts that i2 = -1, i3 = -i, i4 = 1, and so on, and collect real and imaginary parts. You'll see that the real part of exi is just the series for cos(x), and the imaginary part is just the series for sin(x).

Calculus: Start with

z = cos(x) + sin(x) i
and notice that when x = 0, z = 1. Then differentiate,

dz/dx = -sin(x) + cos(x) i
dz/dx = sin(x) i2 + cos(x) i
dz/dx = [cos(x) + sin(x) i]i
dz/dx = zi
(1/z)dz/dx = i
ln(z) = xi + C
for some constant C, by indefinite integration. Now use the fact that when x = 0, z = 1, to conclude that C = 0. Thus

ln(z) = xi
z = exi
exi = cos(x) + sin(x) i

--------------------------------------------------------------------------------

A consequence

e i = -1
e i + 1 = 0
This remarkable equation involves the five most important constants in all of mathematics: 0, 1, i, pi (), and e. The proof is to substitute x = into Euler's Equation above.

--------------------------------------------------------------------------------

An application
It is often useful to write a complex number as an exponential. This is always possible in the following way. Suppose z = a + bi, and z is not zero. Then


|z| = sqrt(a2+b2)
z/|z| is then a complex number whose absolute value is 1. Then there is some t such that


cos(t) = a/sqrt(a2+b2)
sin(t) = b/sqrt(a2+b2)
tan(t) = b/a,
t = arctan(b/a)
You can always choose t in the range 0 <= t <2> if and only if b < 0. Pick t = if and only if b = 0 and a < 0. Then


z = sqrt(a2+b2)[a/sqrt(a2+b2) + bi/sqrt(a2+b2)]
= sqrt(a2+b2)[cos(t) + sin(t) i]
= |z|eti
= eln|z|+ti

NOTE: The value of t is not unique. You can add any integer multiple of 2 to the above value, and get another that works just as well. This has the unexpected consequence that when we evaluate complex numbers raised to complex powers, such as ii, the result is not a single complex number, but an infinite set of them.

Resistenz iz futile!

Zurrender naw!
Last edited by ozy on Mon Feb 14, 2011 10:40 pm, edited 1 time in total.
Post Reply

Return to “Korg Kronos”