[yoshimi] Re: Potential fix for LV2 envelopes

  • From: "Art Horan" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "art.horan" for DMARC)
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Tue, 30 Mar 2021 16:44:15 -0500

On 3/30/21 4:14 PM, Kristian Amlie wrote:

On 30.03.2021 23:03, Art Horan (Redacted sender art.horan for DMARC) wrote:
On 3/30/21 2:38 PM, Will Godfrey wrote:
On Tue, 30 Mar 2021 21:02:51 +0200
Kristian Amlie <kristian@xxxxxxxxxx> wrote:

Can anyone on this list reproduce the problem where Envelopes sometimes
have wrong timings when used under LV2?

I may have a potential fix for it, but I'm not able to verify that it
solves the problem.

I have a couple of Ardour tracks that show this up.

I haven't noticed a problem with envelopes using the lv2 in Qtractor or
Reaper.

What should I be looking for? Is it subtle or obvious? What versions?
It's heavily host dependent. And the problem is exactly that I don't
know which hosts trigger it and under what circumstances. I have
certainly seen the problem myself, but it's inconsistent, and now that I
needed to test it, of course the host was acting nicely.

I know exactly what the underlying reason is: It's because some hosts
will sometimes pass in shorter block sizes than the full block size.
This is allowed by the LV2 spec, and even expected in some cases.
However, it's hard to tell exactly when hosts will do it.

I'll look for problems then and report if I notice any. I also sometimes use Carla as an lv2 host too, but I never took to Ardour.

Other related posts: