Skip to content
Permalink
Browse files

stop reset function if record arm or record is enabled

  • Loading branch information
luciusbono committed Dec 21, 2020
1 parent 24df9cc commit fba384309b33957756dd934187d5c94701e916af
Showing with 3 additions and 1 deletion.
  1. +3 −1 oooooo.lua
@@ -784,7 +784,9 @@ function update_timer()
uS.currentBeat=math.floor(clock.get_beats())
for i=1,6 do
if params:get(i.."reset every beat")>0 then
if uS.currentBeat%params:get(i.."reset every beat")==0 then
print(uS.currentBeat)
if uS.currentBeat%params:get(i.."reset every beat")==0 and uS.recording[i]==0 then
print("resetting: "..i)
tape_reset(i)
end
end

0 comments on commit fba3843

Please sign in to comment.