[LV2] RFC: ui:requestParameter feature

Filipe Coelho falktx at gmail.com
Mon Feb 17 11:41:14 PST 2020


On 16.02.2020 20:57, David Robillard wrote:
> Hi all,
>
> Quite some time ago myself, falktx, and rgareus prototyped a feature to
> allow a plugin UI to request a parameter value from a host.  The main
> incentive here is to avoid needing to implement file selector dialogs
> in plugins, though you could conceptually use it for whatever else, and
> it has some other potential advantages like integrating with embedded
> host content/browsers and the like.
>
> I just cleaned this up a bit and would like to make it a real thing for
> the next release, so if anyone wants to weigh in, or better yet
> implement it:
>
> https://gitlab.com/drobilla/jalv/-/commits/ui-request-parameter
> https://gitlab.com/lv2/lv2/-/commit/540268fb05b6d42ecfaec118ab7dde0febcddde3
>

Hi there.

Just implemented it in Carla right now, in develop branch 
https://github.com/falkTX/Carla/commit/5217efc4cf67d171eda4a7074030741c3920b4d8

I am missing a custom error code for having a file browser already open, 
sounds useful for the plugin UI side of things.

Would be nice to have a way to set mimetype or some kind of filetype 
filter so the file browser can hide useless things.
Right now it has no filter whatsoever, which can get a bit confusing.
But I guess this is to be done on the LV2 parameter properties.

That said, this is a very welcome addition already.
Thanks



More information about the Devel mailing list