Exemple #1
0
 def __init__(
     self,
     index=None,
     sequence=None,
 ):
     DUGen.__init__(
         self,
         index=index,
         sequence=sequence,
     )
Exemple #2
0
 def __init__(
     self,
     reset=0,
     source=None,
     ):
     DUGen.__init__(
         self,
         reset=reset,
         source=source,
         )
Exemple #3
0
 def __init__(
     self,
     repeats=1,
     sequence=None,
 ):
     DUGen.__init__(
         self,
         repeats=repeats,
         sequence=sequence,
     )
Exemple #4
0
 def __init__(
     self,
     n=None,
     source=None,
 ):
     DUGen.__init__(
         self,
         n=n,
         source=source,
     )
Exemple #5
0
 def __init__(
     self,
     max_buffer_size=1024,
     protected=True,
     source=None,
 ):
     DUGen.__init__(
         self,
         max_buffer_size=max_buffer_size,
         protected=protected,
         source=source,
     )
Exemple #6
0
 def __init__(
     self,
     buffer_id=0,
     loop=1,
     phase=0,
 ):
     DUGen.__init__(
         self,
         buffer_id=buffer_id,
         loop=loop,
         phase=phase,
     )
Exemple #7
0
 def __init__(
     self,
     length=float('inf'),
     start=1,
     step=1,
     ):
     if length is None:
         length = float('inf')
     DUGen.__init__(
         self,
         length=length,
         start=start,
         step=step,
         )
Exemple #8
0
 def __init__(
         self,
         length=float('inf'),
         maximum=1,
         minimum=0,
 ):
     if length is None:
         length = float('inf')
     DUGen.__init__(
         self,
         length=length,
         maximum=maximum,
         minimum=minimum,
     )
Exemple #9
0
 def __init__(
         self,
         grow=2,
         length=float('inf'),
         start=1,
 ):
     if length is None:
         length = float('inf')
     DUGen.__init__(
         self,
         grow=grow,
         length=length,
         start=start,
     )
Exemple #10
0
 def __init__(
         self,
         calculation_rate=None,
         length=float('inf'),
         start=1,
         step=1,
 ):
     if length is None:
         length = float('inf')
     DUGen.__init__(
         self,
         length=length,
         start=start,
         step=step,
     )
 def __init__(
     self,
     calculation_rate=None,
     label=None,
     run=1,
     source=None,
     trigid=-1,
 ):
     DUGen.__init__(
         self,
         calculation_rate=calculation_rate,
         label=label,
         run=run,
         source=source,
         trigid=trigid,
     )
Exemple #12
0
 def __init__(self, repeats=1, sequence=None, weights=None, **kwargs):
     if not isinstance(sequence, collections.Sequence):
         sequence = [sequence]
     sequence = tuple(float(_) for _ in sequence)
     if not isinstance(weights, collections.Sequence):
         weights = [weights]
     weights = tuple(float(_) for _ in weights)
     weights = weights[: len(sequence)]
     weights += (0.0,) * (len(sequence) - len(weights))
     DUGen.__init__(
         self,
         repeats=repeats,
         length=len(sequence),
         sequence=sequence,
         weights=weights,
     )
 def __init__(self, calculation_rate=None, length=float("inf"), start=1, step=1):
     if length is None:
         length = float("inf")
     DUGen.__init__(self, length=length, start=start, step=step)