Old 12-18-2018, 04:59 AM   #1
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,458
Default Why TrackFX_SetNamedConfigParm does not work with "pdc"?

Code:
_, pdc = reaper.TrackFX_GetNamedConfigParm( reaper.GetTrack(0,0), 0, 'pdc' )

This returns '8' for the first FX I have loaded in the first track. If I manually disable PDC (by right-clicking the I/O button), the return value is '0'.


If I enable it again and run this:
Code:
succes = reaper.TrackFX_SetNamedConfigParm( reaper.GetTrack(0,0), 0, "pdc", 0 )

Then it fails to set it to 0. Why?
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 12-18-2018, 05:41 AM   #2
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
Default

The documentation doesn't promise setting it would be possible. It mentions "pdc" only for the getter function.
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Xenakios is offline   Reply With Quote
Old 12-18-2018, 06:44 AM   #3
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,458
Default

That is a pity! I wish Justin could add this ability, in order to avoid working with base64 fx chunks..

Btw, what could be set with this function?
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 12-18-2018, 07:30 AM   #4
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
Default

Quote:
Originally Posted by amagalma View Post
That is a pity! I wish Justin could add this ability, in order to avoid working with base64 fx chunks..

Btw, what could be set with this function?
Some of the ReaPlugins have support for the named configuration parameters, the Reaper changelog mentions the supported properties. (But not how they should be used...)
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Xenakios is offline   Reply With Quote
Old 07-30-2021, 02:37 PM   #5
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,458
Default

3 years later I bumped on to the same 'problem'..


Has anyone found a way to disable pdc for a plugin programmatically?
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma 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:17 AM.


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