-
Notifications
You must be signed in to change notification settings - Fork 258
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
[RFC] Using Sustain Pedal like Soft Pedal #1276
Conversation
@RobsonFBP FYI |
Kudos, SonarCloud Quality Gate passed! |
The effect could be more noticeable if the initial volEnvRelease is 1s and I add 6400 to the modulator parameter. However, my intention is not just a vibration effect, but primarily to have string, organ and flute sounds that do not ring out indefinitely when the pedal is pressed, but have a smooth pitch with a size.
|
Thanks for this PR.I liked the name of the created variable I think if
I would be even more restrictive using both SUSTAIN_SWITCH sources
But if you want to keep the code without simplifying, you could fix the parentheses like this.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These proposed changes are to create a smooth fit when releasing the key with the sustain pedal depressed. Useful for smooth tuning on instruments that sound indefinitely while the sustain pedal is depressed.
Co-authored-by: RobsonFBP <[email protected]>
Ok, I applied your suggestions, thanks. However, I'm currently unable to test this. It may take me a few weeks before coming back to this. |
Kudos, SonarCloud Quality Gate passed! |
I found some time to look into this again. I can confirm that the current change results in an audible manipulation of the sustain and release phases for new voices only (i.e. not for already playing voices). The most noticeable effect is that notes which were played while the sustain pedal was depressed, keep playing even when releasing the pedal afterwards and playing further notes. I'm not quite sure if this is supposed to be the effect intended by the original discussion. One problem I observed is that fluidsynth easily runs out of polyphone, when playing notes while the pedal is depressed: This doesn't happen when playing with the regular sustain pedal behavior and is probably due to decay and release phases being both expanded by the current implementation. Honestly, I don't really find this behavior intuitive or comprehensive. But I would like to hear what others think about it? |
I would also like to be able to test each change, but I don't know how to do it. If you could send me a compiler with all the settings and all the necessary files and dependencies, so that I could just make the changes and compile, I could perhaps deliver the finished result. Eu também gostaria de poder testar cada mudança, mas não sei como fazer. Se você pudesse me mandar um compilador com todas as configurações e todos os arquivos e dependências necessários de modo que eu apenas fizesse as mudanças e compilasse, poderia entregar o resultado pronto. |
The process of compiling is explained in our wiki: |
Obrigado pela atenção. Grande abraço.
Obter o Outlook para Android<https://aka.ms/AAb9ysg>
…________________________________
From: Tom M. ***@***.***>
Sent: Thursday, September 19, 2024 8:36:35 AM
To: FluidSynth/fluidsynth ***@***.***>
Cc: RobsonFBP ***@***.***>; Mention ***@***.***>
Subject: Re: [FluidSynth/fluidsynth] [RFC] Using Sustain Pedal like Soft Pedal (PR #1276)
Closed #1276<#1276>.
—
Reply to this email directly, view it on GitHub<#1276 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BB7SKYVKLJRITL6HWQUGCC3ZXKZMHAVCNFSM6AAAAAA4QPXBCGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGMZDENRTGQ3TMNY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Sorry, but this PR stayed open for over a year without a working solution in mind, without activity over the past 8 months. I currently don't see this PR will reach a shape where it can be accepted. |
This attempt to implement the method described in #1271.
Unfortunately, it doesn't work. In my tests I've found that manipulating the release time does not affect voices already playing in release phase.
I currently have no time for a deeper investigation.