Mamabear
Max Output Level: 0 dBFS
- Total Posts : 8954
- Joined: 2006/12/01 18:03:09
- Location: Missouri
- Status: offline
Volume vs. velocity
I asked this in the SHS forum but realized there's a larger audience here. Anyway, I've recently realized the difference velocity makes in piano recordings (the higher the velocity, the more it sounds like the keys are being pounded.) But in prv, when I want to raise the volume of a note, the only choice I have is the raise the velocity. I didn't realize until last week that that may not introduce effects I don't want. So how do I raise the volume of a note (we're talking midi here), without increasing the velocity? It won't help to use volume envelopes because usually it's just one note in a chord.
|
Dave Modisette
Max Output Level: 0 dBFS
- Total Posts : 11050
- Joined: 2003/11/13 22:12:55
- Location: Brandon, Florida
- Status: offline
RE: Volume vs. velocity
2008/11/18 20:01:02
(permalink)
Isn't that how keyboards work? If you want to bring out a note, you strike the keyboard harder? How about another midi track with just the notes you want louder? Double the outputs and you double the volume. A little out of the box but I bet it would work.
|
Spaceduck
Max Output Level: -50.5 dBFS
- Total Posts : 2499
- Joined: 2004/12/29 12:51:03
- Status: offline
RE: Volume vs. velocity
2008/11/18 20:20:22
(permalink)
^ That's a great suggestion. It might be a bit of work depending on how many notes you're talking about, but it'll do the trick. I'm kinda lazy. I just bounce the midi track to audio, then use envelopes to bring up the quiet parts. This causes a big mess if you decide to go back and edit the midi later. So really, I think Mod's idea is best. Link the copy to the original, and you don't have to worry about it ever again.
|
Jonbouy
Max Output Level: 0 dBFS
- Total Posts : 22562
- Joined: 2008/04/14 13:47:39
- Location: England's Sunshine South Coast
- Status: offline
RE: Volume vs. velocity
2008/11/18 20:22:24
(permalink)
Janet. That is right! You want to raise the relative volumes of the notes by using velocities. It becomes a problem if you blanket apply an increased velocity to a whole track or area that you lose the dynamics. With midi you have 127 velocity levels so if you raise the volume of the whole track by using an increased velocity of say +40 (  ) every note on the track over a velocity of 87 then becomes the maximum of 127 so you've effectively squashed all those notes up against the ceiling, and also the very quietest note becomes at least +40. Changing the relative values in a piece IS the way to go, higher numbers for accents up to a maximum of 127 being the hardest hit (loudest) note. Then when you have the dynamics of your piece worked out its easy to turn up your piano, drum kit or whatever as a whole using a volume control keeping ALL the the relative space between the softest and hardest hits. So adjust your velocities this way but bear this in mind if you apply an increased velocity to the whole track. The problem that Gary was discussing in the other thread has to do with velocity layered samples as very often these are stepped within midi's 127 velocity levels range so you'll only have 16 or 24 samples say representing the full range and sometimes you will hear those 'steps' as the individual samples are triggered through the range, there are ways of mitigating that particular problem......but that is another issue.
post edited by Jonbouy - 2008/11/18 20:33:49
"We can't do anything to change the world until capitalism crumbles. In the meantime we should all go shopping to console ourselves" - Banksy
|
Spaceduck
Max Output Level: -50.5 dBFS
- Total Posts : 2499
- Joined: 2004/12/29 12:51:03
- Status: offline
RE: Volume vs. velocity
2008/11/18 20:30:17
(permalink)
The problem with changing velocities is that it often changes the sample which can sound drastically different. For example, a piano note at velocity 30 will have a mellow, singing effect. If you boost it even a few points to 40, it'll switch to a harder sample with more of a twang. If you're playing Beethoven's "Moonlight", and later you decide to boost the volume by scaling up the velocity, it'll sound like a train wreck!
post edited by Spaceduck - 2008/11/18 20:33:57
|
Jonbouy
Max Output Level: 0 dBFS
- Total Posts : 22562
- Joined: 2008/04/14 13:47:39
- Location: England's Sunshine South Coast
- Status: offline
RE: Volume vs. velocity
2008/11/18 20:34:01
(permalink)
ORIGINAL: Spaceduck The problem with changing velocities is that it often changes the sample which can sound drastically different. For example, a piano note at velocity 30 will have a mellow, singing effect. If you boost it even a few points to 40, it'll switch to a harder sample with more of a twang. If you're playing Beethoven's "Moonlight", and later you decide to boost the volume by scaling up the velocity, it'll sound like a train wreck! Exactly
"We can't do anything to change the world until capitalism crumbles. In the meantime we should all go shopping to console ourselves" - Banksy
|
Mamabear
Max Output Level: 0 dBFS
- Total Posts : 8954
- Joined: 2006/12/01 18:03:09
- Location: Missouri
- Status: offline
RE: Volume vs. velocity
2008/11/18 22:26:58
(permalink)
^ Yes, that's what I'm getting at. It's a sad thing. I think I've by with it because I rarely do solo piano pieces. I'm glad I did that one to find the problem, but finding the answer would be a lot more gratifying... Dave, you've got a point there and I might try that. I suppose I could also re-enter the offending note(s) with the mouse and see if that's near the right volume. Ho-hum..seems like such a basic operation... And one of the few even I can understand!
|
Rbh
Max Output Level: -52 dBFS
- Total Posts : 2349
- Joined: 2007/09/05 22:33:44
- Location: Indiana
- Status: offline
RE: Volume vs. velocity
2008/11/18 23:14:32
(permalink)
Maybe a quicker way to accomplish it with in a single PRV view would be to : #1 make sure that all notes on the original track are assigned the same midi channel number ( I mean the individual notes not just the track assignment.) For example channel 1. #2 assign the same patch to another channel : example channel 2. Set the volume higher on channel 2's patch. As you decide which notes you want to offset volume wise, just right click the note in PRV and assign it to channel 2.
|
kwgm
Max Output Level: -52.5 dBFS
- Total Posts : 2271
- Joined: 2006/10/12 00:14:20
- Status: offline
RE: Volume vs. velocity
2008/11/18 23:23:41
(permalink)
ORIGINAL: Spaceduck The problem with changing velocities is that it often changes the sample which can sound drastically different. For example, a piano note at velocity 30 will have a mellow, singing effect. If you boost it even a few points to 40, it'll switch to a harder sample with more of a twang. If you're playing Beethoven's "Moonlight", and later you decide to boost the volume by scaling up the velocity, it'll sound like a train wreck! This is why there's a market for high quality piano samples with 128 velocity levels. Granted, 128 different velocity level samples is excessive, but the 8-layer samples in Ivory, for instance, can be very expressive. Synths like Ivory, and quality keyboard synths like the Yamaha S90ES, or the Roland RD700SX, have a velocity scaling feature, which interpolates the output volume of the sound at the sample layer boundaries over a user specified range of velocities. This little trick helps smooth a 4-layer piano into a very expressive keyboard, indeed.
|
bitflipper
01100010 01101001 01110100 01100110 01101100 01101
- Total Posts : 26036
- Joined: 2006/09/17 11:23:23
- Location: Everett, WA USA
- Status: offline
RE: Volume vs. velocity
2008/11/19 00:01:58
(permalink)
On a real piano, volume IS largely controlled by velocity. On a $100,000 piano, the range is truly amazing, exceeding the dynamic range of any other instrument. But most of us don't have a $100,000 piano. We have a synth or a sampler. Here's the basic problem with the relationship between velocity and volume on a synth: a sampled piano has a limited number of velocity layers, and you can often hear the jump from one to the next even when two adjacent notes are only 1 digit apart, velocity-wise. The result is a sound that isn't what you intended. I find that I often go into the PRV and back velocities down, and/or set a maximum level (based on the crossover to the next velocity layer), or use a CAL script to act like a compressor to limit the velocity range. Not because I'm trying to limit dynamics, but because I'm trying to avoid bouncing from one sample set to another. Of course, that messes with the volume, so I then commit the MIDI to audio and use a volume envelope to restore some of the volume dynamics. The point is to intentionally break the connection between velocity and volume to overcome the limitations of a sampler. Another trick is to alter the velocity curve of the synth/sampler itself. Most samplers let you do this. You can adjust it to basically act like a compressor, restricting the range of MIDI velocities. None of these approaches answers your question about how to raise the volume of one note in a chord. Frankly I know of no easy way to do that. You can modify the mapping in a sampler, but that's only going to give you control over individual zones - and it's going to get complicated real quick. You could also split the MIDI track into 2 or more tracks, allowing separate processing on each. I often split my piano track into two parts so I can treat left and right hand parts separately. But that may be too crude for what you're trying to do. Sorry I made you read all that and never actually answered your question. Just thinking out loud, I guess.
 All else is in doubt, so this is the truth I cling to. My Stuff
|
Mamabear
Max Output Level: 0 dBFS
- Total Posts : 8954
- Joined: 2006/12/01 18:03:09
- Location: Missouri
- Status: offline
RE: Volume vs. velocity
2008/11/19 07:40:19
(permalink)
Thanks all of you. Lots to think about! Check out this thread in the SHS forum. I think Kblackwell (in post #11??) may have just found an answer. I'm anxious to try it, IF I can get those words to show up on my screen again. (modulation, etc.) http://forum.cakewalk.com/tm.asp?m=1552911
|
Spaceduck
Max Output Level: -50.5 dBFS
- Total Posts : 2499
- Joined: 2004/12/29 12:51:03
- Status: offline
RE: Volume vs. velocity
2008/11/19 08:17:44
(permalink)
That's an interesting strategy (by kblackwell). But I think midi event "volume" does nothing more than boost the velocity, which leads us back to the same problem However, if this is a solo piano piece like you said (i.e. your sampler isn't doing anything else), that makes things easy! Just go to the audio track for your sampler and create a volume envelope. Then you can boost or limit the volume as necessary without affecting midi velocity. Or if you're real lazy, just throw a massive compressor on the whole track
|
R!Soc
Max Output Level: -77 dBFS
- Total Posts : 660
- Joined: 2006/03/08 15:32:29
- Location: Calgary, Alberta
- Status: offline
RE: Volume vs. velocity
2008/11/19 09:52:22
(permalink)
ORIGINAL: Spaceduck But I think midi event "volume" does nothing more than boost the velocity, which leads us back to the same problem  I'm not sure that is correct. Note velocity and CC7 are two separate things in Midi. Wouldn't volume scale the db output of the sound generator, while velocity determines how the sound is formed? It would be no different than listening to a very agressive and distorted electrical guitar recording at a low volume. Just because it's at a low volume doesn't mean it was played softly.
|
Spaceduck
Max Output Level: -50.5 dBFS
- Total Posts : 2499
- Joined: 2004/12/29 12:51:03
- Status: offline
RE: Volume vs. velocity
2008/11/19 11:06:46
(permalink)
ORIGINAL: R!Soc ORIGINAL: Spaceduck But I think midi event "volume" does nothing more than boost the velocity, which leads us back to the same problem  I'm not sure that is correct. Note velocity and CC7 are two separate things in Midi. Wouldn't volume scale the db output of the sound generator, while velocity determines how the sound is formed? It would be no different than listening to a very agressive and distorted electrical guitar recording at a low volume. Just because it's at a low volume doesn't mean it was played softly. Are they really? If so, that would be fantastic. I don't work much with midi so I really don't know. But I hope you're right because it would solve my problems too.
|
Mamabear
Max Output Level: 0 dBFS
- Total Posts : 8954
- Joined: 2006/12/01 18:03:09
- Location: Missouri
- Status: offline
RE: Volume vs. velocity
2008/11/19 12:08:50
(permalink)
that would be fantastic. No kidding! I can't WAIT to try this.
|
Beagle
Max Output Level: 0 dBFS
- Total Posts : 50621
- Joined: 2006/03/29 11:03:12
- Location: Fort Worth, TX
- Status: offline
RE: Volume vs. velocity
2008/11/19 13:28:12
(permalink)
velocity and volume are not the same thing...that is, as long as the synth/sampler treats them CORRECTLY per the MIDI standard.
|
R!Soc
Max Output Level: -77 dBFS
- Total Posts : 660
- Joined: 2006/03/08 15:32:29
- Location: Calgary, Alberta
- Status: offline
RE: Volume vs. velocity
2008/11/19 16:52:32
(permalink)
ORIGINAL: Spaceduck Are they really? If so, that would be fantastic. I don't work much with midi so I really don't know. But I hope you're right because it would solve my problems too. I'm pretty sure. At least, that's how every MIDI instrument I've used in the last 20 years has behaved. Although as Beagle points out, it depends on if the MIDI standard was followed correctly. Considering how relatively simple it is to create a VSTi (compared to a hardware MIDI synth), anything is possible.
|
foxwolfen
Max Output Level: 0 dBFS
- Total Posts : 8256
- Joined: 2008/03/29 23:41:47
- Status: offline
RE: Volume vs. velocity
2008/11/19 22:32:54
(permalink)
ORIGINAL: R!Soc ORIGINAL: Spaceduck Are they really? If so, that would be fantastic. I don't work much with midi so I really don't know. But I hope you're right because it would solve my problems too. I'm pretty sure. At least, that's how every MIDI instrument I've used in the last 20 years has behaved. Although as Beagle points out, it depends on if the MIDI standard was followed correctly. Considering how relatively simple it is to create a VSTi (compared to a hardware MIDI synth), anything is possible. I am sure. Velocity and volume are different things. Velocity curves modulate tonality and amplitude, which is often interpreted as volume, but that is only part of the picture and is actually illusory. While volume envelopes can achieve part of the goal, the proper way to fix the problem is to adjust the velocity on a per note basis. This information is contained within the midi note packet. Velocity (how hard you strike a key) is, as mentioned, digitized (sampled) so is not infinite like a real piano. Problems can arise with some instruments when velocity samples are few and steps are large (like in my Concerto of recent release, where a few notes are choked due to velocity sample error). Cheers Shad
A scientist knows more & more about less & less till he knows everything about nothing, while a philosopher knows less & less about more & more till he knows nothing about everything. Composers Forum
|