Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools
Old 05-09-2022, 07:16 AM   #1
elcalen
Human being with feelings
 
elcalen's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 2,486
Default LV2, CC, and undo points [solved]

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

Last edited by elcalen; 10-31-2025 at 02:58 PM.
elcalen is online now   Reply With Quote
Old 05-09-2022, 06:40 PM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 16,809
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: 2,486
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 online now   Reply With Quote
Old 05-10-2022, 05:50 AM   #4
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 16,809
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: 16,809
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: 2,486
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 online now   Reply With Quote
Old 10-31-2025, 02:45 PM   #7
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 10,981
Default

Quote:
Originally Posted by elcalen View Post
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!
On an interesting note, I'm testing SetBfree with Ardour, which is 100% alien to me, but I figured out how to expose the jillion things that can be automated. I told Ardour to show me all MIDI automation lanes, and I got pedals, vibrato, Leslie speed, overdrive, a lane for every upper drawbar, a lane for every lower drawbar, percussion, swell pedal and on and on.

Looks to me like the automation features are there. REAPER just isn't showing them.
__________________
Glennbo
Hear My Music - Click Me!!!
--
Glennbo is offline   Reply With Quote
Old 10-31-2025, 02:51 PM   #8
elcalen
Human being with feelings
 
elcalen's Avatar
 
Join Date: Sep 2019
Location: Finland
Posts: 2,486
Default

Quote:
Originally Posted by Glennbo View Post
On an interesting note, I'm testing SetBfree with Ardour, which is 100% alien to me, but I figured out how to expose the jillion things that can be automated. I told Ardour to show me all MIDI automation lanes, and I got pedals, vibrato, Leslie speed, overdrive, a lane for every upper drawbar, a lane for every lower drawbar, percussion, swell pedal and on and on.

Looks to me like the automation features are there. REAPER just isn't showing them.
Are you certain those aren't in fact the CC lanes? Just wondering 'cause you said "MIDI automation lanes", and plugin parameter automation doesn't really involve midi in any way.

I have neither setBfree or Ardour installed currently so I can't confirm.
__________________
Artist name Ben Enkindle. Trying to make electronic music with Linux software. In reality most likely just procrastinating.
elcalen is online now   Reply With Quote
Old 10-31-2025, 04:41 PM   #9
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 10,981
Default

Quote:
Originally Posted by elcalen View Post
Are you certain those aren't in fact the CC lanes? Just wondering 'cause you said "MIDI automation lanes", and plugin parameter automation doesn't really involve midi in any way.

I have neither setBfree or Ardour installed currently so I can't confirm.
It looks like it probably is MIDI CC automation lanes, although I went back to see what the prompt says and it read "Show All Automation". But then clicking it shows lanes with values that look like MIDI CC data. 0-127, +64 to -64 and so on. I know absolutely nothing about Ardour and this was the first time I've ever even tried recording anything with it. It is cumbersome to use but seems to handle LV2 plugins somewhat better than REAPER.
__________________
Glennbo
Hear My Music - Click Me!!!
--
Glennbo is offline   Reply With Quote
Reply

Thread Tools

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:25 AM.


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