Skip to content

Instantly share code, notes, and snippets.

@jtackaberry
jtackaberry / tack_Toggle docked MIDI editor.lua
Created April 20, 2019 16:04
Reaper action to toggle docking of MIDI editor which also toggles sync to arrange view
--[[
* ReaScript Name: Toggle docked MIDI editor
* Author: Jason Tackaberry (tack)
* Licence: Public Domain
* Extensions: None
* Version: 1.0
--]]
MIDI_SECTION_ID = 32060
@jtackaberry
jtackaberry / UACC.reabank
Created April 1, 2017 16:40
Reaper reabank file for Spitfire UACC
Bank 32 0 UACC
0 undefined
1 long
2 long alt
3 8ve
4 8ve con sord
5 1/2 con sord
6 1/2 muted
7 con sord
@jtackaberry
jtackaberry / tack_Select Track By Name - Next.lua
Last active December 20, 2016 15:04
Reaper script to search for tracks by name
--[[
* ReaScript Name: Select Track By Name - Next
* Description: Advance to the next track matched by the main "Select Track by Name" script.
* Author: Jason Tackaberry (tack)
* Licence: Public Domain
* Extensions: SWS/S&M 2.8.0
* Version: 1.0
--]]
function focusTrack(track, multiselect)
@jtackaberry
jtackaberry / cc1smooth.ksp
Created July 6, 2016 22:55
Use CC11 to smooth out volume transition of low CC1 values
// Must be compiled using SublimeKSP: https://github.com/nojanath/SublimeKSP/
on init
declare const CC1_MIN_THRESHOLD := 30
declare read last_cc_in[128] := (127)
declare read last_cc11_out := 127
declare value
end on
on midi_in
if MIDI_COMMAND = MIDI_COMMAND_CC and (MIDI_BYTE_1 = 1 or MIDI_BYTE_1 = 11)
@jtackaberry
jtackaberry / child.js
Last active February 4, 2016 03:56
e10s experiments (with nightly from 2016.02-03)
dump("*** child context\n");
@jtackaberry
jtackaberry / Toggle show instrument FX on selected tracks.lua
Created January 10, 2016 02:03
REAPER script: toggles FX floating windows of all VSTis on selected tracks
-- Version 1.0
--
-- This script toggles visibility of all instrument FX on the selected tracks.
-- It requires that the FX be prefixed with "VSTi:" (which Reaper does do by
-- default).
--
-- Released to the public domain.
for idx = 0, reaper.CountSelectedTracks(0) - 1 do
track = reaper.GetSelectedTrack(0, idx)
@jtackaberry
jtackaberry / Toggle FX online for selected tracks.lua
Last active March 14, 2023 14:03
REAPER script: Toggle FX online, bypass, and track lock for selected tracks.
-- Version 1.1
--
-- This script toggles FX online/offline, FX bypass, and track lock on
-- all selected tracks.
--
-- SWS cycle actions can be used for toggling only online and lock, but
-- not if you also want to include FX bypass.
-- SWS is required (http://www.sws-extension.org/)
--
@jtackaberry
jtackaberry / Toggle visibility of disabled instrument tracks.lua
Last active May 26, 2020 15:27
REAPER script: Toggle visibility of disabled instrument tracks (i.e. tracks with a VSTi that have FX bypassed).
-- Version 1.2
--
-- This script toggles visibility of all tracks that have a VSTi FX.
-- It requires that the FX be prefixed with "VSTi:" (which Reaper
-- does do by default). Care is taken to preserve existing TCP/MCP
-- visibility when the filter is toggled off.
--
-- SWS is required (http://www.sws-extension.org/)
--
-- Released to the public domain.
@jtackaberry
jtackaberry / Enable FX on track select.lua
Last active January 10, 2016 00:21
REAPER script: Unbypass and online all FX for selected tracks
-- Unbypasses and onlines all FX for selected tracks
--
-- Released to the public domain.
lastSelection = ''
function enableFX()
-- Track: Unlock track controls
reaper.Main_OnCommandEx(41313, 0, 0)
-- Unbypass FX of selected tracks
@jtackaberry
jtackaberry / Toggle visibility of instrument tracks with no items.lua
Last active January 10, 2016 00:22
REAPER script: toggle visibility of instrument tracks (those with VSTi FX instances) with no MIDI items
-- Version 1.1
--
-- This script toggles visibility of all tracks that have a VSTi FX.
-- It requires that the FX be prefixed with "VSTi:" (which Reaper
-- does do by default). Care is taken to preserve existing TCP/MCP
-- visibility when the filter is toggled off.
--
-- SWS is required (http://www.sws-extension.org/)
--
-- Released to the public domain.