-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controlling how velocity impacts note volume #92
Comments
Hey, thanks for the kind words. I'm not sure if this is what are you looking for, but there's this By default it uses MIDI recommendation on how to convert 127 level value to gain |
Thank you! I see how |
Ok, it's not in the docs, but there's the function
|
What you mean is not in the docs? Is this issue fixed? |
I can clarify the docs a bit and send a PR when I get some time.
If I understand correctly, there are two similar functions that affects the
output loudnesses.
The data flow seems to be: velocity-> volume -> gain.
…On Sun, 6 Oct 2024 at 08:42, danigb ***@***.***> wrote:
What you mean is not in the docs? Is this issue fixed?
—
Reply to this email directly, view it on GitHub
<#92 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGAKEKGKXB4MKMYLK27W2DZ2EV2NAVCNFSM6AAAAABPBFOTG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGQZDMNJVGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thanks for yet another fantastic library.
I really like the variety samples used for the different velocities, it's especially great on the SFZ piano.
I was wondering how we could control the note
velocity -> volume
function.Currently, the volume delta is very big and low velocity notes are often almost silent.
A basic, easy to implement , approach could be to set
min
andmax
volume thresholds. Normalizing input velocity might also have a similar effect in practice, but it wouldn't benefit from those multiple velocity samples.The text was updated successfully, but these errors were encountered: