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

Change VST parameter names dynamically #66

Closed
jpcima opened this issue Feb 3, 2021 · 2 comments
Closed

Change VST parameter names dynamically #66

jpcima opened this issue Feb 3, 2021 · 2 comments

Comments

@jpcima
Copy link
Contributor

jpcima commented Feb 3, 2021

How to change VST parameter names according to CC labels.

Steinberg::String newTitle = "...";
newTitle.copyTo(parameter->getInfo().title, 0, 128);
componentHandler->restartComponent(kParamTitlesChanged);
@paulfd
Copy link
Member

paulfd commented Feb 6, 2021

Ho that's cool actually! Could we also hide them if unused maybe?

@jpcima
Copy link
Contributor Author

jpcima commented Feb 6, 2021

Possibly, depending on the host support.
It seems kParamTitlesChanged, despite its name, also affects parameter flags.
A flag kIsHidden exists.

From documentation

kParamTitlesChanged | Parameter titles, default values or flags (ParameterFlags) have changed The host invalidates all caches of parameter infos and asks the edit controller for the current infos.[SDK 3.0.0]

kIsHidden | parameter should be NOT displayed and cannot be changed from outside the plug-in (implies that kCanAutomate is NOT set and kIsReadOnly is set) [SDK 3.7.0]

@jpcima jpcima closed this as completed May 2, 2021
@redtide redtide transferred this issue from sfztools/sfizz May 27, 2023
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

No branches or pull requests

2 participants