polluxsynth / audio-plugins

Audio plugins using the Distrho Plugin Framework
https://butoba.net/homepage/mimid.html
GNU General Public License v2.0
5 stars 0 forks source link

Remove or hide superfluous parameter controls #4

Closed riban-bw closed 6 months ago

riban-bw commented 7 months ago

There are several parameters / controls exposed that appear superfluous, e.g. "Unused 1". These should be removed or hidden if required by the underlying engine to avoid excessive and confusing UI/

polluxsynth commented 7 months ago

Yeah, these should at least be renaned Debug 1 and 2. They were initially a carryover from Obxd but I've used them for testing various settings during development before implementing proper parameters.

riban-bw commented 7 months ago

As you describe in the Zynthian forum, "Economy Mode" allows static (off) or dynamic (on) CPU load. The former provides consistent behaviour. The latter allows more processors to be loaded if not used simultaneously. Each has its benefit so I think the setting can be useful (although maybe it should be a configuration rather than a user parameter).

There is a flag in LV2 to hide parameters from the UI so if there are necessary parameters that are of little or no use to the user at runtime then this flag can be used. (It is something like not_on_gui.) Zynthian honours this flag. This could possibly be used for the debug controls too. You may be able to expose them during test with an alternative (private / local) ttl.

polluxsynth commented 7 months ago

I should mention, regarding Economy Mode, that there is still a slight potential variation depending on exactly what the plugin is doing. For instance, the antialiasing for the triangle and pulse waves take slightly more DSP than the sawtooth, and the antialiasing also consumes more DSP at high pitches. It's not a staggering difference, but one or two percent gong from deep bass to a couple of kilohertz for 8 voices.

polluxsynth commented 6 months ago

Fixed on master.