Skip to content

Fix preset preview issues with peak controller(s)#3904

Merged
PhysSong merged 1 commit into
LMMS:stable-1.2from
PhysSong:peakcontrollerpreview
Apr 4, 2018
Merged

Fix preset preview issues with peak controller(s)#3904
PhysSong merged 1 commit into
LMMS:stable-1.2from
PhysSong:peakcontrollerpreview

Conversation

@PhysSong

Copy link
Copy Markdown
Member

Fixes #3897.
This PR ensures peak controller effects from preview track don't instantiate a peak controller and replaces itself to a dummy effect by setting m_okay to false.
Here's a preset for test: PeakController.xpf.zip

@PhysSong

Copy link
Copy Markdown
Member Author

The difference between this and @gi0e5b06's approach is: this don't create peak controller while @gi0e5b06's fix create it and not add to the song. I'll compare two ways and find better way...

@gi0e5b06

Copy link
Copy Markdown

@PhysSong If you don't create the peak controller(s), the preset may sound totally different. Which just brings this other issue #3906 . OTOH, the consequences of creating these temporary controllers are still unknown but I didn't notice anything strange so far (after fixing some double-ckick bugs in the file browser).

@PhysSong

PhysSong commented Oct 23, 2017

Copy link
Copy Markdown
Member Author

@gi0e5b06 That is a long-standing issue. However, your suggestion doesn't look harmful for me. I 'll look into this more. 😄

@PhysSong PhysSong force-pushed the peakcontrollerpreview branch from 2ba4761 to 6768102 Compare April 2, 2018 06:35
@PhysSong

PhysSong commented Apr 2, 2018

Copy link
Copy Markdown
Member Author

Partially switched to @gi0e5b06's approach. Waiting for tests...

@zonkmachine

Copy link
Copy Markdown
Contributor

Tests fine. Issue fixed with this PR.

@PhysSong PhysSong merged commit 00f9590 into LMMS:stable-1.2 Apr 4, 2018
@PhysSong PhysSong deleted the peakcontrollerpreview branch April 4, 2018 00:07
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants