[LV2] RFC: ui:requestParameter feature

David Robillard d at drobilla.net
Tue Feb 18 01:38:52 PST 2020


On Mon, 2020-02-17 at 19:41 +0000, Filipe Coelho wrote:
> 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

Great, thanks.

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

This exists on the latest version of the branch
(LV2UI_REQUEST_PARAMETER_BUSY)

> 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.

Exactly.  We probably need a mime type property...

-- 
dr




More information about the Devel mailing list