shoom013 commited on
Commit
94691c4
·
verified ·
1 Parent(s): 0f4c6f4

Update Consumer.py

Browse files
Files changed (1) hide show
  1. Consumer.py +1 -1
Consumer.py CHANGED
@@ -18,7 +18,7 @@ def change_key(amt = 3, scl="minor", duration=4, flag=True):
18
  Clock.future(duration, change_key, args=[amt, scl, duration])
19
 
20
  def change_cycle(notes, scales, plen, flag=True):
21
- if Clock.now() % plen) == 0:
22
  Scale.default = scales[(Clock.now()/plen) % len(notes)]
23
  Root.default = notes[(Clock.now()/plen) % len(notes)]
24
  if flag:
 
18
  Clock.future(duration, change_key, args=[amt, scl, duration])
19
 
20
  def change_cycle(notes, scales, plen, flag=True):
21
+ if (Clock.now() % plen) == 0:
22
  Scale.default = scales[(Clock.now()/plen) % len(notes)]
23
  Root.default = notes[(Clock.now()/plen) % len(notes)]
24
  if flag: