Skip to content

Commit

Permalink
Updated DoomSquirrel_Performance Arm track for MIDI (sequential) = St…
Browse files Browse the repository at this point in the history
…op iterating for tracks to Performance Arm when the first match is found, Code cleanup
  • Loading branch information
tuomiorava committed Jul 21, 2024
1 parent 56c3866 commit 206eb91
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,18 @@
-- My music = http://iki.fi/atolonen
-- @donation
-- Donate via PayPal https://www.paypal.com/donate/?hosted_button_id=2BEA2GHZMAW9A
-- @version 2.0
-- @version 2.1
-- @changelog
-- Better operating behaviour. Now, first seeks the track to Performance Arm. If it is found,
-- un-Performance Arms all tracks, and afterwards Performance Arms the found track.
-- Also, toggles the Performance Armed state of a track when operating on the same one multiple times.
-- Stop iterating for tracks to Performance Arm when the first match is found
-- Code cleanup

----------------------------
--- USER SETTINGS ----------
----------------------------

-- The selected track idx (order number amongst all instrument tracks)
SELECTED_IDX = nil -- When nil, gets the idx from the pressed hotkey

-- Check if the track contains instrument(s)
CHECK_INSTR = true -- If false, don't require the track to have instrument(s)

Expand All @@ -74,9 +76,6 @@ TCP_ALWAYS_SCROLL_TO_TOP = false -- If true, always scrolls the Performance Arme
MCP_SCROLL_TRACK_TO_VIEW = true -- For Mixer Control Panel
MCP_ALWAYS_SCROLL_TO_LEFT = false -- If true, always scrolls the Performance Armed track to the left of the mixer view. If false: only scrolls when the track is out of view

-- The selected track idx (order number amongst all instrument tracks)
SELECTED_IDX = nil -- When nil, gets the idx from the pressed hotkey

----------------------------
--- END OF USER SETTINGS ---
----------------------------
Expand Down Expand Up @@ -233,6 +232,8 @@ function performanceArmTrack(selIdx)
unPerformanceArmTracks()
doPerformanceArmTrack(tr)
end

return
end
end
end
Expand Down

0 comments on commit 206eb91

Please sign in to comment.