├── .gitattributes ├── .github └── workflows │ ├── check.yml │ └── deploy.yml ├── .gitignore ├── FX ├── Remove send from selected track(s) (bundle) │ ├── sr_Remove send 1 from selected track(s).lua │ ├── sr_Remove send 2 from selected track(s).lua │ ├── sr_Remove send 3 from selected track(s).lua │ ├── sr_Remove send 4 from selected track(s).lua │ ├── sr_Remove send from selected track(s) (bundle).lua │ └── sr_Remove send from selected track(s) function.lua ├── Send selected track(s) to BUS and remove master send (bundle) │ ├── sr_Send selected track(s) to BUS and remove master send (bundle).lua │ ├── sr_Send selected track(s) to BUS and remove master send function.lua │ ├── sr_Send selected track(s) to BUS01 and remove master send.lua │ ├── sr_Send selected track(s) to BUS02 and remove master send.lua │ ├── sr_Send selected track(s) to BUS03 and remove master send.lua │ ├── sr_Send selected track(s) to BUS04 and remove master send.lua │ ├── sr_Send selected track(s) to BUS05 and remove master send.lua │ ├── sr_Send selected track(s) to BUS06 and remove master send.lua │ ├── sr_Send selected track(s) to BUS07 and remove master send.lua │ ├── sr_Send selected track(s) to BUS08 and remove master send.lua │ ├── sr_Send selected track(s) to BUS09 and remove master send.lua │ ├── sr_Send selected track(s) to BUS10 and remove master send.lua │ ├── sr_Send selected track(s) to BUS11 and remove master send.lua │ ├── sr_Send selected track(s) to BUS12 and remove master send.lua │ ├── sr_Send selected track(s) to BUS13 and remove master send.lua │ ├── sr_Send selected track(s) to BUS14 and remove master send.lua │ ├── sr_Send selected track(s) to BUS15 and remove master send.lua │ └── sr_Send selected track(s) to BUS16 and remove master send.lua ├── Send selected track(s) to FX track (bundle) │ ├── sr_Send selected track(s) to FX track (bundle).lua │ ├── sr_Send selected track(s) to FX track function.lua │ ├── sr_Send selected track(s) to FX1.lua │ ├── sr_Send selected track(s) to FX2.lua │ ├── sr_Send selected track(s) to FX3.lua │ └── sr_Send selected track(s) to FX4.lua ├── Toggle show UI of all FX in send (bundle) │ ├── sr_Toggle show UI of all FX in send (bundle).lua │ ├── sr_Toggle show UI of all FX in send 1.lua │ ├── sr_Toggle show UI of all FX in send 2.lua │ ├── sr_Toggle show UI of all FX in send 3.lua │ ├── sr_Toggle show UI of all FX in send 4.lua │ └── sr_Toggle show UI of all FX in send function.lua └── Toggle show UI of all FX in send track with prefix (bundle) │ ├── sr_Toggle show UI of all FX in send track prefixed with FX1.lua │ ├── sr_Toggle show UI of all FX in send track prefixed with FX2.lua │ ├── sr_Toggle show UI of all FX in send track prefixed with FX3.lua │ ├── sr_Toggle show UI of all FX in send track prefixed with FX4.lua │ ├── sr_Toggle show UI of all FX in send track with prefix (bundle).lua │ └── sr_Toggle show UI of all FX in send track with prefix function.lua ├── Items Editing ├── sr_Align selected item(s) to item under mouse cursor.lua ├── sr_Move items to timecode (in filename).lua ├── sr_Open MIDI editor and zoom to 5 measures (zoom center is edit cursor).lua ├── sr_Open MIDI editor and zoom to content.lua ├── sr_Render VSTi item(s) without track FX and delete MIDI take(s).lua ├── sr_Render VSTi item(s) without track FX.lua ├── sr_Trim head of item(s) and delete item(s) before mouse cursor.lua └── sr_Trim tail of item(s) and delete item(s) after mouse cursor.lua ├── LICENSE ├── MIDI Editor ├── Add notes interval (bundle) │ ├── sr_Add notes +12.lua │ ├── sr_Add notes +24.lua │ ├── sr_Add notes -12.lua │ ├── sr_Add notes -24.lua │ ├── sr_Add notes interval (bundle).lua │ └── sr_Add notes interval function.lua ├── Change note length by ticks (bundle) │ ├── sr_Change note length - lengthen by 10 ticks.lua │ ├── sr_Change note length - shorten by 10 ticks.lua │ ├── sr_Change note length by ticks (bundle).lua │ └── sr_Change note length by ticks function.lua ├── Change velocity (bundle) │ ├── sr_Change velocity (bundle).lua │ ├── sr_Change velocity +1.lua │ ├── sr_Change velocity +2.lua │ ├── sr_Change velocity +5.lua │ ├── sr_Change velocity +6.lua │ ├── sr_Change velocity -1.lua │ ├── sr_Change velocity -2.lua │ ├── sr_Change velocity -5.lua │ ├── sr_Change velocity -6.lua │ └── sr_Change velocity function.lua ├── Copy CC to CC (bundle) │ ├── sr_Copy CC to CC (bundle).lua │ ├── sr_Copy CC to CC function.lua │ ├── sr_Copy CC1 to CC11.lua │ ├── sr_Copy CC1 to CC2.lua │ ├── sr_Copy CC1 to CC7.lua │ ├── sr_Copy CC11 to CC1.lua │ ├── sr_Copy CC11 to CC2.lua │ ├── sr_Copy CC11 to CC7.lua │ ├── sr_Copy CC2 to CC1.lua │ ├── sr_Copy CC2 to CC11.lua │ ├── sr_Copy CC2 to CC7.lua │ ├── sr_Copy CC7 to CC1.lua │ ├── sr_Copy CC7 to CC11.lua │ └── sr_Copy CC7 to CC2.lua ├── Decrease CC (bundle) │ ├── sr_Decrease CC (bundle).lua │ ├── sr_Decrease CC function.lua │ ├── sr_Decrease CC1.lua │ ├── sr_Decrease CC11.lua │ ├── sr_Decrease CC2.lua │ └── sr_Decrease CC7.lua ├── Delete CC (bundle) │ ├── sr_Delete CC (bundle).lua │ ├── sr_Delete CC function.lua │ ├── sr_Delete CC1.lua │ ├── sr_Delete CC11.lua │ ├── sr_Delete CC2.lua │ ├── sr_Delete CC64.lua │ ├── sr_Delete CC7.lua │ └── sr_Delete all CCs.lua ├── Delete CC after edit cursor (bundle) │ ├── sr_Delete CC after edit cursor (bundle).lua │ ├── sr_Delete CC after edit cursor function.lua │ ├── sr_Delete CC1 after edit cursor.lua │ ├── sr_Delete CC11 after edit cursor.lua │ ├── sr_Delete CC2 after edit cursor.lua │ ├── sr_Delete CC64 after edit cursor.lua │ ├── sr_Delete CC7 after edit cursor.lua │ └── sr_Delete all CCs after edit cursor.lua ├── Delete CC before edit cursor (bundle) │ ├── sr_Delete CC before edit cursor (bundle).lua │ ├── sr_Delete CC before edit cursor function.lua │ ├── sr_Delete CC1 before edit cursor.lua │ ├── sr_Delete CC11 before edit cursor.lua │ ├── sr_Delete CC2 before edit cursor.lua │ ├── sr_Delete CC64 before edit cursor.lua │ ├── sr_Delete CC7 before edit cursor.lua │ └── sr_Delete all CCs before edit cursor.lua ├── Human quantize notes (bundle) │ ├── sr_Human quantize notes (bundle).lua │ ├── sr_Human quantize notes 50 percent - 1-1.lua │ ├── sr_Human quantize notes 50 percent - 1-16 triplets.lua │ ├── sr_Human quantize notes 50 percent - 1-16.lua │ ├── sr_Human quantize notes 50 percent - 1-2.lua │ ├── sr_Human quantize notes 50 percent - 1-4 triplets.lua │ ├── sr_Human quantize notes 50 percent - 1-4.lua │ ├── sr_Human quantize notes 50 percent - 1-8 triplets.lua │ ├── sr_Human quantize notes 50 percent - 1-8.lua │ ├── sr_Human quantize notes 50 percent - grid.lua │ └── sr_Human quantize notes function.lua ├── Increase CC (bundle) │ ├── sr_Increase CC (bundle).lua │ ├── sr_Increase CC function.lua │ ├── sr_Increase CC1.lua │ ├── sr_Increase CC11.lua │ ├── sr_Increase CC2.lua │ └── sr_Increase CC7.lua ├── Move CC to CC (bundle) │ ├── sr_Move CC to CC (bundle).lua │ ├── sr_Move CC to CC function.lua │ ├── sr_Move CC1 to CC11.lua │ ├── sr_Move CC1 to CC2.lua │ ├── sr_Move CC1 to CC7.lua │ ├── sr_Move CC11 to CC1.lua │ ├── sr_Move CC11 to CC2.lua │ ├── sr_Move CC11 to CC7.lua │ ├── sr_Move CC2 to CC1.lua │ ├── sr_Move CC2 to CC11.lua │ ├── sr_Move CC2 to CC7.lua │ ├── sr_Move CC7 to CC1.lua │ ├── sr_Move CC7 to CC11.lua │ └── sr_Move CC7 to CC2.lua ├── Nudge note end left to previous grid (bundle) │ ├── sr_Nudge note end left to previous grid (bundle).lua │ ├── sr_Nudge note end left to previous grid - 1-1.lua │ ├── sr_Nudge note end left to previous grid - 1-16 triplets.lua │ ├── sr_Nudge note end left to previous grid - 1-16.lua │ ├── sr_Nudge note end left to previous grid - 1-2.lua │ ├── sr_Nudge note end left to previous grid - 1-4 triplets.lua │ ├── sr_Nudge note end left to previous grid - 1-4.lua │ ├── sr_Nudge note end left to previous grid - 1-8 triplets.lua │ ├── sr_Nudge note end left to previous grid - 1-8.lua │ ├── sr_Nudge note end left to previous grid - grid.lua │ └── sr_Nudge note end left to previous grid function.lua ├── Nudge note end right to next grid (bundle) │ ├── sr_Nudge note end right to next grid (bundle).lua │ ├── sr_Nudge note end right to next grid - 1-1.lua │ ├── sr_Nudge note end right to next grid - 1-16 triplets.lua │ ├── sr_Nudge note end right to next grid - 1-16.lua │ ├── sr_Nudge note end right to next grid - 1-2.lua │ ├── sr_Nudge note end right to next grid - 1-4 triplets.lua │ ├── sr_Nudge note end right to next grid - 1-4.lua │ ├── sr_Nudge note end right to next grid - 1-8 triplets.lua │ ├── sr_Nudge note end right to next grid - 1-8.lua │ ├── sr_Nudge note end right to next grid - grid.lua │ └── sr_Nudge note end right to next grid function.lua ├── Nudge note start left to previous grid (bundle) │ ├── sr_Nudge note start left to previous grid (bundle).lua │ ├── sr_Nudge note start left to previous grid - 1-1.lua │ ├── sr_Nudge note start left to previous grid - 1-16 triplets.lua │ ├── sr_Nudge note start left to previous grid - 1-16.lua │ ├── sr_Nudge note start left to previous grid - 1-2.lua │ ├── sr_Nudge note start left to previous grid - 1-4 triplets.lua │ ├── sr_Nudge note start left to previous grid - 1-4.lua │ ├── sr_Nudge note start left to previous grid - 1-8 triplets.lua │ ├── sr_Nudge note start left to previous grid - 1-8.lua │ ├── sr_Nudge note start left to previous grid - grid.lua │ └── sr_Nudge note start left to previous grid function.lua ├── Nudge note start right to next grid (bundle) │ ├── sr_Nudge note start right to next grid (bundle).lua │ ├── sr_Nudge note start right to next grid - 1-1.lua │ ├── sr_Nudge note start right to next grid - 1-16 triplets.lua │ ├── sr_Nudge note start right to next grid - 1-16.lua │ ├── sr_Nudge note start right to next grid - 1-2.lua │ ├── sr_Nudge note start right to next grid - 1-4 triplets.lua │ ├── sr_Nudge note start right to next grid - 1-4.lua │ ├── sr_Nudge note start right to next grid - 1-8 triplets.lua │ ├── sr_Nudge note start right to next grid - 1-8.lua │ ├── sr_Nudge note start right to next grid - grid.lua │ └── sr_Nudge note start right to next grid function.lua ├── Nudge notes (bundle) │ ├── sr_Nudge notes (bundle).lua │ ├── sr_Nudge notes function.lua │ ├── sr_Nudge notes left by 10 ticks.lua │ └── sr_Nudge notes right by 10 ticks.lua ├── Quantize note end to closest grid (bundle) │ ├── sr_Quantize note end to closest grid (bundle).lua │ ├── sr_Quantize note end to closest grid - 1-1.lua │ ├── sr_Quantize note end to closest grid - 1-16 triplets.lua │ ├── sr_Quantize note end to closest grid - 1-16.lua │ ├── sr_Quantize note end to closest grid - 1-2.lua │ ├── sr_Quantize note end to closest grid - 1-4 triplets.lua │ ├── sr_Quantize note end to closest grid - 1-4.lua │ ├── sr_Quantize note end to closest grid - 1-8 triplets.lua │ ├── sr_Quantize note end to closest grid - 1-8.lua │ ├── sr_Quantize note end to closest grid - grid.lua │ └── sr_Quantize note end to closest grid function.lua ├── Quantize note start to closest grid (bundle) │ ├── sr_Quantize note start to closest grid (bundle).lua │ ├── sr_Quantize note start to closest grid - 1-1.lua │ ├── sr_Quantize note start to closest grid - 1-16 triplets.lua │ ├── sr_Quantize note start to closest grid - 1-16.lua │ ├── sr_Quantize note start to closest grid - 1-2.lua │ ├── sr_Quantize note start to closest grid - 1-4 triplets.lua │ ├── sr_Quantize note start to closest grid - 1-4.lua │ ├── sr_Quantize note start to closest grid - 1-8 triplets.lua │ ├── sr_Quantize note start to closest grid - 1-8.lua │ ├── sr_Quantize note start to closest grid - grid.lua │ └── sr_Quantize note start to closest grid function.lua ├── Quantize notes (bundle) │ ├── sr_Quantize notes (bundle).lua │ ├── sr_Quantize notes 100 percent - 1-1.lua │ ├── sr_Quantize notes 100 percent - 1-16 - swing 70 percent.lua │ ├── sr_Quantize notes 100 percent - 1-16 triplets.lua │ ├── sr_Quantize notes 100 percent - 1-16.lua │ ├── sr_Quantize notes 100 percent - 1-2.lua │ ├── sr_Quantize notes 100 percent - 1-4 - swing 70 percent.lua │ ├── sr_Quantize notes 100 percent - 1-4 triplets.lua │ ├── sr_Quantize notes 100 percent - 1-4.lua │ ├── sr_Quantize notes 100 percent - 1-8 - swing 70 percent.lua │ ├── sr_Quantize notes 100 percent - 1-8 triplets.lua │ ├── sr_Quantize notes 100 percent - 1-8.lua │ ├── sr_Quantize notes 100 percent - current grid.lua │ ├── sr_Quantize notes 100 percent - grid.lua │ ├── sr_Quantize notes 50 percent - 1-1.lua │ ├── sr_Quantize notes 50 percent - 1-16 - swing 70 percent.lua │ ├── sr_Quantize notes 50 percent - 1-16 triplets.lua │ ├── sr_Quantize notes 50 percent - 1-16.lua │ ├── sr_Quantize notes 50 percent - 1-2.lua │ ├── sr_Quantize notes 50 percent - 1-4 - swing 70 percent.lua │ ├── sr_Quantize notes 50 percent - 1-4 triplets.lua │ ├── sr_Quantize notes 50 percent - 1-4.lua │ ├── sr_Quantize notes 50 percent - 1-8 - swing 70 percent.lua │ ├── sr_Quantize notes 50 percent - 1-8 triplets.lua │ ├── sr_Quantize notes 50 percent - 1-8.lua │ ├── sr_Quantize notes 50 percent - current grid.lua │ ├── sr_Quantize notes 50 percent - grid.lua │ └── sr_Quantize notes function.lua ├── Select CC (bundle) │ ├── sr_Select CC (bundle).lua │ ├── sr_Select CC function.lua │ ├── sr_Select CC1.lua │ ├── sr_Select CC11.lua │ ├── sr_Select CC2.lua │ ├── sr_Select CC64.lua │ ├── sr_Select CC7.lua │ └── sr_Select all CCs.lua ├── Select CC after edit cursor (bundle) │ ├── sr_Select CC after edit cursor (bundle).lua │ ├── sr_Select CC after edit cursor function.lua │ ├── sr_Select CC1 after edit cursor.lua │ ├── sr_Select CC11 after edit cursor.lua │ ├── sr_Select CC2 after edit cursor.lua │ ├── sr_Select CC64 after edit cursor.lua │ ├── sr_Select CC7 after edit cursor.lua │ └── sr_Select all CCs after edit cursor.lua ├── Select CC before edit cursor (bundle) │ ├── sr_Select CC before edit cursor (bundle).lua │ ├── sr_Select CC before edit cursor function.lua │ ├── sr_Select CC1 before edit cursor.lua │ ├── sr_Select CC11 before edit cursor.lua │ ├── sr_Select CC2 before edit cursor.lua │ ├── sr_Select CC64 before edit cursor.lua │ ├── sr_Select CC7 before edit cursor.lua │ └── sr_Select all CCs before edit cursor.lua ├── Select CC within note selection (bundle) │ ├── sr_Select CC within note selection (bundle).lua │ ├── sr_Select CC within note selection function.lua │ ├── sr_Select CC1 within note selection.lua │ ├── sr_Select CC11 within note selection.lua │ ├── sr_Select CC2 within note selection.lua │ ├── sr_Select CC64 within note selection.lua │ ├── sr_Select CC7 within note selection.lua │ └── sr_Select all CCs within note selection.lua ├── Toggle select CC (bundle) │ ├── sr_Toggle select CC (bundle).lua │ ├── sr_Toggle select CC function.lua │ ├── sr_Toggle select CC1.lua │ ├── sr_Toggle select CC11.lua │ ├── sr_Toggle select CC2.lua │ ├── sr_Toggle select CC64.lua │ ├── sr_Toggle select CC7.lua │ └── sr_Toggle select all CCs.lua ├── Transpose notes (bundle) │ ├── sr_Transpose notes (bundle).lua │ ├── sr_Transpose notes +1.lua │ ├── sr_Transpose notes +10.lua │ ├── sr_Transpose notes +11.lua │ ├── sr_Transpose notes +12.lua │ ├── sr_Transpose notes +2.lua │ ├── sr_Transpose notes +3.lua │ ├── sr_Transpose notes +4.lua │ ├── sr_Transpose notes +5.lua │ ├── sr_Transpose notes +6.lua │ ├── sr_Transpose notes +7.lua │ ├── sr_Transpose notes +8.lua │ ├── sr_Transpose notes +9.lua │ ├── sr_Transpose notes -1.lua │ ├── sr_Transpose notes -10.lua │ ├── sr_Transpose notes -11.lua │ ├── sr_Transpose notes -12.lua │ ├── sr_Transpose notes -2.lua │ ├── sr_Transpose notes -3.lua │ ├── sr_Transpose notes -4.lua │ ├── sr_Transpose notes -5.lua │ ├── sr_Transpose notes -6.lua │ ├── sr_Transpose notes -7.lua │ ├── sr_Transpose notes -8.lua │ ├── sr_Transpose notes -9.lua │ └── sr_Transpose notes function.lua ├── sr_Change note length (mousewheel).lua ├── sr_Change note position (mousewheel).lua ├── sr_Change note position by grid - no quantize (mousewheel).lua ├── sr_Change note position by grid - quantize (mousewheel).lua ├── sr_Change note position to grid (mousewheel).lua ├── sr_Change note start (mousewheel).lua ├── sr_Copy selected CC events to lane under mouse cursor at mouse position.lua ├── sr_Copy selected CC events to lane under mouse cursor.lua ├── sr_Decrease events in CC lane under mouse cursor.lua ├── sr_Delete all CCs not attached to notes.lua ├── sr_Delete all events in CC lane under mouse cursor.lua ├── sr_Delete notes after edit cursor (in selected item(s) or MIDI editor).lua ├── sr_Delete notes after mouse cursor (in take under mouse or in MIDI editor).lua ├── sr_Delete notes before edit cursor (in selected item(s) or MIDI editor).lua ├── sr_Delete notes before mouse cursor (in take under mouse or in MIDI editor).lua ├── sr_Delete short notes.lua ├── sr_Increase events in CC lane under mouse cursor.lua ├── sr_Move legato point of 2 selected notes (mousewheel).lua ├── sr_Move notes to edit cursor (relative).lua ├── sr_Move selected CC events to lane under mouse cursor at mouse position.lua ├── sr_Move selected CC events to lane under mouse cursor.lua ├── sr_Mute notes after mouse cursor (in take under mouse or in MIDI editor).lua ├── sr_Mute notes before mouse cursor (in take under mouse or in MIDI editor).lua ├── sr_Restore MIDI editor grid setting from project file.lua ├── sr_Save MIDI editor grid setting in project file.lua ├── sr_Select all CCs after mouse cursor (in take under mouse or in MIDI editor).lua ├── sr_Select all CCs before mouse cursor (in take under mouse or in MIDI editor).lua ├── sr_Select all events in CC lane after and under mouse cursor (exclusive).lua ├── sr_Select all events in CC lane after and under mouse cursor.lua ├── sr_Select all events in CC lane before and under mouse cursor (exclusive).lua ├── sr_Select all events in CC lane before and under mouse cursor.lua ├── sr_Select all events in CC lane under mouse cursor (exclusive).lua ├── sr_Select all events in CC lane under mouse cursor.lua ├── sr_Select notes after edit cursor (in selected item(s) or MIDI editor).lua ├── sr_Select notes after mouse cursor (in take under mouse or in MIDI editor).lua ├── sr_Select notes and all CCs after edit cursor (in selected item(s) or MIDI editor).lua ├── sr_Select notes and all CCs before edit cursor (in selected item(s) or MIDI editor).lua ├── sr_Select notes before edit cursor (in selected item(s) or MIDI editor).lua ├── sr_Select notes before mouse cursor (in take under mouse or in MIDI editor).lua ├── sr_Select notes under edit cursor.lua ├── sr_Set edit cursor to first note in selected items.lua ├── sr_Set edit cursor to last note in selected items.lua ├── sr_Toggle select all events in CC lane under mouse cursor.lua ├── sr_Trim head of note(s) at mouse cursor (in take under mouse or in MIDI editor).lua ├── sr_Trim tail of note(s) at mouse cursor (in take under mouse or in MIDI editor).lua ├── sr_Velocity crescendo.lua ├── sr_Velocity decrescendo.lua └── sr_Zoom MIDI editor to content.lua ├── Markers ├── sr_Set end marker at cursor position.lua └── sr_Set start marker at cursor position.lua ├── Project Properties └── Copy and Paste timecode at edit cursor (bundle) │ ├── sr_Copy and Paste timecode at edit cursor (bundle).lua │ ├── sr_Copy timecode at edit cursor.lua │ └── sr_Paste timecode at edit cursor.lua ├── README.md ├── Regions └── sr_Set start and end marker to items in project.lua ├── Tempo and Time Signature └── sr_Insert signature based on time selection.lua ├── Tracks Properties ├── Add or replace VSTi │ ├── sr_Add or replace VSTi (bundle).lua │ ├── sr_Add or replace VSTi function.lua │ ├── sr_Add or replace existing VST3i with Keyscape.lua │ ├── sr_Add or replace existing VST3i with Kontakt.lua │ ├── sr_Add or replace existing VST3i with Omnisphere 2.lua │ ├── sr_Add or replace existing VST3i with Opus.lua │ ├── sr_Add or replace existing VST3i with Stylus RMX.lua │ ├── sr_Add or replace existing VST3i with Trilian.lua │ ├── sr_Add or replace existing VST3i with UVI.lua │ ├── sr_Add or replace existing VSTi with ACE.lua │ ├── sr_Add or replace existing VSTi with Addictive Drums 2.lua │ ├── sr_Add or replace existing VSTi with Bazille.lua │ ├── sr_Add or replace existing VSTi with Diva.lua │ ├── sr_Add or replace existing VSTi with Engine 2.lua │ ├── sr_Add or replace existing VSTi with Keyscape.lua │ ├── sr_Add or replace existing VSTi with Komplete Kontrol.lua │ ├── sr_Add or replace existing VSTi with Kontakt 5.lua │ ├── sr_Add or replace existing VSTi with Kontakt.lua │ ├── sr_Add or replace existing VSTi with Omnisphere 2.lua │ ├── sr_Add or replace existing VSTi with Play.lua │ ├── sr_Add or replace existing VSTi with Repro-1.lua │ ├── sr_Add or replace existing VSTi with Repro-5.lua │ ├── sr_Add or replace existing VSTi with SINE.lua │ ├── sr_Add or replace existing VSTi with Stylus RMX.lua │ ├── sr_Add or replace existing VSTi with Synchron Player.lua │ ├── sr_Add or replace existing VSTi with Trilian.lua │ ├── sr_Add or replace existing VSTi with UVI.lua │ ├── sr_Add or replace existing VSTi with Vienna Instruments Pro.lua │ ├── sr_Add or replace existing VSTi with Zebra 2.lua │ └── sr_Add or replace existing VSTi with ZebraHZ.lua ├── Toggle mute by track prefix (bundle) │ ├── sr_Toggle mute BUS01.lua │ ├── sr_Toggle mute BUS02.lua │ ├── sr_Toggle mute BUS03.lua │ ├── sr_Toggle mute BUS04.lua │ ├── sr_Toggle mute BUS05.lua │ ├── sr_Toggle mute BUS06.lua │ ├── sr_Toggle mute BUS07.lua │ ├── sr_Toggle mute BUS08.lua │ ├── sr_Toggle mute BUS09.lua │ ├── sr_Toggle mute BUS10.lua │ ├── sr_Toggle mute BUS11.lua │ ├── sr_Toggle mute BUS12.lua │ ├── sr_Toggle mute BUS13.lua │ ├── sr_Toggle mute BUS14.lua │ ├── sr_Toggle mute BUS15.lua │ ├── sr_Toggle mute BUS16.lua │ ├── sr_Toggle mute VCA01.lua │ ├── sr_Toggle mute VCA02.lua │ ├── sr_Toggle mute VCA03.lua │ ├── sr_Toggle mute VCA04.lua │ ├── sr_Toggle mute VCA05.lua │ ├── sr_Toggle mute VCA06.lua │ ├── sr_Toggle mute VCA07.lua │ ├── sr_Toggle mute VCA08.lua │ ├── sr_Toggle mute VCA09.lua │ ├── sr_Toggle mute VCA10.lua │ ├── sr_Toggle mute VCA11.lua │ ├── sr_Toggle mute VCA12.lua │ ├── sr_Toggle mute VCA13.lua │ ├── sr_Toggle mute VCA14.lua │ ├── sr_Toggle mute VCA15.lua │ ├── sr_Toggle mute VCA16.lua │ ├── sr_Toggle mute by track prefix (bundle).lua │ └── sr_Toggle mute by track prefix function.lua ├── Toggle solo by track prefix (bundle) │ ├── sr_Toggle solo BUS01.lua │ ├── sr_Toggle solo BUS02.lua │ ├── sr_Toggle solo BUS03.lua │ ├── sr_Toggle solo BUS04.lua │ ├── sr_Toggle solo BUS05.lua │ ├── sr_Toggle solo BUS06.lua │ ├── sr_Toggle solo BUS07.lua │ ├── sr_Toggle solo BUS08.lua │ ├── sr_Toggle solo BUS09.lua │ ├── sr_Toggle solo BUS10.lua │ ├── sr_Toggle solo BUS11.lua │ ├── sr_Toggle solo BUS12.lua │ ├── sr_Toggle solo BUS13.lua │ ├── sr_Toggle solo BUS14.lua │ ├── sr_Toggle solo BUS15.lua │ ├── sr_Toggle solo BUS16.lua │ ├── sr_Toggle solo VCA01.lua │ ├── sr_Toggle solo VCA02.lua │ ├── sr_Toggle solo VCA03.lua │ ├── sr_Toggle solo VCA04.lua │ ├── sr_Toggle solo VCA05.lua │ ├── sr_Toggle solo VCA06.lua │ ├── sr_Toggle solo VCA07.lua │ ├── sr_Toggle solo VCA08.lua │ ├── sr_Toggle solo VCA09.lua │ ├── sr_Toggle solo VCA10.lua │ ├── sr_Toggle solo VCA11.lua │ ├── sr_Toggle solo VCA12.lua │ ├── sr_Toggle solo VCA13.lua │ ├── sr_Toggle solo VCA14.lua │ ├── sr_Toggle solo VCA15.lua │ ├── sr_Toggle solo VCA16.lua │ ├── sr_Toggle solo by track prefix (bundle).lua │ └── sr_Toggle solo by track prefix function.lua ├── sr_Hide tracks without items (TCP).lua ├── sr_Hide tracks without items and ignore folder tracks (TCP).lua └── sr_Toggle collapse selected folders.lua ├── Transport ├── sr_Edit cursor follows start of item.lua ├── sr_Go to end marker.lua ├── sr_Go to start marker.lua ├── sr_Move cursor to start of selected item and preserve play state.lua ├── sr_Move edit cursor by frames (mousewheel).lua ├── sr_Select and move to next item and preserve play state.lua ├── sr_Select and move to previous item and preserve play state.lua ├── sr_Stop - return to last cursor positions.lua └── sr_Toggle play - stop.lua ├── Various ├── sr_Toggle resources window and focus search box.lua └── sr_Zoom to start and end marker.lua └── index.xml /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.github/workflows/check.yml: -------------------------------------------------------------------------------- 1 | name: check 2 | on: [push, pull_request] 3 | jobs: 4 | reapack-index: 5 | runs-on: ubuntu-latest 6 | steps: 7 | - name: Fetch repository 8 | uses: actions/checkout@v2 9 | - name: Install Pandoc 10 | run: sudo apt-get install -yy pandoc 11 | - name: Set up Ruby 12 | uses: ruby/setup-ruby@v1 13 | with: 14 | ruby-version: '3.0' 15 | - name: Install reapack-index 16 | run: gem install reapack-index 17 | - name: Validate packages 18 | run: reapack-index --check 19 | -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- 1 | name: deploy 2 | on: 3 | push: 4 | branches: [master] 5 | jobs: 6 | reapack-index: 7 | runs-on: ubuntu-latest 8 | steps: 9 | - name: Fetch repository 10 | uses: actions/checkout@v2 11 | with: 12 | fetch-depth: 0 13 | - name: Configure git 14 | run: |- 15 | git config user.name 'ReaTeam Bot' 16 | git config user.email 'reateam-bot@cfillion.ca' 17 | - name: Install Pandoc 18 | run: sudo apt-get install -yy pandoc 19 | - name: Set up Ruby 20 | uses: ruby/setup-ruby@v1 21 | with: 22 | ruby-version: '3.0' 23 | - name: Install reapack-index 24 | run: gem install reapack-index 25 | - name: Update index.xml 26 | run: reapack-index --commit 27 | - name: Push changes 28 | run: git push 29 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /FX/Remove send from selected track(s) (bundle)/sr_Remove send 1 from selected track(s).lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Remove send from selected track(s) function' 5 | 6 | local send_number = 1 7 | 8 | RemoveSend(send_number) -- call function 9 | -------------------------------------------------------------------------------- /FX/Remove send from selected track(s) (bundle)/sr_Remove send 2 from selected track(s).lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Remove send from selected track(s) function' 5 | 6 | local send_number = 2 7 | 8 | RemoveSend(send_number) -- call function 9 | -------------------------------------------------------------------------------- /FX/Remove send from selected track(s) (bundle)/sr_Remove send 3 from selected track(s).lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Remove send from selected track(s) function' 5 | 6 | local send_number = 3 7 | 8 | RemoveSend(send_number) -- call function 9 | -------------------------------------------------------------------------------- /FX/Remove send from selected track(s) (bundle)/sr_Remove send 4 from selected track(s).lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Remove send from selected track(s) function' 5 | 6 | local send_number = 4 7 | 8 | RemoveSend(send_number) -- call function 9 | -------------------------------------------------------------------------------- /FX/Remove send from selected track(s) (bundle)/sr_Remove send from selected track(s) (bundle).lua: -------------------------------------------------------------------------------- 1 | -- @description Remove send from selected track(s) (bundle) 2 | -- @version 1.3 3 | -- @changelog 4 | -- + the scripts are now located in their own folder 5 | -- @author Stephan Römer 6 | -- @metapackage 7 | -- @provides 8 | -- [nomain] . 9 | -- [main] sr_Remove send 1 from selected track(s).lua 10 | -- [main] sr_Remove send 2 from selected track(s).lua 11 | -- [main] sr_Remove send 3 from selected track(s).lua 12 | -- [main] sr_Remove send 4 from selected track(s).lua 13 | -- [nomain] sr_Remove send from selected track(s) function.lua 14 | -- @about 15 | -- # Description 16 | -- * This script bundle consists of 4 scripts that remove sends 1-4 from the selected track(s). 17 | -- * You can easily customize the values in the scripts. 18 | -- @link Forum Thread https://forums.cockos.com/showthread.php?p=1923923 -------------------------------------------------------------------------------- /FX/Remove send from selected track(s) (bundle)/sr_Remove send from selected track(s) function.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | function RemoveSend(send_number) 4 | 5 | reaper.Undo_BeginBlock() 6 | 7 | if reaper.CountSelectedTracks(0) == 0 then 8 | reaper.ShowMessageBox("Please select at least one track", "Error", 0) 9 | 10 | else 11 | local selected_tracks = reaper.CountSelectedTracks(0) 12 | 13 | for i = 0, selected_tracks-1 do -- loop thru all selected tracks 14 | local track = reaper.GetSelectedTrack(0, i) -- get current selected track 15 | reaper.RemoveTrackSend(track, 0, send_number-1) -- remove send of selected track(s) 16 | 17 | end 18 | end 19 | 20 | reaper.Undo_EndBlock("Remove send "..send_number.." from selected track(s)", 1) 21 | end -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS01 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS01" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS02 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS02" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS03 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS03" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS04 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS04" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS05 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS05" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS06 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS06" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS07 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS07" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS08 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS08" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS09 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS09" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS10 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS10" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS11 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS11" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS12 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS12" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS13 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS13" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS14 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS14" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS15 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS15" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to BUS and remove master send (bundle)/sr_Send selected track(s) to BUS16 and remove master send.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to BUS and remove master send function' 5 | 6 | local bus_prefix = "BUS16" 7 | 8 | SendTrackToBUS(bus_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to FX track (bundle)/sr_Send selected track(s) to FX track (bundle).lua: -------------------------------------------------------------------------------- 1 | -- @description Send selected track(s) to FX track (bundle) 2 | -- @version 1.3 3 | -- @changelog 4 | -- * little improvements in the code 5 | -- + the scripts are now located in their own folder 6 | -- @author Stephan Römer 7 | -- @metapackage 8 | -- @provides 9 | -- [nomain] . 10 | -- [main] sr_Send selected track(s) to FX1.lua 11 | -- [main] sr_Send selected track(s) to FX2.lua 12 | -- [main] sr_Send selected track(s) to FX3.lua 13 | -- [main] sr_Send selected track(s) to FX4.lua 14 | -- [nomain] sr_Send selected track(s) to FX track function.lua 15 | -- @about 16 | -- # Description 17 | -- * This script bundle consists of 4 scripts that will send all selected tracks to an FX track prefixed with FX1-4. 18 | -- * You can easily customize the values in the scripts. 19 | -- @link Forum Thread https://forums.cockos.com/showthread.php?p=1923923 -------------------------------------------------------------------------------- /FX/Send selected track(s) to FX track (bundle)/sr_Send selected track(s) to FX1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to FX track function' 5 | 6 | local send_fx_prefix = "FX1" -- send FX1 7 | 8 | SendTrackToFX(send_fx_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to FX track (bundle)/sr_Send selected track(s) to FX2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to FX track function' 5 | 6 | local send_fx_prefix = "FX2" -- send FX2 7 | 8 | SendTrackToFX(send_fx_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to FX track (bundle)/sr_Send selected track(s) to FX3.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to FX track function' 5 | 6 | local send_fx_prefix = "FX3" -- send FX3 7 | 8 | SendTrackToFX(send_fx_prefix) -- call function -------------------------------------------------------------------------------- /FX/Send selected track(s) to FX track (bundle)/sr_Send selected track(s) to FX4.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Send selected track(s) to FX track function' 5 | 6 | local send_fx_prefix = "FX4" -- send FX4 7 | 8 | SendTrackToFX(send_fx_prefix) -- call function -------------------------------------------------------------------------------- /FX/Toggle show UI of all FX in send (bundle)/sr_Toggle show UI of all FX in send (bundle).lua: -------------------------------------------------------------------------------- 1 | -- @description Toggle show UI of all FX in send track (bundle) 2 | -- @version 1.2 3 | -- @changelog 4 | -- * little improvements in the code 5 | -- + the scripts are now located in their own folder 6 | -- @author Stephan Römer 7 | -- @metapackage 8 | -- @provides 9 | -- [nomain] . 10 | -- [main] sr_Toggle show UI of all FX in send 1.lua 11 | -- [main] sr_Toggle show UI of all FX in send 2.lua 12 | -- [main] sr_Toggle show UI of all FX in send 3.lua 13 | -- [main] sr_Toggle show UI of all FX in send 4.lua 14 | -- [nomain] sr_Toggle show UI of all FX in send function.lua 15 | -- @about 16 | -- # Description 17 | -- * This script bundle consists of 4 scripts that shows/hide the UI of all FX in send 1-4. 18 | -- * You can easily customize the values in the scripts. 19 | -- @link Forum Thread https://forums.cockos.com/showthread.php?p=1923923 -------------------------------------------------------------------------------- /FX/Toggle show UI of all FX in send (bundle)/sr_Toggle show UI of all FX in send 1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle show UI of all FX in send function' 5 | 6 | local send_slot = 1 -- 1st send slot 7 | 8 | ToggleShowUISend(send_slot) -- call function -------------------------------------------------------------------------------- /FX/Toggle show UI of all FX in send (bundle)/sr_Toggle show UI of all FX in send 2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle show UI of all FX in send function' 5 | 6 | local send_slot = 2 -- 2nd send slot 7 | 8 | ToggleShowUISend(send_slot) -- call function -------------------------------------------------------------------------------- /FX/Toggle show UI of all FX in send (bundle)/sr_Toggle show UI of all FX in send 3.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle show UI of all FX in send function' 5 | 6 | local send_slot = 3 -- 3rd send slot 7 | 8 | ToggleShowUISend(send_slot) -- call function -------------------------------------------------------------------------------- /FX/Toggle show UI of all FX in send (bundle)/sr_Toggle show UI of all FX in send 4.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle show UI of all FX in send function' 5 | 6 | local send_slot = 4 -- 4th send slot 7 | 8 | ToggleShowUISend(send_slot) -- call function -------------------------------------------------------------------------------- /FX/Toggle show UI of all FX in send track with prefix (bundle)/sr_Toggle show UI of all FX in send track prefixed with FX1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle show UI of all FX in send track with prefix function' 5 | 6 | local send_prefix = "FX1" -- send prefixed with FX1 7 | 8 | ToggleShowUISend(send_prefix) -- call function -------------------------------------------------------------------------------- /FX/Toggle show UI of all FX in send track with prefix (bundle)/sr_Toggle show UI of all FX in send track prefixed with FX2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle show UI of all FX in send track with prefix function' 5 | 6 | local send_prefix = "FX2" -- send prefixed with FX2 7 | 8 | ToggleShowUISend(send_prefix) -- call function -------------------------------------------------------------------------------- /FX/Toggle show UI of all FX in send track with prefix (bundle)/sr_Toggle show UI of all FX in send track prefixed with FX3.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle show UI of all FX in send track with prefix function' 5 | 6 | local send_prefix = "FX3" -- send prefixed with FX3 7 | 8 | ToggleShowUISend(send_prefix) -- call function -------------------------------------------------------------------------------- /FX/Toggle show UI of all FX in send track with prefix (bundle)/sr_Toggle show UI of all FX in send track prefixed with FX4.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle show UI of all FX in send track with prefix function' 5 | 6 | local send_prefix = "FX4" -- send prefixed with FX4 7 | 8 | ToggleShowUISend(send_prefix) -- call function -------------------------------------------------------------------------------- /FX/Toggle show UI of all FX in send track with prefix (bundle)/sr_Toggle show UI of all FX in send track with prefix (bundle).lua: -------------------------------------------------------------------------------- 1 | -- @description Toggle show UI of all FX in send track with prefix (bundle) 2 | -- @version 1.0 3 | -- @changelog 4 | -- * initial release 5 | -- @author Stephan Römer 6 | -- @metapackage 7 | -- @provides 8 | -- [nomain] . 9 | -- [main] sr_Toggle show UI of all FX in send track prefixed with FX1.lua 10 | -- [main] sr_Toggle show UI of all FX in send track prefixed with FX2.lua 11 | -- [main] sr_Toggle show UI of all FX in send track prefixed with FX3.lua 12 | -- [main] sr_Toggle show UI of all FX in send track prefixed with FX4.lua 13 | -- [nomain] sr_Toggle show UI of all FX in send track with prefix function.lua 14 | -- @about 15 | -- # Description 16 | -- * These scripts will show/hide all FX UIs of a send track (with a specific prefix) on a selected track. 17 | -- * You can easily customize the values in the scripts. 18 | -- @link Forum Thread https://forums.cockos.com/showthread.php?p=1923923 -------------------------------------------------------------------------------- /MIDI Editor/Add notes interval (bundle)/sr_Add notes +12.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Add notes interval function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 12 -- semitones 13 | local undo_text = "Add notes +12" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | AddNotesInterval(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) 21 | -------------------------------------------------------------------------------- /MIDI Editor/Add notes interval (bundle)/sr_Add notes +24.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Add notes interval function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 24 -- semitones 13 | local undo_text = "Add notes +24" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | AddNotesInterval(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) 21 | -------------------------------------------------------------------------------- /MIDI Editor/Copy CC to CC (bundle)/sr_Copy CC1 to CC11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Copy CC to CC function' 5 | 6 | local src_cc = 1 -- source CC 7 | local dest_cc = 11 -- destination CC 8 | 9 | CopySrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Copy CC".. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Copy CC to CC (bundle)/sr_Copy CC1 to CC2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Copy CC to CC function' 5 | 6 | local src_cc = 1 -- source CC 7 | local dest_cc = 2 -- destination CC 8 | 9 | CopySrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Copy CC".. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Copy CC to CC (bundle)/sr_Copy CC1 to CC7.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Copy CC to CC function' 5 | 6 | local src_cc = 1 -- source CC 7 | local dest_cc = 7 -- destination CC 8 | 9 | CopySrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Copy CC".. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Copy CC to CC (bundle)/sr_Copy CC11 to CC1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Copy CC to CC function' 5 | 6 | local src_cc = 11 -- source CC 7 | local dest_cc = 1 -- destination CC 8 | 9 | CopySrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Copy CC".. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Copy CC to CC (bundle)/sr_Copy CC11 to CC2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Copy CC to CC function' 5 | 6 | local src_cc = 11 -- source CC 7 | local dest_cc = 2 -- destination CC 8 | 9 | CopySrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Copy CC".. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Copy CC to CC (bundle)/sr_Copy CC11 to CC7.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Copy CC to CC function' 5 | 6 | local src_cc = 11 -- source CC 7 | local dest_cc = 7 -- destination CC 8 | 9 | CopySrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Copy CC".. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Copy CC to CC (bundle)/sr_Copy CC2 to CC1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Copy CC to CC function' 5 | 6 | local src_cc = 2 -- source CC 7 | local dest_cc = 1 -- destination CC 8 | 9 | CopySrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Copy CC".. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Copy CC to CC (bundle)/sr_Copy CC2 to CC11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Copy CC to CC function' 5 | 6 | local src_cc = 2 -- source CC 7 | local dest_cc = 11 -- destination CC 8 | 9 | CopySrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Copy CC".. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Copy CC to CC (bundle)/sr_Copy CC2 to CC7.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Copy CC to CC function' 5 | 6 | local src_cc = 2 -- source CC 7 | local dest_cc = 7 -- destination CC 8 | 9 | CopySrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Copy CC".. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Copy CC to CC (bundle)/sr_Copy CC7 to CC1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Copy CC to CC function' 5 | 6 | local src_cc = 7 -- source CC 7 | local dest_cc = 1 -- destination CC 8 | 9 | CopySrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Copy CC".. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Copy CC to CC (bundle)/sr_Copy CC7 to CC11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Copy CC to CC function' 5 | 6 | local src_cc = 7 -- source CC 7 | local dest_cc = 11 -- destination CC 8 | 9 | CopySrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Copy CC".. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Copy CC to CC (bundle)/sr_Copy CC7 to CC2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Copy CC to CC function' 5 | 6 | local src_cc = 7 -- source CC 7 | local dest_cc = 2 -- destination CC 8 | 9 | CopySrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Copy CC".. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Decrease CC (bundle)/sr_Decrease CC1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Decrease CC function' 5 | 6 | local decrease = 1.1 -- value to decrease the CC event 7 | local dest_cc = 1 -- destination CC 8 | 9 | DecreaseCC(dest_cc, decrease) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Decrease CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Decrease CC (bundle)/sr_Decrease CC11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Decrease CC function' 5 | 6 | local decrease = 1.1 -- value to decrease the CC event 7 | local dest_cc = 11 -- destination CC 8 | 9 | DecreaseCC(dest_cc, decrease) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Decrease CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Decrease CC (bundle)/sr_Decrease CC2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Decrease CC function' 5 | 6 | local decrease = 1.1 -- value to decrease the CC event 7 | local dest_cc = 2 -- destination CC 8 | 9 | DecreaseCC(dest_cc, decrease) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Decrease CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Decrease CC (bundle)/sr_Decrease CC7.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Decrease CC function' 5 | 6 | local decrease = 1.1 -- value to decrease the CC event 7 | local dest_cc = 7 -- destination CC 8 | 9 | DecreaseCC(dest_cc, decrease) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Decrease CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Delete CC (bundle)/sr_Delete CC (bundle).lua: -------------------------------------------------------------------------------- 1 | -- @description Delete CC (bundle) 2 | -- @version 1.61 3 | -- @changelog 4 | -- * the undo function now uses the variable to describe the CC 5 | -- @author Stephan Römer 6 | -- @metapackage 7 | -- @provides 8 | -- [nomain] . 9 | -- [main=main,midi_editor,midi_inlineeditor] sr_Delete CC1.lua 10 | -- [main=main,midi_editor,midi_inlineeditor] sr_Delete CC2.lua 11 | -- [main=main,midi_editor,midi_inlineeditor] sr_Delete CC7.lua 12 | -- [main=main,midi_editor,midi_inlineeditor] sr_Delete CC11.lua 13 | -- [main=main,midi_editor,midi_inlineeditor] sr_Delete CC64.lua 14 | -- [main=main,midi_editor,midi_inlineeditor] sr_Delete all CCs.lua 15 | -- [nomain] sr_Delete CC function.lua 16 | -- @about 17 | -- # Description 18 | -- * These scripts will delete all events in a specific CC lane or in all CC lanes in one or multiple items. 19 | -- * When hovering an inline editor, only the take under the mouse cursor will be affected, regardles of the item selection. 20 | -- * You can easily customize the values in the scripts. 21 | -- * The scripts work in the MIDI editor, inline editor and arrange view. 22 | -- @link Forum Thread https://forums.cockos.com/showthread.php?p=1923923 -------------------------------------------------------------------------------- /MIDI Editor/Delete CC (bundle)/sr_Delete CC1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC function' 5 | 6 | local dest_cc = 1 -- CC 7 | 8 | DeleteCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc) 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /MIDI Editor/Delete CC (bundle)/sr_Delete CC11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC function' 5 | 6 | local dest_cc = 11 -- CC 7 | 8 | DeleteCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc) 10 | 11 | 12 | -------------------------------------------------------------------------------- /MIDI Editor/Delete CC (bundle)/sr_Delete CC2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC function' 5 | 6 | local dest_cc = 2 -- CC 7 | 8 | DeleteCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc) 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /MIDI Editor/Delete CC (bundle)/sr_Delete CC64.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC function' 5 | 6 | local dest_cc = 64 -- CC 7 | 8 | DeleteCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc) 10 | 11 | -------------------------------------------------------------------------------- /MIDI Editor/Delete CC (bundle)/sr_Delete CC7.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC function' 5 | 6 | local dest_cc = 7 -- CC 7 | 8 | DeleteCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc) 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /MIDI Editor/Delete CC after edit cursor (bundle)/sr_Delete CC1 after edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC after edit cursor function' 5 | 6 | local dest_cc = 1 -- destination CC 7 | 8 | DeleteCCAfterEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc .. " after edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Delete CC after edit cursor (bundle)/sr_Delete CC11 after edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC after edit cursor function' 5 | 6 | local dest_cc = 11 -- destination CC 7 | 8 | DeleteCCAfterEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc .. " after edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Delete CC after edit cursor (bundle)/sr_Delete CC2 after edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC after edit cursor function' 5 | 6 | local dest_cc = 2 -- destination CC 7 | 8 | DeleteCCAfterEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc .. " after edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Delete CC after edit cursor (bundle)/sr_Delete CC64 after edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC after edit cursor function' 5 | 6 | local dest_cc = 64 -- destination CC 7 | 8 | DeleteCCAfterEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc .. " after edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Delete CC after edit cursor (bundle)/sr_Delete CC7 after edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC after edit cursor function' 5 | 6 | local dest_cc = 7 -- destination CC 7 | 8 | DeleteCCAfterEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc .. " after edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Delete CC before edit cursor (bundle)/sr_Delete CC1 before edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC before edit cursor function' 5 | 6 | local dest_cc = 1 -- destination CC 7 | 8 | DeleteCCBeforeEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc .. " before edit cursor") 10 | 11 | -------------------------------------------------------------------------------- /MIDI Editor/Delete CC before edit cursor (bundle)/sr_Delete CC11 before edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC before edit cursor function' 5 | 6 | local dest_cc = 11 -- destination CC 7 | 8 | DeleteCCBeforeEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc .. " before edit cursor") 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /MIDI Editor/Delete CC before edit cursor (bundle)/sr_Delete CC2 before edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC before edit cursor function' 5 | 6 | local dest_cc = 2 -- destination CC 7 | 8 | DeleteCCBeforeEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc .. " before edit cursor") 10 | 11 | -------------------------------------------------------------------------------- /MIDI Editor/Delete CC before edit cursor (bundle)/sr_Delete CC64 before edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC before edit cursor function' 5 | 6 | local dest_cc = 64 -- destination CC 7 | 8 | DeleteCCBeforeEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc .. " before edit cursor") 10 | 11 | 12 | -------------------------------------------------------------------------------- /MIDI Editor/Delete CC before edit cursor (bundle)/sr_Delete CC7 before edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Delete CC before edit cursor function' 5 | 6 | local dest_cc = 7 -- destination CC 7 | 8 | DeleteCCBeforeEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Delete CC" .. dest_cc .. " before edit cursor") 10 | 11 | 12 | -------------------------------------------------------------------------------- /MIDI Editor/Human quantize notes (bundle)/sr_Human quantize notes 50 percent - 1-1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Human quantize notes function' 5 | 6 | local grid = 1 -- 1/1 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | local humanize = 50 -- humanize value in percent 10 | 11 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 12 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid 13 | HumanQuantize(humanize) -- call function 14 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 15 | reaper.Undo_OnStateChange2(proj, "Human Quantize 50% - 1/1") -------------------------------------------------------------------------------- /MIDI Editor/Human quantize notes (bundle)/sr_Human quantize notes 50 percent - 1-16 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Human quantize notes function' 5 | 6 | local grid = 1/24 -- 1/16 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | local humanize = 50 -- humanize value in percent 10 | 11 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 12 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid 13 | HumanQuantize(humanize) -- call function 14 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 15 | reaper.Undo_OnStateChange2(proj, "Human Quantize 50% - 1/16 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Human quantize notes (bundle)/sr_Human quantize notes 50 percent - 1-16.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Human quantize notes function' 5 | 6 | local grid = 1/16 -- 1/16 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | local humanize = 50 -- humanize value in percent 10 | 11 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 12 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid 13 | HumanQuantize(humanize) -- call function 14 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 15 | reaper.Undo_OnStateChange2(proj, "Human Quantize 50% - 1/16") -------------------------------------------------------------------------------- /MIDI Editor/Human quantize notes (bundle)/sr_Human quantize notes 50 percent - 1-2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Human quantize notes function' 5 | 6 | local grid = 1/2 -- 1/2 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | local humanize = 50 -- humanize value in percent 10 | 11 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 12 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid 13 | HumanQuantize(humanize) -- call function 14 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 15 | reaper.Undo_OnStateChange2(proj, "Human Quantize 50% - 1/2") -------------------------------------------------------------------------------- /MIDI Editor/Human quantize notes (bundle)/sr_Human quantize notes 50 percent - 1-4 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Human quantize notes function' 5 | 6 | local grid = 1/6 -- 1/4 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | local humanize = 50 -- humanize value in percent 10 | 11 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 12 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid 13 | HumanQuantize(humanize) -- call function 14 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 15 | reaper.Undo_OnStateChange2(proj, "Human Quantize 50% - 1/4 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Human quantize notes (bundle)/sr_Human quantize notes 50 percent - 1-4.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Human quantize notes function' 5 | 6 | local grid = 1/4 -- 1/4 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | local humanize = 50 -- humanize value in percent 10 | 11 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 12 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid 13 | HumanQuantize(humanize) -- call function 14 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 15 | reaper.Undo_OnStateChange2(proj, "Human Quantize 50% - 1/4") -------------------------------------------------------------------------------- /MIDI Editor/Human quantize notes (bundle)/sr_Human quantize notes 50 percent - 1-8 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Human quantize notes function' 5 | 6 | local grid = 1/12 -- 1/8 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | local humanize = 50 -- humanize value in percent 10 | 11 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 12 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid 13 | HumanQuantize(humanize) -- call function 14 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 15 | reaper.Undo_OnStateChange2(proj, "Human Quantize 50% - 1/8 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Human quantize notes (bundle)/sr_Human quantize notes 50 percent - 1-8.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Human quantize notes function' 5 | 6 | local grid = 1/8 -- 1/8 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | local humanize = 50 -- humanize value in percent 10 | 11 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 12 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid 13 | HumanQuantize(humanize) -- call function 14 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 15 | reaper.Undo_OnStateChange2(proj, "Human Quantize 50% - 1/8") -------------------------------------------------------------------------------- /MIDI Editor/Increase CC (bundle)/sr_Increase CC1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Increase CC function' 5 | 6 | local increase = 1.1 -- value to increase the CC event 7 | local dest_cc = 1 -- destination CC 8 | 9 | IncreaseCC(dest_cc, increase) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Increase CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Increase CC (bundle)/sr_Increase CC11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Increase CC function' 5 | 6 | local increase = 1.1 -- value to increase the CC event 7 | local dest_cc = 11 -- destination CC 8 | 9 | IncreaseCC(dest_cc, increase) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Increase CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Increase CC (bundle)/sr_Increase CC2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Increase CC function' 5 | 6 | local increase = 1.1 -- value to increase the CC event 7 | local dest_cc = 2 -- destination CC 8 | 9 | IncreaseCC(dest_cc, increase) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Increase CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Increase CC (bundle)/sr_Increase CC7.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Increase CC function' 5 | 6 | local increase = 1.1 -- value to increase the CC event 7 | local dest_cc = 7 -- destination CC 8 | 9 | IncreaseCC(dest_cc, increase) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Increase CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Move CC to CC (bundle)/sr_Move CC1 to CC11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Move CC to CC function' 5 | 6 | local src_cc = 1 -- source CC 7 | local dest_cc = 11 -- destination CC 8 | 9 | MoveSrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Move CC" .. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Move CC to CC (bundle)/sr_Move CC1 to CC2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Move CC to CC function' 5 | 6 | local src_cc = 1 -- source CC 7 | local dest_cc = 2 -- destination CC 8 | 9 | MoveSrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Move CC" .. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Move CC to CC (bundle)/sr_Move CC1 to CC7.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Move CC to CC function' 5 | 6 | local src_cc = 1 -- source CC 7 | local dest_cc = 7 -- destination CC 8 | 9 | MoveSrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Move CC" .. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Move CC to CC (bundle)/sr_Move CC11 to CC1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Move CC to CC function' 5 | 6 | local src_cc = 11 -- source CC 7 | local dest_cc = 1 -- destination CC 8 | 9 | MoveSrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Move CC" .. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Move CC to CC (bundle)/sr_Move CC11 to CC2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Move CC to CC function' 5 | 6 | local src_cc = 11 -- source CC 7 | local dest_cc = 2 -- destination CC 8 | 9 | MoveSrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Move CC" .. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Move CC to CC (bundle)/sr_Move CC11 to CC7.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Move CC to CC function' 5 | 6 | local src_cc = 11 -- source CC 7 | local dest_cc = 7 -- destination CC 8 | 9 | MoveSrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Move CC" .. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Move CC to CC (bundle)/sr_Move CC2 to CC1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Move CC to CC function' 5 | 6 | local src_cc = 2 -- source CC 7 | local dest_cc = 1 -- destination CC 8 | 9 | MoveSrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Move CC" .. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Move CC to CC (bundle)/sr_Move CC2 to CC11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Move CC to CC function' 5 | 6 | local src_cc = 2 -- source CC 7 | local dest_cc = 11 -- destination CC 8 | 9 | MoveSrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Move CC" .. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Move CC to CC (bundle)/sr_Move CC2 to CC7.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Move CC to CC function' 5 | 6 | local src_cc = 2 -- source CC 7 | local dest_cc = 7 -- destination CC 8 | 9 | MoveSrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Move CC" .. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Move CC to CC (bundle)/sr_Move CC7 to CC1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Move CC to CC function' 5 | 6 | local src_cc = 7 -- source CC 7 | local dest_cc = 1 -- destination CC 8 | 9 | MoveSrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Move CC" .. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Move CC to CC (bundle)/sr_Move CC7 to CC11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Move CC to CC function' 5 | 6 | local src_cc = 7 -- source CC 7 | local dest_cc = 11 -- destination CC 8 | 9 | MoveSrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Move CC" .. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Move CC to CC (bundle)/sr_Move CC7 to CC2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Move CC to CC function' 5 | 6 | local src_cc = 7 -- source CC 7 | local dest_cc = 2 -- destination CC 8 | 9 | MoveSrcCCToDestCC(src_cc, dest_cc) -- call function 10 | reaper.Undo_OnStateChange2(proj, "Move CC" .. src_cc .. " to CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end left to previous grid (bundle)/sr_Nudge note end left to previous grid - 1-1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end left to previous grid function' 5 | 6 | local grid = 1 -- 1/1 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end left to previous grid - 1/1") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end left to previous grid (bundle)/sr_Nudge note end left to previous grid - 1-16 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end left to previous grid function' 5 | 6 | local grid = 1/24 -- 1/16 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end left to previous grid - 1/16 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end left to previous grid (bundle)/sr_Nudge note end left to previous grid - 1-16.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end left to previous grid function' 5 | 6 | local grid = 1/16 -- 1/16 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end left to previous grid - 1/16") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end left to previous grid (bundle)/sr_Nudge note end left to previous grid - 1-2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end left to previous grid function' 5 | 6 | local grid = 1/2 -- 1/2 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end left to previous grid - 1/2") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end left to previous grid (bundle)/sr_Nudge note end left to previous grid - 1-4 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end left to previous grid function' 5 | 6 | local grid = 1/6 -- 1/16 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end left to previous grid - 1/4 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end left to previous grid (bundle)/sr_Nudge note end left to previous grid - 1-4.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end left to previous grid function' 5 | 6 | local grid = 1/4 -- 1/4 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end left to previous grid - 1/4") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end left to previous grid (bundle)/sr_Nudge note end left to previous grid - 1-8 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end left to previous grid function' 5 | 6 | local grid = 1/12 -- 1/8 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end left to previous grid - 1/8 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end left to previous grid (bundle)/sr_Nudge note end left to previous grid - 1-8.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end left to previous grid function' 5 | 6 | local grid = 1/8 -- 1/8 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end left to previous grid - 1/8") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end right to next grid (bundle)/sr_Nudge note end right to next grid - 1-1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end right to next grid function' 5 | 6 | local grid = 1 -- 1/1 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndRight() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end right to next grid - 1/1") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end right to next grid (bundle)/sr_Nudge note end right to next grid - 1-16 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end right to next grid function' 5 | 6 | local grid = 1/24 -- 1/16 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end right to next grid - 1/16 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end right to next grid (bundle)/sr_Nudge note end right to next grid - 1-16.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end right to next grid function' 5 | 6 | local grid = 1/16 -- 1/16 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end right to next grid - 1/16") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end right to next grid (bundle)/sr_Nudge note end right to next grid - 1-2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end right to next grid function' 5 | 6 | local grid = 1/2 -- 1/2 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end right to next grid - 1/2") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end right to next grid (bundle)/sr_Nudge note end right to next grid - 1-4 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end right to next grid function' 5 | 6 | local grid = 1/6 -- 1/16 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end right to next grid - 1/4 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end right to next grid (bundle)/sr_Nudge note end right to next grid - 1-4.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end right to next grid function' 5 | 6 | local grid = 1/4 -- 1/4 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end right to next grid - 1/4") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end right to next grid (bundle)/sr_Nudge note end right to next grid - 1-8 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end right to next grid function' 5 | 6 | local grid = 1/12 -- 1/8 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end right to next grid - 1/8 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note end right to next grid (bundle)/sr_Nudge note end right to next grid - 1-8.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note end right to next grid function' 5 | 6 | local grid = 1/8 -- 1/8 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteEndRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note end right to next grid - 1/8") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start left to previous grid (bundle)/sr_Nudge note start left to previous grid - 1-1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start left to previous grid function' 5 | 6 | local grid = 1 -- 1/1 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start left to previous grid - 1/1") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start left to previous grid (bundle)/sr_Nudge note start left to previous grid - 1-16 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start left to previous grid function' 5 | 6 | local grid = 1/24 -- 1/16 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start left to previous grid - 1/16 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start left to previous grid (bundle)/sr_Nudge note start left to previous grid - 1-16.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start left to previous grid function' 5 | 6 | local grid = 1/16 -- 1/16 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start left to previous grid - 1/16") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start left to previous grid (bundle)/sr_Nudge note start left to previous grid - 1-2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start left to previous grid function' 5 | 6 | local grid = 1/2 -- 1/2 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start left to previous grid - 1/2") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start left to previous grid (bundle)/sr_Nudge note start left to previous grid - 1-4 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start left to previous grid function' 5 | 6 | local grid = 1/6 -- 1/16 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start left to previous grid - 1/4 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start left to previous grid (bundle)/sr_Nudge note start left to previous grid - 1-4.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start left to previous grid function' 5 | 6 | local grid = 1/4 -- 1/4 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start left to previous grid - 1/4") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start left to previous grid (bundle)/sr_Nudge note start left to previous grid - 1-8 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start left to previous grid function' 5 | 6 | local grid = 1/12 -- 1/8 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start left to previous grid - 1/8 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start left to previous grid (bundle)/sr_Nudge note start left to previous grid - 1-8.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start left to previous grid function' 5 | 6 | local grid = 1/8 -- 1/8 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartLeft() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start left to previous grid - 1/8") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start right to next grid (bundle)/sr_Nudge note start right to next grid - 1-1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start right to next grid function' 5 | 6 | local grid = 1 -- 1/1 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartRight() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start right to next grid - 1/1") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start right to next grid (bundle)/sr_Nudge note start right to next grid - 1-16 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start right to next grid function' 5 | 6 | local grid = 1/24 -- 1/16 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start right to next grid - 1/16 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start right to next grid (bundle)/sr_Nudge note start right to next grid - 1-16.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start right to next grid function' 5 | 6 | local grid = 1/16 -- 1/16 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start right to next grid - 1/16") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start right to next grid (bundle)/sr_Nudge note start right to next grid - 1-2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start right to next grid function' 5 | 6 | local grid = 1/2 -- 1/2 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start right to next grid - 1/2") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start right to next grid (bundle)/sr_Nudge note start right to next grid - 1-4 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start right to next grid function' 5 | 6 | local grid = 1/6 -- 1/16 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start right to next grid - 1/4 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start right to next grid (bundle)/sr_Nudge note start right to next grid - 1-4.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start right to next grid function' 5 | 6 | local grid = 1/4 -- 1/4 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start right to next grid - 1/4") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start right to next grid (bundle)/sr_Nudge note start right to next grid - 1-8 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start right to next grid function' 5 | 6 | local grid = 1/12 -- 1/8 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start right to next grid - 1/8 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Nudge note start right to next grid (bundle)/sr_Nudge note start right to next grid - 1-8.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge note start right to next grid function' 5 | 6 | local grid = 1/8 -- 1/8 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | NudgeNoteStartRight(grid) -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Nudge note start right to next grid - 1/8") -------------------------------------------------------------------------------- /MIDI Editor/Nudge notes (bundle)/sr_Nudge notes left by 10 ticks.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge notes function' 5 | 6 | local new_position = -10 -- ticks 7 | 8 | NudgeNotes(new_position) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Nudge notes left by 10 ticks") -------------------------------------------------------------------------------- /MIDI Editor/Nudge notes (bundle)/sr_Nudge notes right by 10 ticks.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Nudge notes function' 5 | 6 | local new_position = 10 -- ticks 7 | 8 | NudgeNotes(new_position) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Nudge notes right by 10 ticks") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note end to closest grid (bundle)/sr_Quantize note end to closest grid - 1-1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note end to closest grid function' 5 | 6 | local grid = 1 -- 1/1 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteEnd() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note end to closest grid - 1/1") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note end to closest grid (bundle)/sr_Quantize note end to closest grid - 1-16 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note end to closest grid function' 5 | 6 | local grid = 1/24 -- 1/16 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteEnd() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note end to closest grid - 1/16 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note end to closest grid (bundle)/sr_Quantize note end to closest grid - 1-16.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note end to closest grid function' 5 | 6 | local grid = 1/16 -- 1/16 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteEnd() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note end to closest grid - 1/16") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note end to closest grid (bundle)/sr_Quantize note end to closest grid - 1-2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note end to closest grid function' 5 | 6 | local grid = 1/2 -- 1/2 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteEnd() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note end to closest grid - 1/2") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note end to closest grid (bundle)/sr_Quantize note end to closest grid - 1-4 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note end to closest grid function' 5 | 6 | local grid = 1/6 -- 1/16 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteEnd() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note end to closest grid - 1/4 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note end to closest grid (bundle)/sr_Quantize note end to closest grid - 1-4.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note end to closest grid function' 5 | 6 | local grid = 1/4 -- 1/4 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteEnd() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note end to closest grid - 1/4") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note end to closest grid (bundle)/sr_Quantize note end to closest grid - 1-8 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note end to closest grid function' 5 | 6 | local grid = 1/12 -- 1/8 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteEnd() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note end to closest grid - 1/8 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note end to closest grid (bundle)/sr_Quantize note end to closest grid - 1-8.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note end to closest grid function' 5 | 6 | local grid = 1/8 -- 1/8 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteEnd() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note end to closest grid - 1/8") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note start to closest grid (bundle)/sr_Quantize note start to closest grid - 1-1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note start to closest grid function' 5 | 6 | local grid = 1 -- 1/1 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteStart() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note start to closest grid - 1/1") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note start to closest grid (bundle)/sr_Quantize note start to closest grid - 1-16 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note start to closest grid function' 5 | 6 | local grid = 1/24 -- 1/16 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteStart() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note start to closest grid - 1/16 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note start to closest grid (bundle)/sr_Quantize note start to closest grid - 1-16.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note start to closest grid function' 5 | 6 | local grid = 1/16 -- 1/16 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteStart() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note start to closest grid - 1/16") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note start to closest grid (bundle)/sr_Quantize note start to closest grid - 1-2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note start to closest grid function' 5 | 6 | local grid = 1/2 -- 1/2 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteStart() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note start to closest grid - 1/2") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note start to closest grid (bundle)/sr_Quantize note start to closest grid - 1-4 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note start to closest grid function' 5 | 6 | local grid = 1/6 -- 1/16 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteStart() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note start to closest grid - 1/4 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note start to closest grid (bundle)/sr_Quantize note start to closest grid - 1-4.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note start to closest grid function' 5 | 6 | local grid = 1/4 -- 1/4 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteStart() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note start to closest grid - 1/4") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note start to closest grid (bundle)/sr_Quantize note start to closest grid - 1-8 triplets.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note start to closest grid function' 5 | 6 | local grid = 1/12 -- 1/8 triplets grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteStart() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note start to closest grid - 1/8 triplets") -------------------------------------------------------------------------------- /MIDI Editor/Quantize note start to closest grid (bundle)/sr_Quantize note start to closest grid - 1-8.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Quantize note start to closest grid function' 5 | 6 | local grid = 1/8 -- 1/8 grid 7 | local swing = 0 -- swing off 8 | local swing_amt = 0 -- swing amount 9 | 10 | local _, save_project_grid, save_swing, save_swing_amt = reaper.GetSetProjectGrid(proj, false) -- backup current grid settings 11 | reaper.GetSetProjectGrid(proj, true, grid, swing, swing_amt) -- set new grid settings according variable grid, swing and swing_amt 12 | QuantizeNoteStart() -- call function 13 | reaper.GetSetProjectGrid(proj, true, save_project_grid, save_swing, save_swing_amt) -- restore saved grid settings 14 | reaper.Undo_OnStateChange2(proj, "Quantize note start to closest grid - 1/8") -------------------------------------------------------------------------------- /MIDI Editor/Select CC (bundle)/sr_Select CC1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC function' 5 | 6 | local dest_cc = 1 -- CC 7 | 8 | SelectCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Select CC (bundle)/sr_Select CC11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC function' 5 | 6 | local dest_cc = 11 -- CC 7 | 8 | SelectCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Select CC (bundle)/sr_Select CC2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC function' 5 | 6 | local dest_cc = 2 -- CC 7 | 8 | SelectCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Select CC (bundle)/sr_Select CC64.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC function' 5 | 6 | local dest_cc = 64 -- CC 7 | 8 | SelectCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Select CC (bundle)/sr_Select CC7.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC function' 5 | 6 | local dest_cc = 7 -- CC 7 | 8 | SelectCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Select CC after edit cursor (bundle)/sr_Select CC1 after edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC after edit cursor function' 5 | 6 | local dest_cc = 1 -- CC 7 | 8 | SelectCCAfterEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc .. " after edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Select CC after edit cursor (bundle)/sr_Select CC11 after edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC after edit cursor function' 5 | 6 | local dest_cc = 11 -- CC 7 | 8 | SelectCCAfterEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc .. " after edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Select CC after edit cursor (bundle)/sr_Select CC2 after edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC after edit cursor function' 5 | 6 | local dest_cc = 2 -- CC 7 | 8 | SelectCCAfterEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc .. " after edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Select CC after edit cursor (bundle)/sr_Select CC64 after edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC after edit cursor function' 5 | 6 | local dest_cc = 64 -- CC 7 | 8 | SelectCCAfterEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc .. " after edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Select CC after edit cursor (bundle)/sr_Select CC7 after edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC after edit cursor function' 5 | 6 | local dest_cc = 7 -- CC 7 | 8 | SelectCCAfterEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc .. " after edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Select CC before edit cursor (bundle)/sr_Select CC1 before edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC before edit cursor function' 5 | 6 | local dest_cc = 1 -- CC 7 | 8 | SelectCCBeforeEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc .. " before edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Select CC before edit cursor (bundle)/sr_Select CC11 before edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC before edit cursor function' 5 | 6 | local dest_cc = 11 -- CC 7 | 8 | SelectCCBeforeEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc .. " before edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Select CC before edit cursor (bundle)/sr_Select CC2 before edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC before edit cursor function' 5 | 6 | local dest_cc = 2 -- CC 7 | 8 | SelectCCBeforeEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc .. " before edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Select CC before edit cursor (bundle)/sr_Select CC64 before edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC before edit cursor function' 5 | 6 | local dest_cc = 64 -- CC 7 | 8 | SelectCCBeforeEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc .. " before edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Select CC before edit cursor (bundle)/sr_Select CC7 before edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC before edit cursor function' 5 | 6 | local dest_cc = 7 -- CC 7 | 8 | SelectCCBeforeEditCursor(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc .. " before edit cursor") -------------------------------------------------------------------------------- /MIDI Editor/Select CC within note selection (bundle)/sr_Select CC1 within note selection.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC within note selection function' 5 | 6 | local dest_cc = 1 -- destination CC 7 | 8 | SelectCCWithinNoteSelection(dest_cc) -- call function 9 | 10 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc " within note selection") -------------------------------------------------------------------------------- /MIDI Editor/Select CC within note selection (bundle)/sr_Select CC11 within note selection.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC within note selection function' 5 | 6 | local dest_cc = 11 -- destination CC 7 | 8 | SelectCCWithinNoteSelection(dest_cc) -- call function 9 | 10 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc " within note selection") -------------------------------------------------------------------------------- /MIDI Editor/Select CC within note selection (bundle)/sr_Select CC2 within note selection.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC within note selection function' 5 | 6 | local dest_cc = 2 -- destination CC 7 | 8 | SelectCCWithinNoteSelection(dest_cc) -- call function 9 | 10 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc " within note selection") -------------------------------------------------------------------------------- /MIDI Editor/Select CC within note selection (bundle)/sr_Select CC64 within note selection.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC within note selection function' 5 | 6 | local dest_cc = 64 -- destination CC 7 | 8 | SelectCCWithinNoteSelection(dest_cc) -- call function 9 | 10 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc " within note selection") -------------------------------------------------------------------------------- /MIDI Editor/Select CC within note selection (bundle)/sr_Select CC7 within note selection.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Select CC within note selection function' 5 | 6 | local dest_cc = 7 -- destination CC 7 | 8 | SelectCCWithinNoteSelection(dest_cc) -- call function 9 | 10 | reaper.Undo_OnStateChange2(proj, "Select CC" .. dest_cc " within note selection") -------------------------------------------------------------------------------- /MIDI Editor/Toggle select CC (bundle)/sr_Toggle select CC1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle select CC function' 5 | 6 | local dest_cc = 1 -- CC 7 | 8 | ToggleSelectCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Toggle select CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Toggle select CC (bundle)/sr_Toggle select CC11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle select CC function' 5 | 6 | local dest_cc = 11 -- CC 7 | 8 | ToggleSelectCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Toggle select CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Toggle select CC (bundle)/sr_Toggle select CC2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle select CC function' 5 | 6 | local dest_cc = 2 -- CC 7 | 8 | ToggleSelectCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Toggle select CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Toggle select CC (bundle)/sr_Toggle select CC64.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle select CC function' 5 | 6 | local dest_cc = 64 -- CC 7 | 8 | ToggleSelectCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Toggle select CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Toggle select CC (bundle)/sr_Toggle select CC7.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle select CC function' 5 | 6 | local dest_cc = 7 -- CC 7 | 8 | ToggleSelectCC(dest_cc) -- call function 9 | reaper.Undo_OnStateChange2(proj, "Toggle select CC" .. dest_cc) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes +1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 1 -- semitones 13 | local undo_text = "Transpose notes +1" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes +10.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 10 -- semitones 13 | local undo_text = "Transpose notes +10" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes +11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 11 -- semitones 13 | local undo_text = "Transpose notes +11" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes +12.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 12 -- semitones 13 | local undo_text = "Transpose notes +12" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes +2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 2 -- semitones 13 | local undo_text = "Transpose notes +2" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes +3.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 3 -- semitones 13 | local undo_text = "Transpose notes +3" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes +4.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 4 -- semitones 13 | local undo_text = "Transpose notes +4" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes +5.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 5 -- semitones 13 | local undo_text = "Transpose notes +5" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes +6.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 6 -- semitones 13 | local undo_text = "Transpose notes +6" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes +7.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 7 -- semitones 13 | local undo_text = "Transpose notes +7" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes +8.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 8 -- semitones 13 | local undo_text = "Transpose notes +8" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes +9.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = 9 -- semitones 13 | local undo_text = "Transpose notes +9" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes -1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = -1 -- semitones 13 | local undo_text = "Transpose notes -1" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes -10.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = -10 -- semitones 13 | local undo_text = "Transpose notes -10" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes -11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = -11 -- semitones 13 | local undo_text = "Transpose notes -11" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes -12.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = -12 -- semitones 13 | local undo_text = "Transpose notes -12" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes -2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = -2 -- semitones 13 | local undo_text = "Transpose notes -2" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes -3.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = -3 -- semitones 13 | local undo_text = "Transpose notes -3" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes -4.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = -4 -- semitones 13 | local undo_text = "Transpose notes -4" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes -5.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = -5 -- semitones 13 | local undo_text = "Transpose notes -5" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes -6.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = -6 -- semitones 13 | local undo_text = "Transpose notes -6" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes -7.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = -7 -- semitones 13 | local undo_text = "Transpose notes -7" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes -8.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = -8 -- semitones 13 | local undo_text = "Transpose notes -8" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/Transpose notes (bundle)/sr_Transpose notes -9.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Transpose notes function' 5 | 6 | -- ================================================================================================================== -- 7 | -- User Configuration Area -- 8 | -- ================================================================================================================== -- 9 | 10 | -- Set your prefered values here and save this script under a different name. 11 | 12 | local interval = -9 -- semitones 13 | local undo_text = "Transpose notes -9" 14 | 15 | -- ================================================================================================================== -- 16 | -- Code Execution -- 17 | -- ================================================================================================================== -- 18 | 19 | Transpose(interval) -- call function 20 | reaper.Undo_OnStateChange2(proj, undo_text) -------------------------------------------------------------------------------- /MIDI Editor/sr_Save MIDI editor grid setting in project file.lua: -------------------------------------------------------------------------------- 1 | -- @description Save MIDI editor grid setting in project file 2 | -- @version 1.1 3 | -- @changelog 4 | -- + save the note length 5 | -- @author Stephan Römer 6 | -- @provides [main=midi_editor] . 7 | -- @about 8 | -- # Description 9 | -- * This script stores the current MIDI grid setting in the project file. 10 | -- * This script only works in the MIDI editor. 11 | -- @link https://forums.cockos.com/showthread.php?p=1923923 12 | 13 | 14 | local take = reaper.MIDIEditor_GetTake(reaper.MIDIEditor_GetActive()) -- get take from active MIDI editor 15 | local grid, _, note_length = reaper.MIDI_GetGrid(take) -- get MIDI grid setting from take 16 | 17 | reaper.SetProjExtState(0, "Save MIDI grid", "midi_grid", tostring(grid/4)) -- store grid setting in project file 18 | reaper.SetProjExtState(0, "Save MIDI grid", "note_length", note_length) -- store note length in project file 19 | 20 | reaper.defer(function() end) -- no undo point -------------------------------------------------------------------------------- /MIDI Editor/sr_Set edit cursor to first note in selected items.lua: -------------------------------------------------------------------------------- 1 | -- @description Set edit cursor to first note in selected items 2 | -- @version 1.0 3 | -- @author Stephan Römer 4 | -- @about 5 | -- # Description 6 | -- - this script sets the edit cursor to the beginning of the first note in selected items 7 | -- - this script works in arrangement, MIDI Editor and Inline Editor 8 | -- 9 | -- @link https://forums.cockos.com/showthread.php?p=1923923 10 | -- 11 | -- @provides [main=main,midi_editor,midi_inlineeditor] . 12 | -- @changelog 13 | -- v1.0 (2017-12-18) 14 | -- + Initial release 15 | 16 | 17 | item = reaper.GetSelectedMediaItem(0, 0) -- get first item 18 | take = reaper.GetTake(item, 0) -- get first take 19 | if reaper.TakeIsMIDI(take) then -- make sure, that take is MIDI 20 | _, _, _, noteStart, _, _, _, _ = reaper.MIDI_GetNote(take, 0) -- get start of first note 21 | noteStartSec = reaper.MIDI_GetProjTimeFromPPQPos(take, noteStart) -- convert noteStart (PPQ) to project time 22 | reaper.SetEditCurPos(noteStartSec, false, false) -- set edit cursor to note start of first note 23 | end -------------------------------------------------------------------------------- /Project Properties/Copy and Paste timecode at edit cursor (bundle)/sr_Copy and Paste timecode at edit cursor (bundle).lua: -------------------------------------------------------------------------------- 1 | -- @description Copy and Paste timecode at edit cursor (bundle) 2 | -- @version 1.0 3 | -- @changelog 4 | -- initial release 5 | -- @author Stephan Römer 6 | -- @link Forum Thread https://forums.cockos.com/showthread.php?p=1923923 7 | -- @metapackage 8 | -- @provides 9 | -- [nomain] . 10 | -- [main] sr_Copy timecode at edit cursor.lua 11 | -- [main] sr_Paste timecode at edit cursor.lua 12 | -- @about 13 | -- # Description 14 | -- 15 | -- * This script bundle consists of 2 scripts: 16 | -- the first will copy the timecode at the current edit cursor position and save it to a textfile in the script folder. 17 | -- the second one will parse the textfile and paste the timecode to current edit cursor position. 18 | -- * Additionally the script checks if a "Timecode Generator" item is present in the project and updates the item start offset to the new 19 | -- project offset. 20 | -- * Maybe it is obvious but just to mention it: only one Timecode Genereator item should be used in your project 21 | -- * The scripts work only in the arrange view. -------------------------------------------------------------------------------- /Project Properties/Copy and Paste timecode at edit cursor (bundle)/sr_Copy timecode at edit cursor.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | local path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] -- get current script path 4 | local filename = "timecode.txt" 5 | 6 | 7 | local main_hwnd = reaper.GetMainHwnd() 8 | reaper.JS_Window_SetFocus(main_hwnd) 9 | 10 | local pos = reaper.GetCursorPosition() -- get edit cursor position 11 | local tc = reaper.format_timestr_pos(pos, '', 5) -- convert position to TC (format hh:mm:ss:ff) 12 | 13 | local f = assert(io.open(path .. filename, "w")) -- open for write 14 | f:write(tc) -- write tc 15 | f:close() -- close file -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Stephan Römer's scripts for Reaper 2 | 3 | New to Reaper and a scripting n00b, but loving the scripting API. So, here you will find scripts, I am working on. 4 | 5 | My scripts can be added via ReaPack into Reaper. Here's the repository URL: 6 | 7 | ``` 8 | https://github.com/StephanRoemer/ReaScripts/raw/master/index.xml 9 | ``` 10 | 11 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VST3i with Keyscape.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "VST3:Keyscape (Spectrasonics) (18 out)" -- VSTi identifier 7 | local track_name = "Keyscape" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VST3i with Kontakt.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "VST3:Kontakt (Native Instruments) (64 out)" -- VSTi identifier 7 | local track_name = "Kontakt" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VST3i with Omnisphere 2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "VST3:Omnisphere (Spectrasonics) (18 out)" -- VSTi identifier 7 | local track_name = "Omnisphere 2" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VST3i with Opus.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "VST3:Opus (East West)" -- VSTi identifier 7 | local track_name = "Opus" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VST3i with Stylus RMX.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "VST3:StylusRMX (Spectrasonics) (18 out)" -- VSTi identifier 7 | local track_name = "Stylus RMX" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VST3i with Trilian.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Trilian (Spectrasonics) (18 out)" -- VSTi identifier 7 | local track_name = "Trilian" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VST3i with UVI.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "VST3:UVIWorkstation (UVI) (34 out)" -- VSTi identifier 7 | local track_name = "UVI" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with ACE.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "ACE (u-he)" -- VSTi identifier 7 | local track_name = "ACE" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Addictive Drums 2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Addictive Drums 2 (XLN Audio) (18 out)" -- VSTi identifier 7 | local track_name = "Addictive Drums 2" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Bazille.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Bazille (u-he)" -- VSTi identifier 7 | local track_name = "Bazille" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Diva.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Diva (u-he)" -- VSTi identifier 7 | local track_name = "Diva" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Engine 2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "ENGINE (Best Service) (24 out)" -- VSTi identifier 7 | local track_name = "Engine 2" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Keyscape.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Keyscape (Spectrasonics) (18 out)" -- VSTi identifier 7 | local track_name = "Keyscape" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Komplete Kontrol.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Komplete Kontrol (Native Instruments GmbH) (32 out)" -- VSTi identifier 7 | local track_name = "Komplete Kontrol" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Kontakt 5.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Kontakt 5 (Native Instruments GmbH) (64 out)" -- VSTi identifier 7 | local track_name = "Kontakt 5" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Kontakt.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Kontakt (Native Instruments) (64 out)" -- VSTi identifier 7 | local track_name = "Kontakt" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Omnisphere 2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Omnisphere (Spectrasonics) (18 out)" -- VSTi identifier 7 | local track_name = "Omnisphere 2" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Play.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Play (East West) (18 out)" -- VSTi identifier 7 | local track_name = "Play" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Repro-1.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Repro-1 (u-he)" -- VSTi identifier 7 | local track_name = "Repro-1" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Repro-5.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Repro-5 (u-he)" -- VSTi identifier 7 | local track_name = "Repro-5" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with SINE.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "SINE Player (Orchestral Tools) (32 out)" -- VSTi identifier 7 | local track_name = "SINE" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Stylus RMX.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "StylusRMX (Spectrasonics) (18 out)" -- VSTi identifier 7 | local track_name = "Stylus RMX" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Synchron Player.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Vienna Synchron Player (VSL) (18 out)" -- VSTi identifier 7 | local track_name = "Synchron Player" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Trilian.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Trilian (Spectrasonics) (18 out)" -- VSTi identifier 7 | local track_name = "Trilian" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with UVI.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "UVIWorkstation (UVI) (34 out)" -- VSTi identifier 7 | local track_name = "UVI" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Vienna Instruments Pro.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Vienna Instruments Pro (VSL) (8 out)" -- VSTi identifier 7 | local track_name = "Vienna Instruments Pro" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with Zebra 2.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "Zebra2 (u-he)" -- VSTi identifier 7 | local track_name = "Zebra 2" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Add or replace VSTi/sr_Add or replace existing VSTi with ZebraHZ.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1, "S").source:match([[^@?(.*[\/])[^\/]-$]]) .. "?.lua;" .. package.path 4 | require("sr_Add or replace VSTi function") 5 | 6 | local vsti = "ZebraHZ (u-he)" -- VSTi identifier 7 | local track_name = "ZebraHZ" -- new track name 8 | 9 | reaper.Undo_BeginBlock() 10 | 11 | AddInstrument(vsti, track_name) -- call function an get replaced variable, relevant for undo text 12 | 13 | local undo_text = "Add " 14 | 15 | reaper.Undo_EndBlock(undo_text .. track_name, 2) 16 | -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS01.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS01" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS02.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS02" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS03.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS03" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS04.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS04" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS05.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS05" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS06.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS06" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS07.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS07" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS08.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS08" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS09.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS09" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS10.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS10" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS11" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS12.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS12" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS13.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS13" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS14.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS14" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS15.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS15" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute BUS16.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "BUS16" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA01.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA01" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA02.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA02" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA03.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA03" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA04.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA04" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA05.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA05" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA06.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA06" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA07.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA07" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA08.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA08" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA09.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA09" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA10.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA10" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA11" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA12.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA12" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA13.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA13" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA14.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA14" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA15.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA15" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle mute by track prefix (bundle)/sr_Toggle mute VCA16.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle mute by track prefix function' 5 | 6 | local track_prefix = "VCA16" 7 | 8 | ToggleMuteTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS01.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS01" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS02.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS02" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS03.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS03" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS04.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS04" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS05.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS05" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS06.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS06" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS07.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS07" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS08.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS08" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS09.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS09" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS10.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS10" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS11" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS12.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS12" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS13.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS13" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS14.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS14" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS15.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS15" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo BUS16.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "BUS16" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA01.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA01" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA02.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA02" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA03.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA03" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA04.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA04" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA05.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA05" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA06.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA06" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA07.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA07" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA08.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA08" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA09.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA09" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA10.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA10" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA11.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA11" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA12.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA12" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA13.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA13" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA14.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA14" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA15.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA15" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/Toggle solo by track prefix (bundle)/sr_Toggle solo VCA16.lua: -------------------------------------------------------------------------------- 1 | -- @noindex 2 | 3 | package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path 4 | require 'sr_Toggle solo by track prefix function' 5 | 6 | local track_prefix = "VCA16" 7 | 8 | ToggleSoloTrack(track_prefix) -- call function -------------------------------------------------------------------------------- /Tracks Properties/sr_Hide tracks without items (TCP).lua: -------------------------------------------------------------------------------- 1 | -- @description Hide tracks without items (TCP) 2 | -- @version 1.0 3 | -- @changelog 4 | -- initial release 5 | -- @author Stephan Römer 6 | -- @provides [main=main] . 7 | -- @about 8 | -- # Description 9 | -- * this script hides all tracks in the TCP, that have no items 10 | -- * This script works only in the arrangement 11 | -- @link https://forums.cockos.com/showthread.php?p=1923923 12 | 13 | tracks_amount = reaper.GetNumTracks() 14 | 15 | for t = 0, tracks_amount-1 do 16 | track = reaper.GetTrack(0, t) 17 | items = reaper.CountTrackMediaItems(track) 18 | if items == 0 then -- does track have items? 19 | if reaper.GetMediaTrackInfo_Value(track, "B_SHOWINTCP") == 1.0 then -- is track visible? 20 | reaper.SetMediaTrackInfo_Value(track, "B_SHOWINTCP", 0) -- hide track 21 | end 22 | end 23 | end 24 | 25 | reaper.TrackList_AdjustWindows(false) 26 | reaper.UpdateArrange() 27 | reaper.Main_OnCommand(40913, 0) -- scroll view to selected track -------------------------------------------------------------------------------- /Tracks Properties/sr_Hide tracks without items and ignore folder tracks (TCP).lua: -------------------------------------------------------------------------------- 1 | -- @description Hide tracks without items and ignore folders (TCP) 2 | -- @version 1.0 3 | -- @changelog 4 | -- initial release 5 | -- @author Stephan Römer 6 | -- @provides [main=main] . 7 | -- @about 8 | -- # Description 9 | -- * this script hides all tracks in the TCP, that have no items but will ignore folder tracks 10 | -- * This script works only in the arrangement 11 | -- @link https://forums.cockos.com/showthread.php?p=1923923 12 | 13 | tracks_amount = reaper.GetNumTracks() 14 | 15 | for t = 0, tracks_amount-1 do 16 | track = reaper.GetTrack(0, t) 17 | items = reaper.CountTrackMediaItems(track) 18 | _, flags = reaper.GetTrackState(track) -- get folder state 19 | if items == 0 and flags&1 ~= 1 then -- does track have items and isn't folder? 20 | if reaper.GetMediaTrackInfo_Value(track, "B_SHOWINTCP") == 1.0 then -- is track visible? 21 | reaper.SetMediaTrackInfo_Value(track, "B_SHOWINTCP", 0) -- hide track 22 | end 23 | end 24 | end 25 | 26 | reaper.TrackList_AdjustWindows(false) 27 | reaper.UpdateArrange() 28 | reaper.Main_OnCommand(40913, 0) -- scroll view to selected track -------------------------------------------------------------------------------- /Tracks Properties/sr_Toggle collapse selected folders.lua: -------------------------------------------------------------------------------- 1 | -- @description Toggle collapse selected folders 2 | -- @version 1.0 3 | -- @author Stephan Römer 4 | -- @about 5 | -- # Description 6 | -- - this script will collapse or compact selected folder tracks 7 | -- 8 | -- @link https://forum.cockos.com/showpost.php?p=1923094&postcount=124 9 | -- 10 | -- @changelog 11 | -- v1.0 (2018-01-21) 12 | -- + initial release 13 | 14 | 15 | reaper.Undo_BeginBlock() 16 | 17 | reaper.PreventUIRefresh(1) 18 | 19 | for i = 0, reaper.CountSelectedTracks(0)-1 do -- loop through all selected tracks 20 | track = reaper.GetSelectedTrack(0,i) -- save actual track to "track" 21 | if track ~= nil and reaper.GetMediaTrackInfo_Value(track, 'I_FOLDERDEPTH') == 1 then -- if selected track is folder and not nil 22 | if reaper.GetMediaTrackInfo_Value(track, 'I_FOLDERCOMPACT') ~= 2 then 23 | reaper.SetMediaTrackInfo_Value(track, 'I_FOLDERCOMPACT', 2) 24 | else 25 | reaper.SetMediaTrackInfo_Value(track, 'I_FOLDERCOMPACT', 0) 26 | end 27 | end 28 | end 29 | 30 | reaper.PreventUIRefresh(-1) 31 | 32 | reaper.Undo_EndBlock("Toggle collapse selected folders", 0) 33 | -------------------------------------------------------------------------------- /Transport/sr_Edit cursor follows start of item.lua: -------------------------------------------------------------------------------- 1 | -- @description Edit cursor follows start of item 2 | -- @version 1.0 3 | -- @author Stephan Römer 4 | -- @about 5 | -- # Description 6 | -- - this script mimics the behaviour of Nuendo's Edit Mode. You select an item, execute the script 7 | -- and move/nudge the item with the mouse. As result, the edit cursor will snap to the start of the 8 | -- item and follow your mouse movement. 9 | -- - the script is executed as an endless loop, so you have to terminate it, when you are done. 10 | -- Best is, to assign it as a shortcut and terminate it when pressing the shortcut again. 11 | -- 12 | -- @link https://forums.cockos.com/showpost.php?p=1909014&postcount=6 13 | -- 14 | -- @changelog 15 | -- + Initial release 16 | 17 | 18 | loopcount=0 19 | 20 | function runloop() 21 | 22 | loopcount=loopcount+1 23 | if loopcount >= 1 then 24 | loopcount=0 25 | item = reaper.GetSelectedMediaItem(0, 0) 26 | item_pos = reaper.GetMediaItemInfo_Value(item, "D_POSITION") 27 | reaper.SetEditCurPos(item_pos, true, false) 28 | end 29 | 30 | reaper.defer(runloop) 31 | 32 | end 33 | 34 | reaper.defer(runloop) -------------------------------------------------------------------------------- /Transport/sr_Go to end marker.lua: -------------------------------------------------------------------------------- 1 | -- @description Go to end marker 2 | -- @version 1.1 3 | -- @changelog 4 | -- + Code optimizations 5 | -- @author Stephan Römer 6 | -- @link https://forums.cockos.com/showthread.php?p=1923923 7 | -- @provides [main] . 8 | -- @about 9 | -- # Description 10 | -- * This script puts the edit / play cursor to the marker named "=END" 11 | -- * I use this in conjunction with "X-Raym_Insert or update start and end marker from time selection.lua" to create the project boundaries 12 | -- or my own script "sr_Set start and end marker to items in project.lua" (both available via ReaPack) 13 | -- * This script works only in the arrangement 14 | 15 | 16 | local marker_num = reaper.CountProjectMarkers(0) 17 | 18 | for i=0, marker_num-1 do 19 | local _, _, pos, _, name, _ = reaper.EnumProjectMarkers(i) 20 | if name == "=END" then 21 | reaper.SetEditCurPos(pos, true, false) 22 | end 23 | end 24 | 25 | if reaper.GetPlayState() == 1 then -- if playback is on 26 | reaper.OnPlayButton() -- press play to move the play cursor to the edit cursor 27 | end 28 | 29 | reaper.UpdateArrange() 30 | 31 | function NoUndoPoint() end 32 | reaper.defer(NoUndoPoint) 33 | -------------------------------------------------------------------------------- /Transport/sr_Go to start marker.lua: -------------------------------------------------------------------------------- 1 | -- @description Go to start marker 2 | -- @version 1.1 3 | -- @changelog 4 | -- + Code optimizations 5 | -- @author Stephan Römer 6 | -- @link https://forums.cockos.com/showthread.php?p=1923923 7 | -- @provides [main=main] . 8 | -- @about 9 | -- # Description 10 | -- * This script puts the edit / play cursor to the marker named "=START" 11 | -- * I use this in conjunction with "X-Raym_Insert or update start and end marker from time selection.lua" to create the project boundaries 12 | -- or my own script "sr_Set start and end marker to items in project.lua" (both available via ReaPack) 13 | -- * This script works only in the arrangement 14 | 15 | 16 | local marker_num = reaper.CountProjectMarkers(0) 17 | 18 | for i=0, marker_num-1 do 19 | local _, _, pos, _, name, _ = reaper.EnumProjectMarkers(i) 20 | if name == "=START" then 21 | reaper.SetEditCurPos(pos, true, false) 22 | end 23 | end 24 | 25 | if reaper.GetPlayState() == 1 then -- if playback is on 26 | reaper.OnPlayButton() -- press play to move the play cursor to the edit cursor 27 | end 28 | 29 | reaper.UpdateArrange() 30 | 31 | function NoUndoPoint() end 32 | reaper.defer(NoUndoPoint) 33 | -------------------------------------------------------------------------------- /Transport/sr_Move cursor to start of selected item and preserve play state.lua: -------------------------------------------------------------------------------- 1 | -- @description Move cursor to start of selected item and preserve play state 2 | -- @version 1.0 3 | -- @changelog 4 | -- initial release 5 | -- @author Stephan Römer 6 | -- @provides [main=main] . 7 | -- @about 8 | -- # Description 9 | -- * This script moves the edit cursor to the start of the selected item 10 | -- * If the edit cursor is moved, while playback is on, the playback continues 11 | -- * This script works only in the Arrangement 12 | -- @link https://forums.cockos.com/showthread.php?p=1923923 13 | 14 | reaper.Main_OnCommandEx(41173, 0, 0) -- go to start of selected item 15 | 16 | if reaper.GetPlayState() == 1 then -- if playback is on 17 | reaper.OnPlayButton() -- press play to move the play cursor to the edit cursor 18 | end 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Transport/sr_Move edit cursor by frames (mousewheel).lua: -------------------------------------------------------------------------------- 1 | -- @description Move edit cursor by frames (mousewheel) 2 | -- @version 1.0 3 | -- @author Stephan Römer 4 | -- @about 5 | -- # Description 6 | -- - this script moves the edit cursor by frames depending on the value sent by the mousewheel. 7 | -- 8 | -- @link https://forums.cockos.com/showthread.php?p=1923923 9 | -- 10 | -- @provides [main] . 11 | -- @changelog 12 | -- v1.0 (2018-06-20) 13 | -- + Initial release 14 | 15 | function NoUndoPoint() end 16 | 17 | _,_,_,_,_,_,val = reaper.get_action_context() 18 | 19 | if val > 0 then 20 | reaper.ApplyNudge(0, -- project 21 | 2, -- snap 22 | 6, -- edit cursor 23 | 18, -- frames 24 | 1, -- amount 25 | 0, -- move right 26 | 0) -- no copies 27 | 28 | else 29 | reaper.ApplyNudge(0, -- project 30 | 2, -- snap 31 | 6, -- edit cursor 32 | 18, -- frames 33 | 1, -- amount 34 | 1, -- move left 35 | 0) -- no copies 36 | end 37 | 38 | reaper.defer(NoUndoPoint) -------------------------------------------------------------------------------- /Transport/sr_Select and move to next item and preserve play state.lua: -------------------------------------------------------------------------------- 1 | -- @description Select and move to next item and preserve play state 2 | -- @version 1.0 3 | -- @changelog 4 | -- initial release 5 | -- @author Stephan Römer 6 | -- @provides [main=main] . 7 | -- @about 8 | -- # Description 9 | -- * This script moves the edit cursor to the start of the next item 10 | -- * If the edit cursor is moved, while playback is on, the playback continues 11 | -- * This script works only in the Arrangement 12 | -- @link https://forums.cockos.com/showthread.php?p=1923923 13 | 14 | reaper.Main_OnCommandEx(40417, 0, 0) -- Item navigation: Select and move to next item 15 | 16 | if reaper.GetPlayState() == 1 then -- if playback is on 17 | reaper.OnPlayButton() -- press play to move the play cursor to the edit cursor 18 | end 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Transport/sr_Select and move to previous item and preserve play state.lua: -------------------------------------------------------------------------------- 1 | -- @description Select and move to previous item and preserve play state 2 | -- @version 1.0 3 | -- @changelog 4 | -- initial release 5 | -- @author Stephan Römer 6 | -- @provides [main=main] . 7 | -- @about 8 | -- # Description 9 | -- * This script moves the edit cursor to the start of the previous item 10 | -- * If the edit cursor is moved, while playback is on, the playback continues 11 | -- * This script works only in the Arrangement 12 | -- @link https://forums.cockos.com/showthread.php?p=1923923 13 | 14 | reaper.Main_OnCommandEx(40416, 0, 0) -- Item navigation: Select and move to previous item 15 | 16 | if reaper.GetPlayState() == 1 then -- if playback is on 17 | reaper.OnPlayButton() -- press play to move the play cursor to the edit cursor 18 | end 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Transport/sr_Stop - return to last cursor positions.lua: -------------------------------------------------------------------------------- 1 | -- @description Stop / return to last cursor positions 2 | -- @version 1.0 3 | -- @author Stephan Römer 4 | -- @about 5 | -- # Description 6 | -- - this script either stops the playback (when transport is playing) or returns to the last cursor positions (when transport is stopped) 7 | -- and mimics the Cubase behavior of the 0 NumPad key 8 | -- - no undo will be created for this script 9 | -- 10 | -- @link https://forums.cockos.com/showthread.php?p=1923923 11 | -- 12 | -- @provides [main] . 13 | -- @changelog 14 | -- v1.0 (2018-01-23) 15 | -- + Initial release 16 | 17 | function NoUndoPoint() end 18 | 19 | playstate = reaper.GetPlayState() -- get play state of the transport 20 | if playstate > 0 then -- when play state is greater 0 (play, pause, record) 21 | reaper.Main_OnCommand(40434, 0) -- View: Move edit cursor to play cursor 22 | reaper.Main_OnCommand(1016, 0) -- Transport: Stop 23 | else 24 | reaper.Main_OnCommand(reaper.NamedCommandLookup("_SWS_EDITCURUNDO"), 0) -- Undo edit cursor move 25 | end 26 | 27 | reaper.defer(NoUndoPoint) -------------------------------------------------------------------------------- /Transport/sr_Toggle play - stop.lua: -------------------------------------------------------------------------------- 1 | -- @description Toggle play / stop 2 | -- @version 1.0 3 | -- @author Stephan Römer 4 | -- @about 5 | -- # Description 6 | -- - this script toggles between play and stop and mimics the Cubase transport behavior of the space bar 7 | -- - no undo will be created for this script 8 | -- 9 | -- @link https://forums.cockos.com/showthread.php?p=1923923 10 | -- 11 | -- @provides [main] . 12 | -- @changelog 13 | -- v1.0 (2018-01-23) 14 | -- + Initial release 15 | 16 | function NoUndoPoint() end 17 | 18 | playstate = reaper.GetPlayState() -- get play state of the transport 19 | if playstate > 0 then -- when play state is greater 0 (play, pause, record) 20 | reaper.Main_OnCommand(40434, 0) -- View: Move edit cursor to play cursor 21 | reaper.Main_OnCommand(1016, 0) -- Transport: Stop 22 | else 23 | reaper.Main_OnCommand(1007, 0) -- Transport: Play 24 | end 25 | 26 | reaper.defer(NoUndoPoint) -------------------------------------------------------------------------------- /Various/sr_Zoom to start and end marker.lua: -------------------------------------------------------------------------------- 1 | -- @description Zoom to start and end marker 2 | -- @version 1.0 3 | -- @changelog 4 | -- initial release 5 | -- @author Stephan Römer 6 | -- @provides [main=main] . 7 | -- @about 8 | -- # Description 9 | -- * This script zooms in between the boundaries of the start and end marker 10 | -- * I use this in conjunction with "X-Raym_Insert or update start and end marker from time selection.lua" to create the project boundaries 11 | -- * To undo the zoom, use "View: Restore previous zoom level" 12 | -- * This script works only in the arrangement 13 | -- @link https://forums.cockos.com/showthread.php?p=1923923 14 | 15 | 16 | reaper.Undo_BeginBlock() 17 | 18 | marker_num = reaper.CountProjectMarkers(0) 19 | 20 | for i=0, marker_num-1 do 21 | _, _, pos, _, name, _ = reaper.EnumProjectMarkers(i) 22 | if name == "=START" then 23 | startpos = pos 24 | elseif name == "=END" then 25 | endpos = pos 26 | end 27 | end 28 | 29 | reaper.GetSet_ArrangeView2(0, true, 0, 0, startpos-1, endpos+1) 30 | reaper.UpdateArrange() 31 | 32 | reaper.Undo_EndBlock("Zoom to start and end marker", -1) 33 | --------------------------------------------------------------------------------