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

Reply
 
Thread Tools Display Modes
Old 08-30-2020, 07:49 AM   #1
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,298
Default StateChunks don't update PARMLEARN and LFOLEARN when using ReaEQ

I just noticed a strange behavior, when I add a LFOLEARN or PARMLEARN of ReaEQ to wet and bypass.

Let's say, I add a new instance of ReaEQ with factory default settings, I can add PARMLEARN and LFOLEARN to it and it will be added as, e.g.:

Code:
LFOLEARN 12:bypass 0 11 OSCMessage
PARMLEARN 12:bypass 0 3 OSCMessage
so the parameter-index is 12 for bypass.

Now, if I add another band, the parameter index for bypass moves to 15, which even can be added now as well. So if I make another PARMLEARN via UI, the statechunk can read the following way:

Code:
LFOLEARN 12:bypass 0 11 OSCMessage
PARMLEARN 12:bypass 0 3 OSCMessage
PARMLEARN 15:bypass 0 3 OSCMessage
I would expect, that the PARMLEARN-entry 12 would be updated to 15, if bypass changes from position 12 to 15 when I add a new band:
Code:
LFOLEARN 12:bypass 0 11 OSCMessage
PARMLEARN 15:bypass 0 3 OSCMessage
Is this expected and how can I find out, which one is now the real learned parameter for bypass and wet?
And is 12:bypass now used for parameter 12, which is not bypass anymore or is it used for 15:bypass as well, as it has :bypass in it's numbering?

The same problem goes for LFOLEARN.

Tested on Windows 7 Reaper 6.11x64
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish

Last edited by Meo-Ada Mespotine; 08-30-2020 at 08:36 AM.
Meo-Ada Mespotine is offline   Reply With Quote
Old 09-05-2020, 02:31 PM   #2
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,298
Default

Bump.

This is the last bit I need to know to finish up my ParameterModulation/Learn/Alias-functions and I don't want to work this based on false assumptions on my side on how Reaper does it currently...

Thanks in advance
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 09-07-2020, 12:25 PM   #3
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 3,946
Default

Will PARMLEARN work soon correclty, hopefully? Cool, thanks for all your work.

But for bypass you can always count the number of parameters and usually bypass and wet are the last two always, wet=last parameter, bypass=second last. Not sure if this helps. Just wanted to mention. I find both parameters very useful, for quick and fun mappings, where precision does not count that much, because of phase issues or so.

Example: You bring a monster effect for just a short time, then remove it quickly again. Here nobody cares of phase issues, the effect is already monstreous.
TonE is offline   Reply With Quote
Old 09-07-2020, 12:41 PM   #4
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,298
Default

Yes, this is the last bit missing. Everything else works already.

The problem in here is that two or more can be associated with :bypass or :wet in StateChunks so I just need to know, if the parmindex is used or :wet :bypass as primary indicator of association.
It's important to know if I need to take care of this in my functions or rather the docs about them.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 09-13-2020, 01:55 AM   #5
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 3,946
Default

I would guess parmindex, as it is more general, or not?
TonE is offline   Reply With Quote
Old 09-13-2020, 07:10 AM   #6
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,298
Default

Problem is, I need to know. Guesses don't really help me. I want to avoid guessing wrong and therefore messing up the functions because of that... :/
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish
Meo-Ada Mespotine 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 08:51 PM.


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