Skip to content

Commit

Permalink
faster tape stops
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Dec 28, 2022
1 parent 9db77c4 commit 48d0947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions amenbreak.lua
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,9 @@ function toggle_clock(on)
d_=d
end

if math.random()<easing_function2(params:get("amen"),1,0.3,0.044,0.72)/48 and params:get("tape_gate")==0 and debounce_fn["tape_gate"]==nil then
if math.random()<easing_function2(params:get("amen"),1,0.3,0.044,0.72)/64 and params:get("tape_gate")==0 and debounce_fn["tape_gate"]==nil then
params:set("tape_gate",1)
debounce_fn["tape_gate"]={math.random(15,30),function()
debounce_fn["tape_gate"]={math.random(7,15),function()
params:set("tape_gate",0)
debounce_fn["tape_gate"]={math.random(15*1,15*10),function()end}
end}
Expand Down

0 comments on commit 48d0947

Please sign in to comment.