Esempio n. 1
0
 def __init__(
     self,
     source_expression=None,
     target_timespan=None,
     scope_name=None,
     fresh=True,
     persist=True,
 ):
     SingleContextSetExpression.__init__(
         self,
         attribute='rhythm',
         source_expression=source_expression,
         target_timespan=target_timespan,
         scope_name=scope_name,
         fresh=fresh,
         persist=persist,
     )
 def __init__(
     self,
     source_expression=None,
     target_timespan=None,
     target_context_name=None,
     fresh=True,
     persist=True,
     ):
     SingleContextSetExpression.__init__(
         self,
         attribute='time_signatures',
         source_expression=source_expression,
         target_timespan=target_timespan,
         target_context_name=target_context_name,
         fresh=fresh,
         persist=persist,
         )
 def __init__(
     self,
     source_expression=None,
     target_timespan=None,
     scope_name=None,
     fresh=True,
     persist=True,
     ):
     SingleContextSetExpression.__init__(
         self,
         attribute='rhythm',
         source_expression=source_expression,
         target_timespan=target_timespan,
         scope_name=scope_name,
         fresh=fresh,
         persist=persist,
         )
Esempio n. 4
0
 def __init__(
     self,
     source_expression=None,
     target_timespan=None,
     scope_name=None,
     fresh=True,
     persist=True,
     truncate=None,
     ):
     assert isinstance(truncate, (bool, type(None)))
     SingleContextSetExpression.__init__(
         self,
         attribute='divisions',
         source_expression=source_expression,
         target_timespan=target_timespan,
         scope_name=scope_name,
         fresh=fresh,
         persist=persist,
         )
     self._truncate = truncate