From a5afa7e4ca79dc239e2a7f01d1fbfa979599a7cf Mon Sep 17 00:00:00 2001 From: Grayson Solis <109297237+grayson-solis@users.noreply.github.com> Date: Thu, 3 Jul 2025 23:47:49 -0400 Subject: [PATCH 1/2] Release Add JS Humanizer to Top of Track Chain v1.0 --- ...Add JS Humanizer to Top of Track Chain.lua | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 FX/graysonsolis_Add JS Humanizer to Top of Track Chain.lua diff --git a/FX/graysonsolis_Add JS Humanizer to Top of Track Chain.lua b/FX/graysonsolis_Add JS Humanizer to Top of Track Chain.lua new file mode 100644 index 000000000..e978086bf --- /dev/null +++ b/FX/graysonsolis_Add JS Humanizer to Top of Track Chain.lua @@ -0,0 +1,30 @@ +-- @description Add JS Humanizer to Top of Track Chain +-- @author Grayson Solis +-- @version 1.0 +-- @about Inserts the built-in JS humanizer at slot 1 on the selected track’s FX chain. + +--[[ +@version 1.0 +@author Grayson Solis +@description Inserts the built-in JS humanizer at slot 1 on the selected track’s FX chain. +@website https://graysonsolis.com +@donations https://paypal.me/GrayTunes?country.x=US&locale.x=en_US +]] + +local tr = reaper.GetSelectedTrack(0, 0) +if not tr then return end + +reaper.Undo_BeginBlock() + -- add the JS humanizer to the TRACK FX chain (recFX = false), always at end (pos = -1) + local fx = reaper.TrackFX_AddByName( + tr, + "JS: MIDI Velocity and Timing Humanizer", + false, -- false = normal FX chain (not Input FX) + -1 -- -1 = always add new instance at end + ) + if fx >= 0 then + -- move it into slot 0 (top of chain), shifting others down + reaper.TrackFX_CopyToTrack(tr, fx, tr, 0, true) + end +reaper.Undo_EndBlock("Add JS MIDI Velocity and Timing Humanizer to top", -1) + From 82f5475c96c6bbb84cd471eac19d729abd5d56a6 Mon Sep 17 00:00:00 2001 From: Christian Fillion Date: Fri, 4 Jul 2025 04:35:21 -0400 Subject: [PATCH 2/2] remove the duplicate metadata header and rename to sentence case --- ...olis_Add JS Humanizer to top of track chain.lua} | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) rename FX/{graysonsolis_Add JS Humanizer to Top of Track Chain.lua => graysonsolis_Add JS Humanizer to top of track chain.lua} (71%) diff --git a/FX/graysonsolis_Add JS Humanizer to Top of Track Chain.lua b/FX/graysonsolis_Add JS Humanizer to top of track chain.lua similarity index 71% rename from FX/graysonsolis_Add JS Humanizer to Top of Track Chain.lua rename to FX/graysonsolis_Add JS Humanizer to top of track chain.lua index e978086bf..1cb6af0cd 100644 --- a/FX/graysonsolis_Add JS Humanizer to Top of Track Chain.lua +++ b/FX/graysonsolis_Add JS Humanizer to top of track chain.lua @@ -1,15 +1,9 @@ --- @description Add JS Humanizer to Top of Track Chain +-- @description Add JS Humanizer to top of track chain -- @author Grayson Solis -- @version 1.0 -- @about Inserts the built-in JS humanizer at slot 1 on the selected track’s FX chain. - ---[[ -@version 1.0 -@author Grayson Solis -@description Inserts the built-in JS humanizer at slot 1 on the selected track’s FX chain. -@website https://graysonsolis.com -@donations https://paypal.me/GrayTunes?country.x=US&locale.x=en_US -]] +-- @website https://graysonsolis.com +-- @donations https://paypal.me/GrayTunes?country.x=US&locale.x=en_US local tr = reaper.GetSelectedTrack(0, 0) if not tr then return end @@ -27,4 +21,3 @@ reaper.Undo_BeginBlock() reaper.TrackFX_CopyToTrack(tr, fx, tr, 0, true) end reaper.Undo_EndBlock("Add JS MIDI Velocity and Timing Humanizer to top", -1) -