Skip to content

Commit

Permalink
Do not solo first group when first creating project and avoid soloing…
Browse files Browse the repository at this point in the history
… group when rec-arming using F9
  • Loading branch information
chmaha committed Feb 15, 2025
1 parent bf958f5 commit 72f7b96
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ReaClassical/ReaClassical_Classical Take Record.lua
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function solo()
if not track then
return false
end
SetMediaTrackInfo_Value(track, "I_SOLO", 2)
-- SetMediaTrackInfo_Value(track, "I_SOLO", 2)

for i = 0, CountTracks(0) - 1, 1 do
track = GetTrack(0, i)
Expand Down
10 changes: 5 additions & 5 deletions ReaClassical/ReaClassical_Horizontal Workflow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,13 @@ end
---------------------------------------------------------------------

function solo()
local track = GetSelectedTrack(0, 0)
if track then
SetMediaTrackInfo_Value(track, "I_SOLO", 2)
end
-- local track = GetSelectedTrack(0, 0)
-- if track then
-- SetMediaTrackInfo_Value(track, "I_SOLO", 2)
-- end

for i = 0, CountTracks(0) - 1, 1 do
track = GetTrack(0, i)
local track = GetTrack(0, i)
if IsTrackSelected(track) == false then
SetMediaTrackInfo_Value(track, "I_SOLO", 0)
end
Expand Down
2 changes: 1 addition & 1 deletion ReaClassical/ReaClassical_Vertical Workflow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ function solo()


if IsTrackSelected(track) == true then
SetMediaTrackInfo_Value(track, "I_SOLO", 2)
-- SetMediaTrackInfo_Value(track, "I_SOLO", 2)
SetMediaTrackInfo_Value(track, "B_MUTE", 0)
elseif not (special_states or special_names)
and IsTrackSelected(track) == false and GetParentTrack(track) ~= selected_track then
Expand Down

0 comments on commit 72f7b96

Please sign in to comment.