COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > Other Software Discussion > WDL users forum

Reply
 
Thread Tools Display Modes
Old 06-11-2018, 03:33 PM   #1
mrlimbic
Human being with feelings
 
mrlimbic's Avatar
 
Join Date: Nov 2009
Location: UK
Posts: 537
Default GetParam giving back wrong value suddenly?

Are you allowed to use GetParam in ProcessDoubleReplacing?

I've been doing it up until now without problem.

But today I decided to do a bit more work and what was working before no longer is.

I put some print statements in and GetParam() is returning a different value that is showing on my custom control.

All I can think of is the AuxParams in my control are no longer getting pushed to the plugin itself. Why would that start happening?
__________________
Mac OS X 10.11.x, Motu Ultralite, Reaper, FCP X.
http://vordio.net
http://twitter.com/vordio
mrlimbic is offline   Reply With Quote
Old 06-11-2018, 11:38 PM   #2
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: Holland
Posts: 2,905
Default

Quote:
Originally Posted by mrlimbic View Post
Are you allowed to use GetParam in ProcessDoubleReplacing?
Yes.

Quote:
Originally Posted by mrlimbic View Post
All I can think of is the AuxParams in my control are no longer getting pushed to the plugin itself. Why would that start happening?
I don't know... But I do seem to recall that I ran into an issue with AuxParams not being initialized properly i.e. you have to be careful to init their values after you add them.
Tale is offline   Reply With Quote
Old 06-12-2018, 05:25 AM   #3
mrlimbic
Human being with feelings
 
mrlimbic's Avatar
 
Join Date: Nov 2009
Location: UK
Posts: 537
Default

Quote:
Originally Posted by Tale View Post
Yes.
I don't know... But I do seem to recall that I ran into an issue with AuxParams not being initialized properly i.e. you have to be careful to init their values after you add them.
Talking of AuxParams. What is their purpose? I'm not sure why they exist. Why not just use the original params?

PS I found the issue. I'd added a weird test line somewhere unexpected while experimenting with something else but forgot to comment it out.
__________________
Mac OS X 10.11.x, Motu Ultralite, Reaper, FCP X.
http://vordio.net
http://twitter.com/vordio
mrlimbic is offline   Reply With Quote
Old 06-12-2018, 05:39 AM   #4
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: Holland
Posts: 2,905
Default

Quote:
Originally Posted by mrlimbic View Post
Talking of AuxParams. What is their purpose? I'm not sure why they exist. Why not just use the original params?
It's been a while since I looked at WDL-OL, but I think it's for when you have a single control (e.g. an XY pad, or an EQ graph) that should update 2 or more parameters.
Tale is offline   Reply With Quote
Old 06-13-2018, 03:43 AM   #5
random_id
Human being with feelings
 
random_id's Avatar
 
Join Date: May 2012
Location: PA, USA
Posts: 338
Default

Quote:
Originally Posted by Tale View Post
It's been a while since I looked at WDL-OL, but I think it's for when you have a single control (e.g. an XY pad, or an EQ graph) that should update 2 or more parameters.
That is what I am doing. I have one control that uses Aux param for an XY pad. I don't think I use it for anything else.
__________________
Website: LVC-Audio
random_id is offline   Reply With Quote
Old 06-13-2018, 04:29 AM   #6
mrlimbic
Human being with feelings
 
mrlimbic's Avatar
 
Join Date: Nov 2009
Location: UK
Posts: 537
Default

Yeah. My control has 7 parameters. I basically copied the XYPad example but wasn't sure why it didn't just use normal parameters.

Maybe it's so you can push them to normal parameters all at once?
__________________
Mac OS X 10.11.x, Motu Ultralite, Reaper, FCP X.
http://vordio.net
http://twitter.com/vordio
mrlimbic 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 12:05 PM.


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