本文整理汇总了Python中supriya.tools.ugentools.UGen.UGen类的典型用法代码示例。如果您正苦于以下问题:Python UGen类的具体用法?Python UGen怎么用?Python UGen使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了UGen类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
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,
)
示例2: __init__
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,
)
示例3: __init__
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,
)
示例4: __init__
def __init__(
self,
calculation_rate=None,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
)
示例5: __init__
def __init__(
self,
calculation_rate=None,
envelope=None,
index=None,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
envelope=envelope,
index=index,
)
示例6: __init__
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,
)
示例7: __init__
def __init__(
self,
pv_chain=None,
):
UGen.__init__(
self,
calculation_rate=CalculationRate.CONTROL,
pv_chain=pv_chain,
)
示例8: __init__
def __init__(
self,
**kwargs
):
UGen.__init__(
self,
calculation_rate=CalculationRate.DEMAND,
**kwargs
)
示例9: __init__
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,
)
示例10: __init__
def __init__(
self,
calculation_rate=None,
source=0,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
source=source,
)
示例11: __init__
def __init__(
self,
calculation_rate=None,
density=0.,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
density=density,
)
示例12: __init__
def __init__(
self,
calculation_rate=None,
frequency=500,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
frequency=frequency,
)
示例13: __init__
def __init__(
self,
calculation_rate=None,
a=0,
b=0,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
a=a,
b=b,
)
示例14: __init__
def __init__(
self,
calculation_rate=None,
trigger=None,
node_id=None,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
trigger=trigger,
node_id=node_id,
)
示例15: __init__
def __init__(
self,
calculation_rate=None,
diff=0.01,
source=None,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
diff=diff,
source=source,
)