Re: Fw: Re: More LV2 questions

Robin Gareus <[email protected]>
Newsgroups gmane.linux.audio.devel
Message-ID <[email protected]>
On 2026-08-12 9:06 PM, Fons Adriaensen wrote:
> Date: Wed, 12 Aug 2026 21:00:39 +0200
> From: Fons Adriaensen <[email protected]>
> To: Robin Gareus <[email protected]>
> Subject: Re: More LV2 questions
> 
> On Wed, Aug 12, 2026 at 08:39:38PM +0200, Robin Gareus wrote:
>> On 2026-08-12 8:37 PM, Fons Adriaensen wrote:
>>
>>> Ardour could just send updates for automated parameters that
>>> are in play or touch mode and then only while the user is not
>>> 'touching' the corresponding control.
>>
>> That is exactly what Ardour does.
> 
> No it isn't. I get portevents for every parameter change sent
> from the UI, even when there is no automation at all.
> 

The correct flow is: The Plugin UI asks host to change a parameter. The 
host then either allows this or not. If the change succeeded, host 
informs the plugin UI about the new value.


>> As for telling the Plugin host that the user is touching the control you
>> need to implement https://lv2plug.in/ns/extensions/ui#touch
> 
> Done that a year ago.


good. Is the code available? Would be nice to have something to test.


> As for managing windows, Ardour itself behaves in way I find
> really annoying. When you close a plugin window it is not just
> hidden, it's destroyed. So when the plugin UI is opened again
> it has to be reconstructed from scratch. Ardour is just decent
> enough to remember its previous position, but that's all.


For AU and VST3 there there is a preference for this. The default is to 
just hide the window. LV2 does not have this option.

--
robin
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEwak9kdzQUxfAUWyqoJC84Cz1fwQFAmp8xbUFAwAAAAAACgkQoJC84Cz1fwRN
Nw//RGLmW1qa7nSRZXC/ZzV26Pm+Sb/MzjnjNvjKj8WH9UxZd0sygAzoZP308ntWWWNQnHQid/Pu
JUhnYUCYGch+nk0I1O0bP0GBlq3RWWV+P872qaCqzqM+Te2pRMHw8nG2VFt2lICA72ij5O92nr+I
fKRqm/vFqEG6RCgjDcwZDbfR61mdH6nQT22JVQX5Uthp1yCLgXwxp3wyjvuQK+UHIe2SqWMf19G3
GOzWLwQ9sMGw52jJjBxqnK3pf06bsnsOYr14RzhcEI4dVEEWzmM8blKApYLVAGZ5JfB6m/oKrlb+
nwOexQCtbnhR55fnIn6hCi/I3vaFJ2JVPHCYZz61lXrhxPEODq3hjoSqdxq0U76BVKzThPaO8vaM
7KYfyahUSunCd9mf4i2uU+CXFzyIiwvugiQa5ege8qZ/INp/U0weQuO/hYCoglMyMOCegUgME3+1
NFV6m/paHyRM6ptMbU16cJKe3S1+FO0ikEXSHTbEJ/kjPpypjNxlE8NA/wu7bI8yE69L4uQK4gky
ajcYE2GqnM2ZzL1zaPDAoUMzUby1ZAl7jtQKv1UKMxM2CGK6+9m2VzbwNfKDXrv+QlDnWlQx/dUS
uzdPAeTDN6VtODtg5+ZhfXEtEN4DI0jnYB8oX2YTBKv5mUM7g5TKxW12P5+aZLM6crWKUyqxW77w
96c=
=uMKb
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.