Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add target_bus=... to Pattern.play() #359

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading