Skip to content
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

Removed [Flanger] COs still referenced #14118

Open
daschuer opened this issue Jan 4, 2025 · 3 comments
Open

Removed [Flanger] COs still referenced #14118

daschuer opened this issue Jan 4, 2025 · 3 comments

Comments

@daschuer
Copy link
Member

daschuer commented Jan 4, 2025

Bug Description

There are a couple of Mapping still referencing the no longer existing [Flanger] COs. This leads to a failed assertion:

warning [Controller] ControlDoublePrivate::getControl returning NULL for ( "[Flanger]" , "lfoPeriod" )
critical [Controller] DEBUG ASSERT: "flags.testFlag(ControlFlag::NoAssertIfMissing)" in function static QSharedPointer<ControlDoublePrivate> ControlDoublePrivate::getControl(const ConfigKey&, ControlFlags, ControlObject*, bool, bool, bool, double) at ./src/control/control.cpp:203

https://github.com/search?q=repo%3Amixxxdj%2Fmixxx%20%5BFlanger%5D&type=code

reveals 37 hits.

Version

2.5.0

OS

Ubuntu Jammy

@daschuer daschuer added the bug label Jan 4, 2025
@ronso0
Copy link
Member

ronso0 commented Jan 6, 2025

Currently users get a warning when loading a mapping that uses deprecated controls.
IIRC that means xml mappings are simply ignored and functions that use eg. Flanger will throw a warning when being called (also withan ignore option).

How do you propose to resolve this?
Shall we simply remove Flanger mappings and comment out functions using Flanger?

@daschuer
Copy link
Member Author

daschuer commented Jan 6, 2025

This indicates probably that the new effect unit is not usable with this controllers. So the current state having a warning is better than having a "broken" button with no warning.

Is there a 1:1 replacement available? Probably not. So we just call out for help?

@ronso0
Copy link
Member

ronso0 commented Jan 6, 2025

Is there a 1:1 replacement available?

Nope.
It might e possible to map [ChannelN] to [EffectUnitN] and the Flanger parameters to the respective effect1 paramteres ut that's a lot of work, so yes

we just call out for help

Somehow I doubt will reach enough users when we ask for help in a blog post or in the forum.
Maybe we can refine the error/warning?
Let's say it tries to lookup the nonexistant control in a 'deprecated' list and asks for help instead of just complaining?
Is that possible? Is it worth the effort?
Usually, when users encounter such warnings they either ask for help in the forums or file a bug report.
Can we filter for 'Flanger' and

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants