Hi @Looperlative and other @zynthianers interested on cutting edge developments!
I’ve a “proof of concept” of a “custom GUI mechanism”. It allows to specify custom GUI for any engine/LV2 engine. You can create the custom GUI from scratch or derive from other zynthian GUI class.
For testing this, simply update on testing and load this snapshot:
In this example, i’ve created a custom GUI for the “1/3 Octave Spectrum Meter”, inhereting from the “zynthian_gui_control” class. You can see the code here:
This looks great… If you are looking for another example to test with, I would love to see an instrument tuner included. I was actually looking at building one from circuit boards to put in my eurorack to tune oscillators this morning… Then I saw this!
Great progress @jofemodo. Would we be able to set up inputs as well as outputs?
@jofemodo Tried a few times to get switched to testing without success. I even started with a fresh microSD. Each time that I switch to the testing branch, my user i/f fails to be usable. If there is another process other than using the webconf to switch, then let me know.
From webconf, you can restart UI in debug mode => see if it complains
Also from webconf you can access to a command line terminal (you can have the same through ssh), then you can investigate further with these commands :
They both inherit from zynthian_widget_base, that implements the basic stuff. The widgets are loaded dynamically from zynthian_gui_control and they don’t need to be on the zynthian-ui directory/repo. They can be in any place, including the plugin bundle directory (i’ve to implement the TTL stuff for this)
I’m pretty sure widgets are going to grow up in the future: evelope editors, oscillator control, etc. We could create widgets associated to “groups of controllers”, using LV2 parameters, like specified here:
Yay! That’s better. I haven’t had a chance to test for longer than a couple of minutes but it looks better now when cascaded. I wonder if anyone has considered how we might jump to a particular screen, e.g. tuner which a guitarist may wish to see quickly, hands-free. Also how to mute (although that could be via the mixer) for a similar scenario.