Skip to content

Commit

Permalink
Fixing some really minor bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubobubobubobubo committed Jun 25, 2024
1 parent 14996f3 commit 816a726
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sardine_core/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ def silence(*runners: AsyncRunner) -> None:
if len(runners) == 0:
midi.all_notes_off()
bowl.scheduler.reset()
hush()
if config.superdirt_handler:
hush()
return

for run in runners:
Expand Down Expand Up @@ -426,7 +427,7 @@ def Pat(
int: The ith element from the resulting pattern
"""
result = bowl.parser.parse(pattern)
if print:
if as_text:
pattern = []
for iterator in range(i):
pattern.append(Sender.pattern_element(result, iterator, div, rate))
Expand Down

0 comments on commit 816a726

Please sign in to comment.