08-29-2024, 12:16 AM
|
#1 |
|
Human being with feelings
Join Date: Jun 2021
Posts: 107
|
Hi all, I've created a simple script for making your own menus in Reaper.
Usage (Automatic): ![]()
Usage (Manual): ![]()
Install: Add this ReaPack index: Code:
https://raw.githubusercontent.com/jamesWalker55/reaper-scripting-5-index/main-index/index.xml Menus are defined in the TXT file. You should not edit the contents of the Lua file at all. Every line is a menu item. There are 4 types of menu items: Regular items / Commands: Code:
This is a command! [COMMAND_ID] Increase MIDI channel of selected notes [40771] (SWS) Toggle MIDI grid to triplet [_NF_ME_TOGGLETRIPLET] Labels: Code:
# This is a label! Separators: Code:
# The next line is a separator --- # Here is another separator ----- Submenus: Code:
Here is a submenu:
Cool action 1 [123]
Cool action 2 [456]
Another submenu:
Cool action 3 [123]
More submenus:
Cool action 5 [999]
Cool action 4 [456]
Example Menus: A simple MIDI channel menu: ![]() Code:
# Selected Events
Increase channel (&Next) [40771]
Decrease channel (&Previous) [40772]
&Move to channel:
1 [40020]
2 [40021]
3 [40022]
4 [40023]
5 [40024]
6 [40025]
7 [40026]
8 [40027]
9 [40028]
10 [40029]
11 [40030]
12 [40031]
13 [40032]
14 [40033]
15 [40034]
16 [40035]
---
# Show...
All channels [40217]
Only channel...:
1 [40218]
2 [40219]
3 [40220]
4 [40221]
5 [40222]
6 [40223]
7 [40224]
8 [40225]
9 [40226]
10 [40227]
11 [40228]
12 [40229]
13 [40230]
14 [40231]
15 [40232]
16 [40233]
---
# New Events
Set channel for new events:
1 [40482]
2 [40483]
3 [40484]
4 [40485]
5 [40486]
6 [40487]
7 [40488]
8 [40489]
9 [40490]
10 [40491]
11 [40492]
12 [40493]
13 [40494]
14 [40495]
15 [40496]
16 [40497]
Selecting a single note sets the channel for new events [42466]
![]() Code:
# Toggle grid modifiers
S&wing [_NF_ME_TOGGLESWING]
&Triplet [_NF_ME_TOGGLETRIPLET]
&Dotted [_NF_ME_TOGGLEDOTTED]
---
Timebase:
Project beats [40459]
Source beats [40470]
Project time [40460]
Project sync [40461]
Help... [40742]
---
# Options
Snap to grid [1014]
Snap relative to grid [40829]
Grid visible [1017]
Sync with arrange view's grid [41022]
![]() Code:
# Arpeggiate notes
Ascending [_kawa_MIDI2_GenerateArpeggio]
Random [_kawa_MIDI2_GenerateRandomArpeggio]
---
# Duplicate notes
One octave higher [40884]
One octave lower [40885]
---
# Flip notes (selected)
Vertically [40908]
Vertically (preserving pitch) [40906]
Horizontally [40902]
(All notes):
Vertically [40907]
Vertically (preserving pitch) [40905]
Horizontally [40019]
---
Join notes [40456]
Legato notes [40765]
Legato notes (Relative note spacing) [40766]
__________________
80gray - Minimalist REAPER 7.0 theme Last edited by kotll; 11-13-2024 at 10:19 PM. |
|
|
11-13-2024, 10:20 PM
|
#2 |
|
Human being with feelings
Join Date: Jun 2021
Posts: 107
|
New 0.0.2 version update. This now includes a script with a nice GUI to create the menu for you.
__________________
80gray - Minimalist REAPER 7.0 theme |
|
|
![]() |
| Thread Tools | |
|
|