def __init__( self, calculation_rate=None, a=1.17, adparam=1, ampdist=1, ampscale=0.5, c=0.31, ddparam=1, durdist=1, durscale=0.5, init_cps=12, knum=None, maxfrequency=660, minfrequency=440, ): if knum is None: knum = init_cps UGen.__init__( self, calculation_rate=calculation_rate, a=a, adparam=adparam, ampdist=ampdist, ampscale=ampscale, c=c, ddparam=ddparam, durdist=durdist, durscale=durscale, init_cps=init_cps, knum=knum, maxfrequency=maxfrequency, minfrequency=minfrequency, )
def __init__( self, calculation_rate=None, label=None, source=None, trigger=None, trigger_id=-1, ): from supriya.tools import synthdeftools from supriya.tools import ugentools if label is None: if isinstance(source, ugentools.UGen): label = type(source).__name__ elif isinstance(source, synthdeftools.OutputProxy): label = type(source.source).__name__ UGen.__init__( self, calculation_rate=calculation_rate, source=source, trigger=trigger, trigger_id=trigger_id, ) label = str(label) self._configure_input('label', len(label)) for character in label: self._configure_input('label', ord(character))
def __init__( self, calculation_rate=None, adparam=1, ampdist=1, ampscale=0.5, ddparam=1, durdist=1, durscale=0.5, init_cps=12, knum=None, maxfrequency=660, minfrequency=440, ): if knum is None: knum = init_cps UGen.__init__( self, calculation_rate=calculation_rate, adparam=adparam, ampdist=ampdist, ampscale=ampscale, ddparam=ddparam, durdist=durdist, durscale=durscale, init_cps=init_cps, knum=knum, maxfrequency=maxfrequency, minfrequency=minfrequency, )
def __init__( self, calculation_rate=None, decay_scale=1, frequency_offset=0, frequency_scale=1, source=None, specifications=None, ): frequencies, amplitudes, decay_times = specifications assert len(frequencies) if not amplitudes: amplitudes = [1.0] * len(frequencies) elif not isinstance(amplitudes, collections.Sequence): amplitudes = [amplitudes] * len(frequencies) if not decay_times: decay_times = [1.0] * len(frequencies) elif not isinstance(decay_times, collections.Sequence): decay_times = [decay_times] * len(frequencies) specifications = sequencetools.zip_sequences( [frequencies, amplitudes, decay_times]) specifications = sequencetools.flatten_sequence(specifications) specifications = tuple(specifications) UGen.__init__( self, calculation_rate=calculation_rate, decay_scale=decay_scale, frequency_offset=frequency_offset, frequency_scale=frequency_scale, source=source, specifications=specifications, )
def __init__( self, calculation_rate=None, command_name='/reply', peak_lag=3, reply_id=-1, reply_rate=20, source=None, ): UGen.__init__( self, calculation_rate=calculation_rate, peak_lag=peak_lag, reply_id=reply_id, reply_rate=reply_rate, ) command_name = str(command_name) if not isinstance(source, collections.Sequence): source = (source, ) self._configure_input('source', len(source)) for input_ in source: self._configure_input('source', input_) self._configure_input('command_name', len(command_name)) for character in command_name: self._configure_input('label', ord(character))
def __init__( self, calculation_rate=None, adparam=1, ampdist=1, ampscale=0.5, ddparam=1, durdist=1, durscale=0.5, frequency=440, init_cps=12, knum=None, ): if knum is None: knum = init_cps UGen.__init__( self, calculation_rate=calculation_rate, adparam=adparam, ampdist=ampdist, ampscale=ampscale, ddparam=ddparam, durdist=durdist, durscale=durscale, frequency=frequency, init_cps=init_cps, knum=knum, )
def __init__( self, calculation_rate=None, buffer_id=None, done_action=0, source=None, loop=1, offset=0, preexisting_level=0, record_level=1, run=1, trigger=1, ): UGen.__init__( self, calculation_rate=calculation_rate, buffer_id=buffer_id, done_action=done_action, source=source, loop=loop, offset=offset, preexisting_level=preexisting_level, record_level=record_level, run=run, trigger=trigger, )
def __init__( self, pv_chain=None, floor=0.1, medianspan=11, mingap=10, odftype=ODFType.RCOMPLEX, rawodf=0, relaxtime=1, threshold=0.5, whtype=1, ): UGen.__init__( self, calculation_rate=CalculationRate.CONTROL, pv_chain=pv_chain, floor=floor, medianspan=medianspan, mingap=mingap, odftype=odftype, rawodf=rawodf, relaxtime=relaxtime, threshold=threshold, whtype=whtype, )
def __init__( self, calculation_rate=None, curve=0, done_action=0, duration=None, gate=1, level=None, level_bias=0, level_scale=1, reset=1, shape=1, time_scale=1, ): UGen.__init__( self, calculation_rate=calculation_rate, curve=curve, done_action=done_action, duration=duration, gate=gate, level=level, level_bias=level_bias, level_scale=level_scale, reset=reset, shape=shape, time_scale=time_scale, )
def __init__( self, calculation_rate=None, command_name='/reply', peak_lag=3, reply_id=-1, reply_rate=20, source=None, ): UGen.__init__( self, calculation_rate=calculation_rate, peak_lag=peak_lag, reply_id=reply_id, reply_rate=reply_rate, ) command_name = str(command_name) if not isinstance(source, collections.Sequence): source = (source,) self._configure_input('source', len(source)) for input_ in source: self._configure_input('source', input_) self._configure_input('command_name', len(command_name)) for character in command_name: self._configure_input('label', ord(character))
def __init__( self, calculation_rate=None, ): UGen.__init__( self, calculation_rate=calculation_rate, )
def __init__(self, calculation_rate=None, freqoffset=0, freqscale=1, specifications_array_ref=None): UGen.__init__( self, calculation_rate=calculation_rate, freqoffset=freqoffset, freqscale=freqscale, specifications_array_ref=specifications_array_ref, )
def __init__( self, pv_chain=None, ): UGen.__init__( self, calculation_rate=CalculationRate.CONTROL, pv_chain=pv_chain, )
def __init__(self, calculation_rate=None, done_action=0, duration=1, level=1, reset=0): UGen.__init__( self, calculation_rate=calculation_rate, done_action=done_action, duration=duration, level=level, reset=reset, )
def __init__( self, **kwargs ): UGen.__init__( self, calculation_rate=CalculationRate.DEMAND, **kwargs )
def __init__( self, calculation_rate=None, trigger=None, ): UGen.__init__( self, calculation_rate=calculation_rate, trigger=trigger, )
def __init__( self, calculation_rate=None, source=0, ): UGen.__init__( self, calculation_rate=calculation_rate, source=source, )
def __init__( self, calculation_rate=None, density=0., ): UGen.__init__( self, calculation_rate=calculation_rate, density=density, )
def __init__( self, calculation_rate=None, trigger=0, ): UGen.__init__( self, calculation_rate=calculation_rate, trigger=trigger, )
def __init__( self, calculation_rate=None, chaos_parameter=1.5, ): UGen.__init__( self, calculation_rate=calculation_rate, chaos_parameter=chaos_parameter, )
def __init__( self, calculation_rate=None, frequency=500, ): UGen.__init__( self, calculation_rate=calculation_rate, frequency=frequency, )
def __init__( self, maximum=0, ): from supriya.tools import synthdeftools maximum = float(maximum) calculation_rate = synthdeftools.CalculationRate.SCALAR UGen.__init__( self, calculation_rate=calculation_rate, maximum=maximum, )
def __init__( self, calculation_rate=None, minimum=0., maximum=1., ): UGen.__init__( self, calculation_rate=calculation_rate, minimum=minimum, maximum=maximum, )
def __init__( self, calculation_rate=None, diff=0.01, source=None, ): UGen.__init__( self, calculation_rate=calculation_rate, diff=diff, source=source, )
def __init__( self, calculation_rate=None, source=None, ): if not isinstance(source, collections.Sequence): source = (source,) UGen.__init__( self, calculation_rate=calculation_rate, source=source, )
def __init__( self, calculation_rate=None, array=None, which=None, ): UGen.__init__( self, calculation_rate=calculation_rate, array=array, which=which, )
def __init__( self, calculation_rate=None, frequency=440, harmonic_count=200, ): UGen.__init__( self, calculation_rate=calculation_rate, frequency=frequency, harmonic_count=harmonic_count, )
def __init__( self, calculation_rate=None, probability=None, trigger=None, ): UGen.__init__( self, calculation_rate=calculation_rate, probability=probability, trigger=trigger, )
def __init__( self, calculation_rate=None, envelope=None, index=None, ): UGen.__init__( self, calculation_rate=calculation_rate, envelope=envelope, index=index, )
def __init__( self, calculation_rate=None, duration=0.1, source=None, ): UGen.__init__( self, calculation_rate=calculation_rate, duration=duration, source=source, )
def __init__( self, calculation_rate=None, a=0, b=0, ): UGen.__init__( self, calculation_rate=calculation_rate, a=a, b=b, )
def __init__( self, calculation_rate=None, buffer_id=None, source=None, ): UGen.__init__( self, calculation_rate=calculation_rate, buffer_id=buffer_id, source=source, )
def __init__( self, calculation_rate=None, source=None, ): if not (hasattr(source, 'has_done_flag') and source.has_done_flag): raise ValueError(repr(source)) UGen.__init__( self, calculation_rate=calculation_rate, source=source, )
def __init__( self, calculation_rate=None, buffer_id=0, input_array=None, ): UGen.__init__( self, calculation_rate=calculation_rate, buffer_id=buffer_id, input_array=input_array, )
def __init__( self, calculation_rate=None, frequency=440, width=0.5, ): UGen.__init__( self, calculation_rate=calculation_rate, frequency=frequency, width=width, )
def __init__( self, calculation_rate=None, source=None, ): if not isinstance(source, collections.Sequence): source = (source, ) UGen.__init__( self, calculation_rate=calculation_rate, source=source, )
def __init__( self, calculation_rate=None, reset=0, trigger=0, ): UGen.__init__( self, calculation_rate=calculation_rate, reset=reset, trigger=trigger, )
def __init__( self, calculation_rate=None, decay=0.999, source=None, ): UGen.__init__( self, calculation_rate=calculation_rate, decay=decay, source=source, )
def __init__( self, calculation_rate=None, trigger=None, node_id=None, ): UGen.__init__( self, calculation_rate=calculation_rate, trigger=trigger, node_id=node_id, )
def __init__( self, calculation_rate=None, numsamp=40, source=None, ): UGen.__init__( self, calculation_rate=calculation_rate, numsamp=numsamp, source=source, )
def __init__( self, calculation_rate=None, special_index=0, **kwargs ): UGen.__init__( self, calculation_rate=calculation_rate, special_index=special_index, **kwargs )