-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
SF2 chorus and reverb bug #1238
Comments
So are you saying chorus and reverb buttons are incorrectly enabled by default on SF2-file drag and on render? Related #1233 |
Not the actual buttons but the effects themselves are applied. You will need a soundfont with settings for chorus and reverb to notice the bug, as not all soundfonts have this. test with this sf2 that i created : https://drive.google.com/file/d/0B780anJGotTaLS14anR5SUVIMHM/view?usp=sharing So are you saying chorus and reverb buttons are incorrectly enabled by default on SF2-file drag and on render? —
|
Ok.. the term "instrument effects" is a bit confusing in the title since all instruments can have effect chains stacked on top. :) Can we reproduce this on older builds? I'd like to know if it's newly introduced with 1.1 or not so I know how to categorize it. |
I looked into this for a while and couldn't find anything obvious. @diizy, can you help me understand the https://github.com/LMMS/lmms/blob/stable-1.1/plugins/sf2_player/sf2_player.cpp#L99 |
#Ok.. the term "instrument effects" is a bit confusing in the title since all instruments can have effect chains stacked on top. :) Can we reproduce this on older builds? I'd like to know if it's newly introduced with 1.1 or not so I know how to categorize it.# thanks Mikobuntu ;)
|
@tresf Ok i tested with lmms-0.4-14-rc1 and the bug existed there too, so this is not newly introduced.
Git Bisect is a nightmare to use with LMMS branches, I think the upstream changes to ZynAddsubFX make it almost impossible to build LMMS on older branches that i need to test against. . |
On 10/25/2014 05:08 AM, Tres Finocchiaro wrote:
Well, the parameter is optional, since it has a default value in the Try changing it to true and see if that does anything? |
Some rather interesting findings.... I first flagged that BoolModel to use But then I tried as suggested... forced https://gist.github.com/tresf/d37c65fbe5115217a8d5 Any thoughts? Edit Here's the recent commits: |
I'm starting to believe this is related to #649. It is very obvious to me that fluidsynth is not being initialized correctly. From what I can gather, it might have to do with the way it is initialized/cast (supported by the fact that the instrument plays fine in GUI, but experiences the bugs/console errors on render). Edit: Also, if I were to speculatively trace this bug back, I would associate it with the initial implementation of the chorus/reverb 6 years ago here: 564ed10 |
On 10/28/2014 03:15 AM, Tres Finocchiaro wrote:
Right, that didn't change anything - omiting the parameter is the same
Then it probably needs to be false... I've really no idea what that parameter is for (wouldn't it be cool if |
I'm fairly certain these are at least somewhat related to fluidsynth bugs. Our version is internally reported as 1.1.5 (2011) in Ubuntu 12.04. Version 1.1.6 (2012) has been released since as well as some additional patches in the past two years. Ubuntu 14.04 claims to be bundled with 1.1.6-2 so perhaps it is time to update my build environments? |
In addition, I went over some working plugins which don't muck up their settings and compared the code... I can't find anything that stands out. I notice there are places in vestige where |
@tresf I'm running ubuntu-12.04 too, I downloaded and installed a snapshot of the latest master branch of Fluidsynth http://sourceforge.net/p/fluidsynth/code-git/ci/master/tree/ (hint you will have to use cmake to build,) still the bug remains...... It looks like this is STILL OUR BUG.. |
On 10/28/2014 07:22 AM, Tres Finocchiaro wrote:
All the dataChanged signal does is inform LMMS to set the dirty flag, |
Thanks for testing this, greatly appreciated.
Ah, that makes much more sense. What I can't wrap my head around is how this reverb and chorus is ever getting enabled to begin with. From what I can see, the I went as far as to look at the fluidsynth source code as well to see if there is a boolean flag getting triggered when the reverb and chorus settings are applied (I haven't ruled this out) but when I comment out the respective setters, this bug still occurs, so I'm at a total loss at this point. This shouldn't be so hard to find!!! 😢 😭 😃 |
On 10/28/2014 02:28 PM, Tres Finocchiaro wrote:
Ok, I think I maybe see what's going on here... I think what happens is I'm going to try a quick fix... |
@diizy so far so good , the initial test of dragging my test.sf2 preset does not have the effects applied, will test song render now .... |
@diizy great Confirmed fixed ;) |
I'm glad this is being fixed. Reverb and Chorus in the SF2 player have On Tue, Oct 28, 2014 at 7:51 AM, Tres Finocchiaro notifications@github.com
|
On 10/28/2014 07:02 PM, Ian Sannar wrote:
You need to use soundfonts that support those features. |
I have been. Piano soundfonts, mostly. On Tue, Oct 28, 2014 at 11:03 AM, Vesa V notifications@github.com wrote:
|
The reverb worked, (only reverb was supported) but the knobs made no On Tue, Oct 28, 2014 at 11:05 AM, Ian Sannar ian.sannar@gmail.com wrote:
|
On 10/28/2014 07:05 PM, Ian Sannar wrote:
Well if you have a soundfont that supports reverb/chorus, then they |
Maybe I have soundfonts with cancer, lol. On Tue, Oct 28, 2014 at 11:08 AM, Vesa V notifications@github.com wrote:
|
Make sure you have reverb/chorus enabled. |
Edit @tresf 2014-10-27 (Added steps to reproduce)
Rendering a project to an audio file will cause the soundfonts chorus and reverb to be applied without any user intervention concerning the gui. Also if i drag a soundfont which has chorus and reverb settings, they will be applied immediately without needing to use the sf2 player buttons.however if i use the instruments internal browser and load the same preset the bug does not occur.
On render the actual .wav file also has the effects applied too.
before I even drag & drop of sf2, the preset preview in the file browser also applies the chorus and reverb
thanks Mikobuntu
The text was updated successfully, but these errors were encountered: