本文整理汇总了Python中supriya.tools.ugentools.PureUGen.PureUGen.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python PureUGen.__init__方法的具体用法?Python PureUGen.__init__怎么用?Python PureUGen.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类supriya.tools.ugentools.PureUGen.PureUGen
的用法示例。
在下文中一共展示了PureUGen.__init__方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from supriya.tools.ugentools.PureUGen import PureUGen [as 别名]
# 或者: from supriya.tools.ugentools.PureUGen.PureUGen import __init__ [as 别名]
def __init__(
self,
calculation_rate=None,
saw_frequency=440,
sync_frequency=440,
):
PureUGen.__init__(
self,
calculation_rate=calculation_rate,
saw_frequency=saw_frequency,
sync_frequency=sync_frequency,
)
示例2: __init__
# 需要导入模块: from supriya.tools.ugentools.PureUGen import PureUGen [as 别名]
# 或者: from supriya.tools.ugentools.PureUGen.PureUGen import __init__ [as 别名]
def __init__(
self,
calculation_rate=None,
array=None,
which=None,
):
PureUGen.__init__(
self,
calculation_rate=calculation_rate,
array=array,
which=which,
)
示例3: __init__
# 需要导入模块: from supriya.tools.ugentools.PureUGen import PureUGen [as 别名]
# 或者: from supriya.tools.ugentools.PureUGen.PureUGen import __init__ [as 别名]
def __init__(
self,
calculation_rate=None,
feedback=0,
frequency=440,
):
PureUGen.__init__(
self,
calculation_rate=calculation_rate,
feedback=feedback,
frequency=frequency,
)
示例4: __init__
# 需要导入模块: from supriya.tools.ugentools.PureUGen import PureUGen [as 别名]
# 或者: from supriya.tools.ugentools.PureUGen.PureUGen import __init__ [as 别名]
def __init__(
self,
calculation_rate=None,
bwfrequency=880,
formfrequency=1760,
fundfrequency=440,
):
PureUGen.__init__(
self,
calculation_rate=calculation_rate,
bwfrequency=bwfrequency,
formfrequency=formfrequency,
fundfrequency=fundfrequency,
)
示例5: __init__
# 需要导入模块: from supriya.tools.ugentools.PureUGen import PureUGen [as 别名]
# 或者: from supriya.tools.ugentools.PureUGen.PureUGen import __init__ [as 别名]
def __init__(
self,
calculation_rate=None,
beats=0.5,
buffer_id=None,
frequency=440,
):
PureUGen.__init__(
self,
calculation_rate=calculation_rate,
beats=beats,
buffer_id=buffer_id,
frequency=frequency,
)
示例6: __init__
# 需要导入模块: from supriya.tools.ugentools.PureUGen import PureUGen [as 别名]
# 或者: from supriya.tools.ugentools.PureUGen.PureUGen import __init__ [as 别名]
def __init__(
self,
calculation_rate=None,
bufpos=None,
frequency=440,
phase=0,
):
PureUGen.__init__(
self,
calculation_rate=calculation_rate,
bufpos=bufpos,
frequency=frequency,
phase=phase,
)
示例7: __init__
# 需要导入模块: from supriya.tools.ugentools.PureUGen import PureUGen [as 别名]
# 或者: from supriya.tools.ugentools.PureUGen.PureUGen import __init__ [as 别名]
def __init__(
self,
buffer_id=None,
calculation_rate=None,
delay_time=0.2,
maximum_delay_time=0.2,
source=None,
):
PureUGen.__init__(
self,
buffer_id=int(buffer_id),
calculation_rate=calculation_rate,
delay_time=delay_time,
maximum_delay_time=maximum_delay_time,
source=source,
)
示例8: __init__
# 需要导入模块: from supriya.tools.ugentools.PureUGen import PureUGen [as 别名]
# 或者: from supriya.tools.ugentools.PureUGen.PureUGen import __init__ [as 别名]
def __init__(
self,
calculation_rate=None,
frequency=1000,
min_amp=0.32,
root=0,
root_amp=1,
):
PureUGen.__init__(
self,
calculation_rate=calculation_rate,
frequency=frequency,
min_amp=min_amp,
root=root,
root_amp=root_amp,
)
示例9: __init__
# 需要导入模块: from supriya.tools.ugentools.PureUGen import PureUGen [as 别名]
# 或者: from supriya.tools.ugentools.PureUGen.PureUGen import __init__ [as 别名]
def __init__(
self,
calculation_rate=None,
bufpos=None,
freq_1=110,
freq_2=220,
freq_3=440,
):
PureUGen.__init__(
self,
calculation_rate=calculation_rate,
bufpos=bufpos,
freq_1=freq_1,
freq_2=freq_2,
freq_3=freq_3,
)
示例10: __init__
# 需要导入模块: from supriya.tools.ugentools.PureUGen import PureUGen [as 别名]
# 或者: from supriya.tools.ugentools.PureUGen.PureUGen import __init__ [as 别名]
def __init__(
self,
calculation_rate=None,
input_maximum=1,
input_minimum=0,
output_maximum=2,
output_minimum=1,
source=None,
):
PureUGen.__init__(
self,
calculation_rate=calculation_rate,
input_maximum=input_maximum,
input_minimum=input_minimum,
output_maximum=output_maximum,
output_minimum=output_minimum,
source=source,
)
示例11: __init__
# 需要导入模块: from supriya.tools.ugentools.PureUGen import PureUGen [as 别名]
# 或者: from supriya.tools.ugentools.PureUGen.PureUGen import __init__ [as 别名]
def __init__(
self,
calculation_rate=None,
delay=0,
depth=0.02,
depth_variation=0.1,
frequency=440,
initial_phase=0,
onset=0,
rate=6,
rate_variation=0.04,
):
PureUGen.__init__(
self,
calculation_rate=calculation_rate,
delay=delay,
depth=depth,
depth_variation=depth_variation,
frequency=frequency,
initial_phase=initial_phase,
onset=onset,
rate=rate,
rate_variation=rate_variation,
)