Open trebmuh opened 5 years ago
Note to self: Juce AudioProcessor has some abstract methods to set/get current program https://docs.juce.com/master/classAudioProcessor.html#ade2c2df3606218b0f9fa1a3a376440a5
not implemented in current Tunefish
The result of this method is what gets saved into LV2 presets.ttl
.
If not done (as is now), it's the full state which goes in the ttl each program.
If I implement the set/get method pair, I suspect that I may be able to retrieve the program name, and this will let me memorize this information and pass it to the editor.
Case scenario: I'm launching tunefish with jalv.select with selecting the "pad tremolo" preset from the jalv.select GUI. Then tunefish4 is launched and its GUI is displayed. If I play notes, I can hear that the "pad tremolo" is used. But the tunefish4 GUI is showing another preset ("saaaaw") as selected.
Now, I'm changing the preset (from tunefish4 GUI) to another one, let's say "DryBass". It works.
Finally, I'm choosing the "saaaaw" preset (from tunefish4 GUI) and playing. The sound is the one from the "pad tremolo" preset.
Kind of confusing from an user point of view.