players¶
-
class PatternPlayer(pattern: Pattern, context: Context, clock: BaseClock, callback: Callable[[PatternPlayer, ClockContext, Event, Priority], None] | None =
None, target_bus: Bus | None =None, target_node: Node | None =None, uuid: UUID | None =None)¶ Bases:
objectA pattern player.
Coordinates interactions between a pattern, a clock_context, and a clock.
-
play(quantization: '8M' | '4M' | '2M' | '1M' | '1/2' | '1/2T' | '1/4' | '1/4T' | '1/8' | '1/8T' | '1/16' | '1/16T' | '1/32' | '1/32T' | '1/64' | '1/64T' | '1/128' | None =
None, until: float | None =None) None¶
-
stop(quantization: '8M' | '4M' | '2M' | '1M' | '1/2' | '1/2T' | '1/4' | '1/4T' | '1/8' | '1/8T' | '1/16' | '1/16T' | '1/32' | '1/32T' | '1/64' | '1/64T' | '1/128' | None =
None) None¶
-
play(quantization: '8M' | '4M' | '2M' | '1M' | '1/2' | '1/2T' | '1/4' | '1/4T' | '1/8' | '1/8T' | '1/16' | '1/16T' | '1/32' | '1/32T' | '1/64' | '1/64T' | '1/128' | None =