Go Back   Cockos Incorporated Forums > REAPER Forums > MIDI Hardware, Control Surfaces, and OSC

Reply
 
Thread Tools Display Modes
Old 05-17-2020, 11:51 AM   #1
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default MPL LearnEditor: project MIDI/OSC learn overview and editing script

UPD: https://forum.cockos.com/showthread.php?t=235521


(a copy of original thread in JSFX forum section)

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 (if someone use them or their tools, let me know, I`ll implement it in 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
  • (removing coming soon) mpl_Parameter Modulation Viewer.lua
  • (removing coming soon) mpl_LearnManager (background).lua
  • (removing coming soon) mpl_Assign audio input parameter modulation with last touched parameter.lua
  • (removing coming soon) mpl_Show and arm envelopes linked to learn for selected tracks.lua


Last edited by mpl; 03-19-2023 at 01:35 PM.
mpl is offline   Reply With Quote
Old 01-31-2023, 12:39 PM   #2
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

most stuff was recently deprecated from LearnEditor v1, dedicated thread here:https://forum.cockos.com/showthread.php?t=235521

I did a cleanup, so these actions now available on Reapack and they use native API thanks to Justin (REAPER 6.73+):

Quote:
MPL Scripts/FX/Decrease LFO speed for last touched parameter
MPL Scripts/FX/Disable LFO for last touched parameter
MPL Scripts/FX/Disable parameter modulation for selected tracks
MPL Scripts/FX/Enable LFO for last touched parameter
MPL Scripts/FX/Enable parameter modulation for selected tracks
MPL Scripts/FX/Increase LFO speed for last touched parameter
MPL Scripts/FX/Remove MIDI learn from focused FX
MPL Scripts/FX/Remove MIDI learn from selected tracks
MPL Scripts/FX/Remove OSC learn from focused FX
MPL Scripts/FX/Remove OSC learn from selected tracks
MPL Scripts/FX/Set auxilary input as a modulation for last touched parameter
MPL Scripts/FX/Set LFO direction to centered for last touched parameter
MPL Scripts/FX/Set LFO direction to negative for last touched parameter
MPL Scripts/FX/Set LFO direction to positive for last touched parameter
MPL Scripts/FX/Set LFO shape to sine for last touched parameter
MPL Scripts/FX/Set LFO speed to 0.5 beat for last touched parameter
MPL Scripts/FX/Set LFO speed to 1 beat for last touched parameter
MPL Scripts/FX/Set LFO speed to 2 beats for last touched parameter
MPL Scripts/FX/Set LFO square to random for last touched parameter
MPL Scripts/FX/Set LFO square to saw L for last touched parameter
MPL Scripts/FX/Set LFO square to saw R for last touched parameter
MPL Scripts/FX/Set LFO square to sine for last touched parameter
MPL Scripts/FX/Set LFO square to triangle for last touched parameter
MPL Scripts/FX/Set main input as a modulation for last touched parameter
I probably forgot something (for exampl LFO speed via mousewheel/controller), so let me know.

Last edited by mpl; 02-02-2023 at 02:38 AM.
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 11:33 AM.


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