Skip to content

Commit

Permalink
Add target_bus=... to Pattern.play() (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
josiah-wolf-oberholtzer authored Jan 18, 2024
1 parent 43477c1 commit a27ba20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion supriya/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
This follows black's versioning scheme.
"""
__version_info__ = (24, "1b2")
__version_info__ = (24, "1b3")
__version__ = ".".join(str(x) for x in __version_info__)
4 changes: 3 additions & 1 deletion supriya/patterns/patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import supriya.patterns
from supriya.clocks import BaseClock, Clock, ClockContext, OfflineClock
from supriya.contexts import Context, Node, Score
from supriya.contexts import Bus, Context, Node, Score

from .events import CompositeEvent, Event, Priority

Expand Down Expand Up @@ -220,6 +220,7 @@ def play(
] = None,
clock: Optional[BaseClock] = None,
quantization: Optional[str] = None,
target_bus: Optional[Bus] = None,
target_node: Optional[Node] = None,
tempo: Optional[float] = None,
until: Optional[float] = None,
Expand All @@ -237,6 +238,7 @@ def play(
context=context,
clock=clock,
callback=callback,
target_bus=target_bus,
target_node=target_node,
uuid=uuid,
)
Expand Down

0 comments on commit a27ba20

Please sign in to comment.