Old 05-09-2022, 07:16 AM   #1
elcalen
Human being with feelings
 
elcalen's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 859
Default LV2, CC, and undo points

Not entirely sure if this is an issue with Reaper or the plugin in question, but I was working on a project with the setBfree tonewheel organ LV2 plugin from x42 and I noticed I was getting a lot of "Edit FX parameter" undo events for the plugin, even though I wasn't touching any of the controls. setBfree can use CC messages to control various parameters, like (perhaps most usefully) the rotary speed control, and I discovered that the undo points were caused by these CC events changing the parameter during playback. Which surely shouldn't be the case, right?

I'm aware that for VSTs there's an option for minimal undo states, but apparently these compatibility options aren't available for LV2. No idea if that setting would be relevant if it did exist...

(This is with Reaper 6.57, on Linux.)
elcalen is offline   Reply With Quote
Old 05-09-2022, 06:40 PM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,737
Default

ah thanks, looking into this one now. The problem is that the plug-in sends notification that its state has changed, but there's no way for us to know whether it changed from a tweak of the UI or if it came from automation.

We'll add a per-plugin compatibility option to ignore state-change notifications (either completely, or just when the UI is closed). Not a perfect solution but helpful...

Last edited by Justin; 05-09-2022 at 07:06 PM.
Justin is offline   Reply With Quote
Old 05-10-2022, 04:58 AM   #3
elcalen
Human being with feelings
 
elcalen's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 859
Default

Quote:
Originally Posted by Justin View Post
We'll add a per-plugin compatibility option to ignore state-change notifications (either completely, or just when the UI is closed). Not a perfect solution but helpful...
Yeah, that would probably be a good enough work-around for my case. Thanks!
elcalen is offline   Reply With Quote
Old 05-10-2022, 05:50 AM   #4
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,737
Default

ah looks like we can have a setting which is “ignore state change when sending midi CC”… only time you’d miss it is if you tweak the UI simultaneously as sending CCs, it might treat it as a CC-only change…
Justin is offline   Reply With Quote
Old 05-11-2022, 02:35 PM   #5
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,737
Default

The latest +dev build has this, if you want to test!
Justin is offline   Reply With Quote
Old 05-12-2022, 06:37 AM   #6
elcalen
Human being with feelings
 
elcalen's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 859
Default

The ignore when sending CC messages option at least would appear to be working, based on a very quick test. (Didn't try the other options, since I don't really have a need for them currently.) Assuming there are no unforeseen complications, this ought to be a good solution to my issue. Thanks!

To be fair, setBfree is kind of a weird plugin to begin with. It apparently doesn't expose any parameters for automation, but it does let you change various parameters via CC. Which was kinda confusing at first... It is, however, a totally free B3 emulation with some pretty robust features, so I'm glad I can use it in Reaper!
elcalen is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.