Hello everybody
I’m building my first LV2 plugin for deploying on Zynthian and I cannot see MIDI controls in Zynthian GUI.
I noticed that the only 2 controls showed are “Enabled” “Free Wheeling”, not developed by me, thus I suppose that those 2 are basic control ports, that Juce automatically include.
Doing a grep in the plugin directory I noticed that those are referenced as control ports inside dsp.ttl file:
[
a lv2:InputPort , lv2:ControlPort ;
lv2:designation lv2:freeWheeling ;
lv2:symbol "freeWheeling" ;
lv2:name "Free Wheeling" ;
lv2:default 0.0 ;
lv2:minimum 0.0 ;
lv2:maximum 1.0 ;
lv2:index 7 ;
lv2:portProperty lv2:toggled , lv2:connectionOptional , pprop:notOnGUI ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:designation lv2:enabled ;
lv2:symbol "enabled" ;
lv2:name "Enabled" ;
lv2:default 1.0 ;
lv2:minimum 0.0 ;
lv2:maximum 1.0 ;
lv2:index 8 ;
lv2:portProperty lv2:toggled , lv2:connectionOptional , pprop:notOnGUI ;
]
My plugin parameters are in another portion of the ttl file, tagged as parameters:
plug:upper_active
a lv2:Parameter ;
rdfs:label “Upper Compression” ;
rdfs:range atom:Float ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 1 ;
lv2:portProperty lv2:enumeration , lv2:toggled ;
lv2:scalePoint [
rdfs:label “Off” ;
rdf:value 0 ;
], [
rdfs:label “On” ;
rdf:value 1 ;
] .
plug:overdrive
a lv2:Parameter ;
rdfs:label “Overdrive” ;
rdfs:range atom:Float ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 1 ;
lv2:portProperty lv2:enumeration , lv2:toggled ;
lv2:scalePoint [
rdfs:label “Off” ;
rdf:value 0 ;
], [
rdfs:label “On” ;
rdf:value 1 ;
] .
Could I map my parameters as control ports, in order to enable MIDI message routing to my plugin?
How can I do it?
I already checked Juce examples and forum, but I was not able to find a good hint on this theme.
Thank you in advance
Sergio
