当前位置: 首页>>代码示例>>Python>>正文


Python MultiOutUGen.MultiOutUGen类代码示例

本文整理汇总了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,
         )
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:28,代码来源:GrainBuf.py

示例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,
         )
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:26,代码来源:TGrains.py

示例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,
     )
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:28,代码来源:GVerb.py

示例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,
         )
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:26,代码来源:GrainFM.py

示例5: __init__

 def __init__(
     self,
     calculation_rate=None,
     source=None,
     ):
     MultiOutUGen.__init__(
         self,
         calculation_rate=calculation_rate,
         source=source,
         )
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:10,代码来源:Hilbert.py

示例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,
         )
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:15,代码来源:Rotate2.py

示例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,
         )
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:17,代码来源:Balance2.py

示例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,
         )
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:20,代码来源:Control.py

示例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,
         )
开发者ID:andrewyoung1991,项目名称:supriya,代码行数:22,代码来源:GrainSin.py


注:本文中的supriya.tools.ugentools.MultiOutUGen.MultiOutUGen类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。