Old 05-01-2020, 04:16 AM   #1
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default MPL LearnEditor & ModulationEditor

LearnEditor & ModulationEditor are Lua scripts for REAPER.

Features:
  • LearnEditor - overview and edit project MIDI/OSC learn mappings
  • ModulationEditor - overview and edit project parameter links, LFO, audio control

Requirements:
  • REAPER 6.71+
  • ReaPack 1.2.1+

Install:
  • run ActionList > ReaPack: Browse packages...
  • navigate and install (rightclick) LearnEditor and Various_functions packages, then click 'Apply'
  • run ActionList > ReaPack: Synchronize packages



Attached Images
File Type: jpg Untitled.jpg (30.3 KB, 4806 views)
File Type: jpg Untitled (1).jpg (70.5 KB, 3249 views)

Last edited by mpl; 01-29-2023 at 10:32 PM.
mpl is offline   Reply With Quote
Old 05-01-2020, 04:20 AM   #2
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,827
Default

Wow that looks very useful! Great , I'm going to try it, thank you very much!
Vagelis is online now   Reply With Quote
Old 05-01-2020, 08:55 AM   #3
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

This promises to be very handy, it is definitely a widow missing from REAPER native.


Maybe it will inspire devs indeed :P


Thx for your work !
X-Raym is offline   Reply With Quote
Old 05-03-2020, 02:31 AM   #4
Georgedayren
Human being with feelings
 
Join Date: May 2017
Posts: 84
Default

good work! very useful for big live projects
__________________
Fast Access Pack
Georgedayren is offline   Reply With Quote
Old 05-03-2020, 05:13 AM   #5
Hartley Mays
Human being with feelings
 
Join Date: Sep 2009
Location: Cincinnati, Ohio
Posts: 307
Default ReaLearn?

MPL,

Can this script be used along with Realearn on the same tracks, or should one or the other be used exclusively?

Thanks,
Hartley
Hartley Mays is online now   Reply With Quote
Old 05-03-2020, 10:58 AM   #6
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

Quote:
Originally Posted by Hartley Mays View Post
Can this script be used along with Realearn on the same tracks, or should one or the other be used exclusively?
If it is possible to use TrackFX_Get(Set)NamedConfigParm then yes, I can make ReaLearn configuration support AND native learn in one window.

I don`t really know is that supported for REAPER VST plugins. So it is request more to Helgoboss. And if not - request for Cockos for making it available in the SDK for REAPER VST plugin developers.
mpl is offline   Reply With Quote
Old 05-15-2020, 06:01 AM   #7
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

Nice
X-Raym is offline   Reply With Quote
Old 05-15-2020, 07:22 AM   #8
daniellumertz
Human being with feelings
 
daniellumertz's Avatar
 
Join Date: Dec 2017
Location: Brazil
Posts: 2,008
Default

Quote:
Originally Posted by mpl View Post
In 1.02 you can actually edit bindings by hand:

wooow very useful! Thanks a lot mpl!!! I will be using here looking forward for the updates
daniellumertz is offline   Reply With Quote
Old 05-16-2020, 03:07 AM   #9
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,032
Default

Thanks for sharing.

Export to and import from .csv?

I would suggest not wasting time with Realearn, as it has crashing cases. If nobody experienced those, then good for them. For sure I will not use anything related to Realearn.

Regarding removing old actions, this is a bad style, maybe some people were using those, so with your removing you are destroying their future update compatibility, in case they want to reinstall all on a new machine or so. Why not keeping all older stuff, adding new, with different names, no problem at all.
TonE is offline   Reply With Quote
Old 05-16-2020, 04:33 AM   #10
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

Quote:
Originally Posted by TonE View Post
Regarding removing old actions, this is a bad style, maybe some people were using those, so with your removing you are destroying their future update compatibility, in case they want to reinstall all on a new machine or so. Why not keeping all older stuff, adding new, with different names, no problem at all.
The issue is old stuff implemented badly and not completely safe. I will rewrite it for sure and will share it to others if requested API will be implemented natively. After packages synchronization ReaPack asks for scripts removing. Anyone need deprecated script can just not allow ReaPack to remove it.
mpl is offline   Reply With Quote
Old 05-16-2020, 08:31 AM   #11
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,032
Default

Ok, thanks for your clarification, and keeping on topic, contrary to some of your past posts, great improvement in style, thanks for this my friend.
TonE is offline   Reply With Quote
Old 05-17-2020, 07:18 AM   #12
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

mpl_Show and arm envelopes linked to learn for selected tracks.lua was removed from repository and integrated into LearnEditor.

Also I`ve build a parameter modulation data parser/generator, so it is now support changing parameter modulation values.
mpl is offline   Reply With Quote
Old 05-18-2020, 12:41 PM   #13
daniellumertz
Human being with feelings
 
daniellumertz's Avatar
 
Join Date: Dec 2017
Location: Brazil
Posts: 2,008
Default

Hi mpl, trying your script found this:



I think it is being caused by the channel number. When I learn some MIDI CC on channel 1 this don't happen. Thanks!
daniellumertz is offline   Reply With Quote
Old 05-18-2020, 02:18 PM   #14
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

Quote:
Originally Posted by daniellumertz View Post
I think it is being caused by the channel number. When I learn some MIDI CC on channel 1 this don't happen. Thanks!
That seems wrong reading MIDI CC byte (writing is ok). So this should be fixed for 1.06
mpl is offline   Reply With Quote
Old 05-19-2020, 12:19 AM   #15
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

mpl_Parameter Modulation Viewer and mpl_Assign audio input parameter modulation with last touched parameter.lua removed from ReaPack

Link last two touched FX parameters added to LearnEditor as an internal action instead.
mpl is offline   Reply With Quote
Old 05-19-2020, 08:43 AM   #16
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,175
Default

Quote:
Originally Posted by mpl View Post
Sidenote:
So probably that post is a good feature request to devs: allow to change all Learn and Parameter Modulation stuff via dedicated API.
I know this is not an official FR - but +1 on this - especially for Learn parameters.
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is online now   Reply With Quote
Old 05-22-2020, 03:42 AM   #17
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
Default

Nice!

I was just searching for your scripts and came across this as a bonus!

Was actually looking for the one where you could control many parameters with one other control but where you also allow some handy manipulation of those slave parameters.

I recall you updating it but I didn't get the new version yet so was looking to try it out again

EDIT: found it!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.

Last edited by musicbynumbers; 05-22-2020 at 03:49 AM.
musicbynumbers is online now   Reply With Quote
Old 01-12-2021, 06:15 AM   #18
dupont
Human being with feelings
 
dupont's Avatar
 
Join Date: Nov 2007
Location: France
Posts: 919
Default

Hi,

MPL, is it possible to view the assign parameter of plugins inserted in the master ?
Also letter font is blurry and too little on 5K screen.
dupont is offline   Reply With Quote
Old 03-20-2021, 06:56 AM   #19
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,827
Default

One of the most useful scripts, Cockos should do something like this natively.
Vagelis is online now   Reply With Quote
Old 10-01-2022, 05:09 PM   #20
MonkeyBars
Human being with feelings
 
MonkeyBars's Avatar
 
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,637
Default

Really cool tool, mpl! Thanks
MonkeyBars is offline   Reply With Quote
Old 10-01-2022, 08:29 PM   #21
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

This will be also rebuilt using upcoming functions for get/set learn and modulation from API. Mentioned actions will be separated back.
mpl is offline   Reply With Quote
Old 10-01-2022, 09:40 PM   #22
MonkeyBars
Human being with feelings
 
MonkeyBars's Avatar
 
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,637
Default

Quote:
Originally Posted by mpl View Post
This will be also rebuilt using upcoming functions for get/set learn and modulation from API. Mentioned actions will be separated back.
Amazing! Any idea when those API additions are planned to enter development?
MonkeyBars is offline   Reply With Quote
Old 10-07-2022, 01:45 AM   #23
playpm
Human being with feelings
 
Join Date: Sep 2022
Posts: 1
Default Bug Report

Thanks for this convenient pack! However I found a bug wish it can be fixed, the learnEditor won't show any mapping information for the master track, other tracks are ok.
playpm is offline   Reply With Quote
Old 01-05-2023, 04:36 PM   #24
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

Quote:
Originally Posted by playpm View Post
Thanks for this convenient pack! However I found a bug wish it can be fixed, the learnEditor won't show any mapping information for the master track, other tracks are ok.
I cleared everything and rebuild this from scratch using new API (thanks to Justin). This should handle master track learn also. Let me know if you need some other learn related actions.

mpl is offline   Reply With Quote
Old 01-06-2023, 02:01 AM   #25
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,032
Default

Wow, looks great, midi learn is most important topic in my opinion, regarding management of hardware controllers use together with Reaper, thus converting any RPP into a hardware 'feeling'. There is Realearn, now also this. I have an idea, of CSV export and import of all RPP midi/osc mappings, line by line per mapping, so those could be manipulated outside of Reaper as well, and back reimported. Mainly for name and rule based mapping manipulations using some programming language outside of Reaper. Then we would have 3 options,
1. mpl_LearnEditor 2,
2. realearn,
3. CSV export/import of all mappings (for rule and track,fx,parameter name based manipulations outside of Reaper).
Thanks for sharing, looks wonderful.

I can imagine in this current screenshot, on most left, there could be one more level, box with arrow, where you could write your hardware description, e.g. LPD8 top left button, for example, or LPD8 button 1x1, meaning row 1, column 1... So user would know which hardware component is outputting this midi/osc event as well, directly in this LearnEditor 2 interface / gui.
TonE is offline   Reply With Quote
Old 01-06-2023, 02:46 AM   #26
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,827
Default

Quote:
Originally Posted by mpl View Post
I cleared everything and rebuild this from scratch using new API (thanks to Justin). This should handle master track learn also. Let me know if you need some other learn related actions.

WOW looks great thanks for updating this script, gonna test it right now
Vagelis is online now   Reply With Quote
Old 01-06-2023, 02:58 AM   #27
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,032
Default

Quote:
Originally Posted by Vagelis View Post
One of the most useful scripts, Cockos should do something like this natively.
Only if there is CSV export/import as well, with track,fx,parameter names per mapping and non-mapping. Each available parameter in RPP should be one line in this CSV, no matter if midi/osc mapped or not.
TonE is offline   Reply With Quote
Old 01-06-2023, 03:14 AM   #28
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,827
Default

Sorry but I can't see any nodes or anything in GUI, what am i doing wrong?
Vagelis is online now   Reply With Quote
Old 01-06-2023, 03:20 AM   #29
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Quote:
Originally Posted by Vagelis View Post
Sorry but I can't see any nodes or anything in GUI, what am i doing wrong?
Maybe try to resize the window. For some reason all MPL's scripts open in very small windows.
vitalker is offline   Reply With Quote
Old 01-06-2023, 03:38 AM   #30
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,827
Default

Quote:
Originally Posted by vitalker View Post
Maybe try to resize the window. For some reason all MPL's scripts open in very small windows.
Thanks tried it but still can't see anything: https://imgur.com/toNKBgC
Vagelis is online now   Reply With Quote
Old 01-06-2023, 03:45 AM   #31
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Quote:
Originally Posted by Vagelis View Post
Thanks tried it but still can't see anything: https://imgur.com/toNKBgC
Is it docked? Undock it and resize to almost whole screen.
vitalker is offline   Reply With Quote
Old 01-06-2023, 04:04 AM   #32
Vagelis
Human being with feelings
 
Vagelis's Avatar
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,827
Default

Quote:
Originally Posted by vitalker View Post
Is it docked? Undock it and resize to almost whole screen.
Tried it but still can't see anything.
Vagelis is online now   Reply With Quote
Old 01-06-2023, 04:07 AM   #33
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Quote:
Originally Posted by Vagelis View Post
Tried it but still can't see anything.
I've synchronized packages and get same behavior. Looks like a bug.
vitalker is offline   Reply With Quote
Old 01-06-2023, 05:10 AM   #34
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

Quote:
Originally Posted by vitalker View Post
I've synchronized packages and get same behavior. Looks like a bug.
Are you sure you have REAPER 6.71+?
mpl is offline   Reply With Quote
Old 01-06-2023, 05:12 AM   #35
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Quote:
Originally Posted by mpl View Post
Are you sure you have REAPER 6.71+?
Yes, I am using it on 6.73. Everything is latest.
vitalker is offline   Reply With Quote
Old 01-06-2023, 06:05 AM   #36
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

Quote:
Originally Posted by vitalker View Post
Yes, I am using it on 6.73. Everything is latest.
Please share RPP (ideally with Reaper plugins with learn that doesn`t shown in LearnEditor).
mpl is offline   Reply With Quote
Old 01-06-2023, 06:52 AM   #37
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Quote:
Originally Posted by mpl View Post
Please share RPP (ideally with Reaper plugins with learn that doesn`t shown in LearnEditor).
Just Cockos plugins.
Attached Files
File Type: rpp Test.rpp (6.0 KB, 76 views)
vitalker is offline   Reply With Quote
Old 01-06-2023, 08:26 AM   #38
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

Quote:
Originally Posted by vitalker View Post
Just Cockos plugins.
There is not any learn mapping in this project.
Are you sure you actually linkув plugin parameter to a MIDI controller in a normal way (move param -> plugin header -> Param -> Learn)?
mpl is offline   Reply With Quote
Old 01-06-2023, 08:29 AM   #39
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Quote:
Originally Posted by mpl View Post
There is not any learn mapping in this project.
Are you sure you actually linkув plugin parameter to a MIDI controller in a normal way (move param -> plugin header -> Param -> Learn)?
You are right, sorry.
vitalker is offline   Reply With Quote
Old 01-06-2023, 09:20 AM   #40
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

Quote:
Originally Posted by TonE View Post
CSV export/import of all mappings (for rule and track,fx,parameter name based manipulations outside of Reaper).
Thanks for sharing, looks wonderful.
implemented in 2.01

Quote:
Originally Posted by TonE View Post
I can imagine in this current screenshot, on most left, there could be one more level, box with arrow, where you could write your hardware description, e.g. LPD8 top left button, for example, or LPD8 button 1x1, meaning row 1, column 1... So user would know which hardware component is outputting this midi/osc event as well, directly in this LearnEditor 2 interface / gui.
Alias for control nodes also added for 2.01. This isn`t exported/imported since aliases stored globally in the reaper-ext.ini
mpl 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 06:05 AM.


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