patterns

The core pattern classes.

class BinaryOpPattern(operator, expr_one, expr_two)

Bases: supriya.patterns.patterns.Pattern

property expr_one
property expr_two
property is_infinite
property operator
class Pattern

Bases: object

__abs__()
__add__(expr)
__floordiv__(expr)
__invert__()
__iter__()
__mod__(expr)
__mul__(expr)
__neg__()
__pos__()
__pow__(expr)
__radd__(expr)
__rfloordiv__(expr)
__rmod__(expr)
__rmul__(expr)
__rpow__(expr)
__rsub__(expr)
__rtruediv__(expr)
__sub__(expr)
__truediv__(expr)
abstract property is_infinite
play(provider=None, *, at=None, clock=None, quantization=None, tempo=None, until=None)
class SeedPattern(pattern, seed=0)

Bases: supriya.patterns.patterns.Pattern

property is_infinite
property pattern
property seed
class SequencePattern(sequence, iterations=1)

Bases: supriya.patterns.patterns.Pattern

property is_infinite
class UnaryOpPattern(operator, expr)

Bases: supriya.patterns.patterns.Pattern

property expr
property is_infinite
property operator