Old 05-01-2020, 04:16 AM   #1
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,831
Default MPL LearnEditor: project MIDI/OSC learn and parameter modulation

LearnEditor is a Lua script for REAPER.

Features:
  • overview project MIDI/OSC learn and parameter modulation
  • allow to edit/remove learn/modulation per track
  • allow to edit/remove learn/modulation per FX
  • clicking on FX float FX, clicking on parameter name open learn or parameter modulation settings window
  • Set of actions (see below)

Learn editor provide following actions inside (based on internal script data structure):
  • Show and arm envelopes linked to learn/pmod for selected tracks
  • Show and arm envelopes linked to learn/pmod for all tracks
  • Remove selected tracks MIDI mappings
  • Remove selected tracks OSC mappings
  • Remove selected track parameter modulation
Requirements:
REAPER 5.95+
SWS Extension 2.9.7+
ReaPack 1.2+
Download: ReaPack.com (MPL`s repository is embedded into default ReaPack configuration)

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

Sidenote:
The script uses chunking. Be careful and use at your own risk (the script was tested on my own big projects though). So probably that post is a good feature request to devs: allow to change all Learn and Parameter Modulation stuff via dedicated API. Because of script handles things not yet implemented natively in REAPER, I removed following scripts from ReaPack and ported to LearnEditor:
  • mpl_Delete all MIDI OSC learn from focused FX.lua
  • mpl_Delete all MIDI OSC learn from selected track.lua
  • mpl_List all MIDI OSC learn for current project.lua
  • mpl_List all MIDI OSC learn for focused FX.lua
  • mpl_Remove parameter modulation from focused FX.lua
  • mpl_Remove parameter modulation from last touched FX parameter.lua
  • mpl_Remove parameter modulation from selected tracks.lua
  • mpl_Parameter Modulation Viewer.lua
  • mpl_Assign audio input parameter modulation with last touched parameter.lua
  • mpl_Show and arm envelopes linked to learn for selected tracks.lua
  • (removing coming soon) mpl_LearnManager (background).lua

__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate

Last edited by mpl; 05-24-2020 at 03:27 AM.
mpl is offline   Reply With Quote
Old 05-01-2020, 04:20 AM   #2
Vagelis
Human being with feelings
 
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 695
Default

Wow that looks very useful! Great , I'm going to try it, thank you very much!
Vagelis is offline   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: 6,516
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: 73
Default

good work! very useful for big live projects
__________________
Donate
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: 254
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 offline   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: 2,831
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.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
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: 6,516
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
Posts: 158
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: 2,518
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: 2,831
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.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
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: 2,518
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: 2,831
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.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
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
Posts: 158
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: 2,831
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
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
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: 2,831
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.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 05-19-2020, 08:43 AM   #16
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,605
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:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 05-22-2020, 03:42 AM   #17
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: brighton, uk
Posts: 12,912
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
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 07:03 AM.


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