Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
stop reset function if record arm or record is enabled
- Loading branch information
Showing
with
3 additions
and
1 deletion.
-
+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 |
|
|
|