本文整理汇总了Python中supriya.tools.ugentools.MultiOutUGen.MultiOutUGen类的典型用法代码示例。如果您正苦于以下问题:Python MultiOutUGen类的具体用法?Python MultiOutUGen怎么用?Python MultiOutUGen使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了MultiOutUGen类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
def __init__(
self,
calculation_rate=None,
channel_count=1,
duration=1,
envbufnum=-1,
interpolate=2,
max_grains=512,
pan=0,
pos=0,
rate=1,
sndbuf=None,
trigger=0,
):
MultiOutUGen.__init__(
self,
calculation_rate=calculation_rate,
channel_count=channel_count,
duration=duration,
envbufnum=envbufnum,
interpolate=interpolate,
max_grains=max_grains,
pan=pan,
pos=pos,
rate=rate,
sndbuf=sndbuf,
trigger=trigger,
)
示例2: __init__
def __init__(
self,
calculation_rate=None,
amp=0.1,
buffer_id=0,
center_pos=0,
channel_count=None,
duration=0.1,
interpolate=4,
pan=0,
rate=1,
trigger=0,
):
MultiOutUGen.__init__(
self,
calculation_rate=calculation_rate,
amp=amp,
buffer_id=buffer_id,
center_pos=center_pos,
channel_count=channel_count,
duration=duration,
interpolate=interpolate,
pan=pan,
rate=rate,
trigger=trigger,
)
示例3: __init__
def __init__(
self,
calculation_rate=None,
damping=0.5,
drylevel=1,
earlyreflevel=0.7,
inputbw=0.5,
maxroomsize=300,
revtime=3,
roomsize=10,
source=None,
spread=15,
taillevel=0.5,
):
MultiOutUGen.__init__(
self,
calculation_rate=calculation_rate,
damping=damping,
drylevel=drylevel,
earlyreflevel=earlyreflevel,
inputbw=inputbw,
maxroomsize=maxroomsize,
revtime=revtime,
roomsize=roomsize,
source=source,
spread=spread,
taillevel=taillevel,
)
示例4: __init__
def __init__(
self,
calculation_rate=None,
carfrequency=440,
channel_count=1,
duration=1,
envbufnum=-1,
index=1,
max_grains=512,
modfrequency=200,
pan=0,
trigger=0,
):
MultiOutUGen.__init__(
self,
calculation_rate=calculation_rate,
carfrequency=carfrequency,
channel_count=channel_count,
duration=duration,
envbufnum=envbufnum,
index=index,
max_grains=max_grains,
modfrequency=modfrequency,
pan=pan,
trigger=trigger,
)
示例5: __init__
def __init__(
self,
calculation_rate=None,
source=None,
):
MultiOutUGen.__init__(
self,
calculation_rate=calculation_rate,
source=source,
)
示例6: __init__
def __init__(
self,
calculation_rate=None,
position=0,
x=None,
y=None,
):
MultiOutUGen.__init__(
self,
calculation_rate=calculation_rate,
channel_count=2,
position=position,
x=x,
y=y,
)
示例7: __init__
def __init__(
self,
calculation_rate=None,
left=None,
level=1,
position=0,
right=None,
):
MultiOutUGen.__init__(
self,
calculation_rate=calculation_rate,
channel_count=2,
left=left,
level=level,
position=position,
right=right,
)
示例8: __init__
def __init__(
self,
parameters,
calculation_rate=None,
starting_control_index=0,
):
from supriya.tools import synthdeftools
coerced_parameters = []
for parameter in parameters:
if not isinstance(parameter, synthdeftools.Parameter):
parameter = synthdeftools.Parameter(name=parameter, value=0)
coerced_parameters.append(parameter)
#coerced_parameters.sort(key=lambda parameter: parameter.name)
self._parameters = tuple(coerced_parameters)
MultiOutUGen.__init__(
self,
channel_count=len(self),
calculation_rate=calculation_rate,
special_index=starting_control_index,
)
示例9: __init__
def __init__(
self,
calculation_rate=None,
channel_count=1,
duration=1,
envbufnum=-1,
frequency=440,
max_grains=512,
pan=0,
trigger=0,
):
MultiOutUGen.__init__(
self,
calculation_rate=calculation_rate,
channel_count=channel_count,
duration=duration,
envbufnum=envbufnum,
frequency=frequency,
max_grains=max_grains,
pan=pan,
trigger=trigger,
)