Old 07-25-2017, 04:21 AM   #1
NextLevel
Human being with feelings
 
Join Date: Dec 2014
Posts: 417
Default Request, if it's possible?

What I need is a way to setup an fx parameter mapping based on lasted touched parameter.

Example:
-------
I have multiple fx and I want to map from a specific param. of fx-1 (we'll call the param. P1) to the last touched parameter of the last touched fx.

I would like the script to run in defer mode so that I can make multiple mappings from P1, but I would also like a key command that could erase the last mapping or perhaps if you're ambitious, a UI that would keep track of the mappings and just let me deselect the ones I don't want anymore.

If anyone could hook me up that would be awesome!

Thanks
NextLevel is offline   Reply With Quote
Old 07-25-2017, 09:42 AM   #2
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

mpl_Store source for further modulation from last touched parameter
save string with FX number and parameter number to global external state (/REAPER/reaper-kb.ini, key=copypaste_plugin_link)
mpl_Create modulation link on same track from stored buffer
links this parameter as master for another parameter for last touched FX parameter on same track
mpl is offline   Reply With Quote
Old 07-25-2017, 01:43 PM   #3
NextLevel
Human being with feelings
 
Join Date: Dec 2014
Posts: 417
Default

Quote:
Originally Posted by mpl View Post
mpl_Store source for further modulation from last touched parameter
save string with FX number and parameter number to global external state (/REAPER/reaper-kb.ini, key=copypaste_plugin_link)
mpl_Create modulation link on same track from stored buffer
links this parameter as master for another parameter for last touched FX parameter on same track
Ah, spasibo mpl! I haven't tried it yet, but it looks like this might do just what I was hoping for.
NextLevel is offline   Reply With Quote
Old 07-26-2017, 08:52 PM   #4
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,812
Default

Quote:
Originally Posted by mpl View Post
mpl_Store source for further modulation from last touched parameter
save string with FX number and parameter number to global external state (/REAPER/reaper-kb.ini, key=copypaste_plugin_link)
mpl_Create modulation link on same track from stored buffer
links this parameter as master for another parameter for last touched FX parameter on same track

Hi mpl! i couldn't make the paste script work: the "slaved" parameter was never showing in the modulation link window, .. i changed your chunk to:
insert_chunk =
[[
<PROGRAMENV ]]..dest_param..[[ 0
PARAMBASE 0
LFO 0
LFOWT 1 1
AUDIOCTL 0
AUDIOCTLWT 1 1
PLINK 1 ]]..src_fx..[[0:0 ]]..src_param..[[ 0
>
]]

apperently it works now. but i don't know what: "0:0" instead of ":-1" does
deeb is offline   Reply With Quote
Old 07-29-2017, 08:13 AM   #5
NextLevel
Human being with feelings
 
Join Date: Dec 2014
Posts: 417
Default

Quote:
Originally Posted by mpl View Post
mpl_Store source for further modulation from last touched parameter
save string with FX number and parameter number to global external state (/REAPER/reaper-kb.ini, key=copypaste_plugin_link)
mpl_Create modulation link on same track from stored buffer
links this parameter as master for another parameter for last touched FX parameter on same track
I can't seem to get this to work from one plugin to a different plugin. It works within the same plugin though. The plugins are both on the same track.
I do not see any entries in the reaper-estate.ini file.
I did not install the scripts via ReaPack, not sure if that makes any difference?
NextLevel is offline   Reply With Quote
Old 07-29-2017, 10:57 AM   #6
NextLevel
Human being with feelings
 
Join Date: Dec 2014
Posts: 417
Default

It works within the same plugin.
I just can't seem to make it work between two different plugins.

Example:
1) Wiggle parameter in plugin #1
2) Run "mpl_Store source"
3) Wiggle parameter in plugin #2
4) Run "mpl_Create modulation"
NextLevel is offline   Reply With Quote
Old 07-29-2017, 06:30 PM   #7
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

It is strongly recommended to use ReaPack to keep stuff up-to-date.
Both scripts removed from repository as obsolete. Take a look at just added mpl_Parameter Modulation Viewer.lua for this kind of things.



Quote:
Originally Posted by deeb View Post
...but i don't know what: "0:0" instead of ":-1" does
It was a bug in my script. "0:-1" means "from 1st source FX to destination FX which is 1 level upper than source FX" (noticed by reverse engeneering)
mpl is offline   Reply With Quote
Old 07-29-2017, 06:56 PM   #8
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,812
Default

really nice mpl wawawee i imagine all modulated parameters of selected track on that panel
deeb is offline   Reply With Quote
Old 07-29-2017, 10:36 PM   #9
NextLevel
Human being with feelings
 
Join Date: Dec 2014
Posts: 417
Default

@mpl,

Spasibo yeshcho raz!

Small request if ypu don't mind?
Ability to 'unlink last touched' as well, and maybe 'unlink all' too.

Last edited by NextLevel; 07-29-2017 at 10:53 PM.
NextLevel is offline   Reply With Quote
Old 07-30-2017, 09:37 AM   #10
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,812
Default

Also as IXix some days ago requested in Forum Request section
"Sometimes I want to link several parameters to the same source or have identical LFO settings and setting it up is a slow process with way too much clicking involved.

It would be so much faster and easier if we could drag and drop modulation settings from one parameter to another in the Project Bay FX Parameters tab. If drag/drop can't be done, copy/paste options in the right-click menu would be good enough"

This could be implemented here ! ! mpl?
deeb is offline   Reply With Quote
Old 08-02-2017, 11:04 AM   #11
NextLevel
Human being with feelings
 
Join Date: Dec 2014
Posts: 417
Default

@mpl,

Just noticed the new remove linked modulation script. Thanks!
I agree with Anton9, It should be one script with both functions.

Cheers!
NextLevel is offline   Reply With Quote
Old 08-03-2017, 10:49 AM   #12
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by deeb View Post
Also as IXix some days ago requested in Forum Request section
"Sometimes I want to link several parameters to the same source or have identical LFO settings and setting it up is a slow process with way too much clicking involved.

It would be so much faster and easier if we could drag and drop modulation settings from one parameter to another in the Project Bay FX Parameters tab. If drag/drop can't be done, copy/paste options in the right-click menu would be good enough"

This could be implemented here ! ! mpl?
added
mpl is offline   Reply With Quote
Old 08-03-2017, 05:06 PM   #13
Anton9
Human being with feelings
 
Anton9's Avatar
 
Join Date: Jun 2009
Location: Earth
Posts: 1,340
Default

New LFO scripts.., NICE! Thank you.
Anton9 is offline   Reply With Quote
Old 08-09-2017, 06:22 AM   #14
Anton9
Human being with feelings
 
Anton9's Avatar
 
Join Date: Jun 2009
Location: Earth
Posts: 1,340
Default

Hey guys,

I modded mpl's Parameter Modulation Viewer script. It just combines these scripts into the viewer/linker;

mpl_Remove parameter modulation from focused FX
mpl_Remove parameter modulation from last touched FX parameter
mpl_Remove parameter modulation from selected tracks

plus I added 'Show Last Mod' which just opens REAPER's Parameter Modulation/Link dialog so you can turn on LFO if you like.

Get it here.
https://stash.reaper.fm/31392/mpl_Pa...20Viewer_2.lua

Last edited by Anton9; 08-09-2017 at 01:52 PM.
Anton9 is offline   Reply With Quote
Old 08-10-2017, 03:40 AM   #15
NextLevel
Human being with feelings
 
Join Date: Dec 2014
Posts: 417
Default

Quote:
Originally Posted by Anton9 View Post
Hey guys,

I modded mpl's Parameter Modulation Viewer script. It just combines these scripts into the viewer/linker;

mpl_Remove parameter modulation from focused FX
mpl_Remove parameter modulation from last touched FX parameter
mpl_Remove parameter modulation from selected tracks

plus I added 'Show Last Mod' which just opens REAPER's Parameter Modulation/Link dialog so you can turn on LFO if you like.

Get it here.
https://stash.reaper.fm/31392/mpl_Pa...20Viewer_2.lua
Cool, thanks Anton!
NextLevel 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:26 AM.


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