Exemplo n.º 1
0
 def __init__(
     self,
     calculation_rate='AUDIO',
     channel_count=1,
     delta=0,
     is_stop=False,
     release_time=None,
     uuid=None,
 ):
     assert 0 < channel_count
     if calculation_rate is not None:
         calculation_rate = synthdeftools.CalculationRate.from_expr(
             calculation_rate)
     is_stop = is_stop or None
     if is_stop:
         is_stop = bool(is_stop)
     Event.__init__(
         self,
         calculation_rate=calculation_rate,
         channel_count=channel_count,
         delta=delta,
         is_stop=is_stop,
         release_time=release_time,
         uuid=uuid,
     )
Exemplo n.º 2
0
 def __init__(
     self,
     calculation_rate='AUDIO',
     channel_count=1,
     delta=0,
     is_stop=False,
     release_time=None,
     uuid=None,
     ):
     assert 0 < channel_count
     if calculation_rate is not None:
         calculation_rate = synthdeftools.CalculationRate.from_expr(
             calculation_rate)
     is_stop = is_stop or None
     if is_stop:
         is_stop = bool(is_stop)
     Event.__init__(
         self,
         calculation_rate=calculation_rate,
         channel_count=channel_count,
         delta=delta,
         is_stop=is_stop,
         release_time=release_time,
         uuid=uuid,
         )
Exemplo n.º 3
0
 def __init__(
     self,
     add_action=None,
     delta=0,
     is_stop=None,
     synthdef=None,
     target_node=None,
     uuid=None,
     **settings
     ):
     if add_action is not None:
         add_action = servertools.AddAction.from_expr(add_action)
     is_stop = is_stop or None
     if is_stop:
         is_stop = bool(is_stop)
     Event.__init__(
         self,
         add_action=add_action,
         delta=delta,
         is_stop=is_stop,
         synthdef=synthdef,
         target_node=target_node,
         uuid=uuid,
         **settings
         )
Exemplo n.º 4
0
 def __init__(self,
              add_action=None,
              delta=None,
              duration=None,
              target_node=None,
              uuid=None,
              **settings):
     if add_action is not None:
         add_action = servertools.AddAction.from_expr(add_action)
     Event.__init__(self,
                    add_action=add_action,
                    delta=delta,
                    duration=duration,
                    target_node=target_node,
                    uuid=uuid,
                    **settings)
Exemplo n.º 5
0
 def __init__(self,
              add_action=None,
              delta=0,
              is_stop=None,
              synthdef=None,
              target_node=None,
              uuid=None,
              **settings):
     if add_action is not None:
         add_action = servertools.AddAction.from_expr(add_action)
     is_stop = is_stop or None
     if is_stop:
         is_stop = bool(is_stop)
     Event.__init__(self,
                    add_action=add_action,
                    delta=delta,
                    is_stop=is_stop,
                    synthdef=synthdef,
                    target_node=target_node,
                    uuid=uuid,
                    **settings)
Exemplo n.º 6
0
 def __init__(
     self,
     add_action=None,
     delta=0,
     is_stop=None,
     target_node=None,
     release_time=None,
     uuid=None,
     ):
     if add_action is not None:
         add_action = servertools.AddAction.from_expr(add_action)
     is_stop = is_stop or None
     if is_stop:
         is_stop = bool(is_stop)
     Event.__init__(
         self,
         add_action=add_action,
         delta=delta,
         is_stop=is_stop,
         release_time=release_time,
         target_node=target_node,
         uuid=uuid,
         )
Exemplo n.º 7
0
 def __init__(
     self,
     add_action=None,
     delta=0,
     is_stop=None,
     target_node=None,
     release_time=None,
     uuid=None,
     ):
     if add_action is not None:
         add_action = servertools.AddAction.from_expr(add_action)
     is_stop = is_stop or None
     if is_stop:
         is_stop = bool(is_stop)
     Event.__init__(
         self,
         add_action=add_action,
         delta=delta,
         is_stop=is_stop,
         release_time=release_time,
         target_node=target_node,
         uuid=uuid,
         )