本文整理汇总了Python中supriya.tools.ugentools.UGen.UGen类的典型用法代码示例。如果您正苦于以下问题:Python UGen类的具体用法?Python UGen怎么用?Python UGen使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了UGen类的19个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:26,代码来源:RecordBuf.py
示例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,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:34,代码来源:Gendy2.py
示例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,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:28,代码来源:Gendy3.py
示例4: __init__
def __init__(
self,
calculation_rate=None,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:8,代码来源:WhiteNoise.py
示例5: __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,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:8,代码来源:DynKlang.py
示例6: __init__
def __init__(
self,
pv_chain=None,
):
UGen.__init__(
self,
calculation_rate=CalculationRate.CONTROL,
pv_chain=pv_chain,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:9,代码来源:SpecFlatness.py
示例7: __init__
def __init__(
self,
**kwargs
):
UGen.__init__(
self,
calculation_rate=CalculationRate.DEMAND,
**kwargs
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:9,代码来源:DUGen.py
示例8: __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,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:9,代码来源:Duty.py
示例9: __init__
def __init__(
self,
calculation_rate=None,
source=0,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
source=source,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:10,代码来源:Hasher.py
示例10: __init__
def __init__(
self,
calculation_rate=None,
density=0.,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
density=density,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:10,代码来源:Dust2.py
示例11: __init__
def __init__(
self,
calculation_rate=None,
frequency=500,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
frequency=frequency,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:10,代码来源:LFDNoise0.py
示例12: __init__
def __init__(
self,
calculation_rate=None,
a=0,
b=0,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
a=a,
b=b,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:12,代码来源:MostChange.py
示例13: __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,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:12,代码来源:Free.py
示例14: __init__
def __init__(
self,
calculation_rate=None,
diff=0.01,
source=None,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
diff=diff,
source=source,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:12,代码来源:LastValue.py
示例15: __init__
def __init__(
self,
calculation_rate=None,
envelope=None,
index=None,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
envelope=envelope,
index=index,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:12,代码来源:IEnvGen.py
示例16: __init__
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,
)
开发者ID:digideskio,项目名称:supriya,代码行数:12,代码来源:LocalOut.py
示例17: __init__
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,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:12,代码来源:Done.py
示例18: __init__
def __init__(
self,
calculation_rate=None,
duration=0.1,
source=None,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
duration=duration,
source=source,
)
开发者ID:digideskio,项目名称:supriya,代码行数:12,代码来源:TDelay.py
示例19: __init__
def __init__(
self,
calculation_rate=None,
array=None,
which=None,
):
UGen.__init__(
self,
calculation_rate=calculation_rate,
array=array,
which=which,
)
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:12,代码来源:SelectL.py
注:本文中的supriya.tools.ugentools.UGen.UGen类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论