demand¶
-
class Dbrown(*, calculation_rate: CalculationRate | SupportsInt | str | None, minimum: SupportsFloat | UGenScalar =
0.0
, maximum: SupportsFloat | UGenScalar =1.0
, step: SupportsFloat | UGenScalar =0.01
, length: SupportsFloat | UGenScalar =inf
, **kwargs)¶ Bases:
UGen
A demand-rate brownian movement generator.
>>> dbrown = supriya.ugens.Dbrown.dr( ... length=float("inf"), ... maximum=1, ... minimum=0, ... step=0.01, ... ) >>> dbrown <Dbrown.dr()[0]>
-
classmethod dr(*, minimum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0.0
, maximum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1.0
, step: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.01
, length: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =inf
) UGenOperable ¶
- property length : UGenScalar¶
- property maximum : UGenScalar¶
- property minimum : UGenScalar¶
- property step : UGenScalar¶
-
classmethod dr(*, minimum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Dbufrd(*, calculation_rate: CalculationRate | SupportsInt | str | None, buffer_id: SupportsFloat | UGenScalar =
0
, phase: SupportsFloat | UGenScalar =0
, loop: SupportsFloat | UGenScalar =1
, **kwargs)¶ Bases:
UGen
A buffer-reading demand-rate UGen.
>>> dbufrd = supriya.ugens.Dbufrd.dr( ... buffer_id=0, ... loop=1, ... phase=0, ... ) >>> dbufrd <Dbufrd.dr()[0]>
-
classmethod dr(*, buffer_id: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0
, phase: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0
, loop: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
) UGenOperable ¶
- property buffer_id : UGenScalar¶
- property loop : UGenScalar¶
- property phase : UGenScalar¶
-
classmethod dr(*, buffer_id: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Dbufwr(*, calculation_rate: CalculationRate | SupportsInt | str | None, source: SupportsFloat | UGenScalar =
0.0
, buffer_id: SupportsFloat | UGenScalar =0.0
, phase: SupportsFloat | UGenScalar =0.0
, loop: SupportsFloat | UGenScalar =1.0
, **kwargs)¶ Bases:
UGen
A buffer-writing demand-rate UGen.
>>> dbufwr = supriya.ugens.Dbufwr.dr( ... buffer_id=0, ... source=0, ... loop=1, ... phase=0, ... ) >>> dbufwr <Dbufwr.dr()[0]>
-
classmethod dr(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0.0
, buffer_id: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
, phase: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
, loop: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1.0
) UGenOperable ¶
- property buffer_id : UGenScalar¶
- property loop : UGenScalar¶
- property phase : UGenScalar¶
- property source : UGenScalar¶
-
classmethod dr(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Demand(*, calculation_rate: CalculationRate | SupportsInt | str | None, trigger: SupportsFloat | UGenScalar =
0
, reset: SupportsFloat | UGenScalar =0
, source: UGenSerializable | Sequence[SupportsFloat | UGenScalar], **kwargs)¶ Bases:
UGen
Demands results from demand-rate UGens.
>>> source = [ ... supriya.ugens.Dseries.dr(), ... supriya.ugens.Dwhite.dr(), ... ] >>> trigger = supriya.ugens.Impulse.kr(frequency=1) >>> demand = supriya.ugens.Demand.ar( ... reset=0, ... source=source, ... trigger=trigger, ... ) >>> demand <Demand.ar()>
-
classmethod ar(*, trigger: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0
, reset: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0
, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
-
classmethod kr(*, trigger: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0
, reset: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0
, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
- property reset : UGenScalar¶
- property source : UGenVector¶
- property trigger : UGenScalar¶
-
classmethod ar(*, trigger: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class DemandEnvGen(*, calculation_rate: CalculationRate | SupportsInt | str | None, level: SupportsFloat | UGenScalar, duration: SupportsFloat | UGenScalar, shape: SupportsFloat | UGenScalar =
1
, curve: SupportsFloat | UGenScalar =0
, gate: SupportsFloat | UGenScalar =1
, reset: SupportsFloat | UGenScalar =1
, level_scale: SupportsFloat | UGenScalar =1
, level_bias: SupportsFloat | UGenScalar =0
, time_scale: SupportsFloat | UGenScalar =1
, done_action: SupportsFloat | UGenScalar =0
, **kwargs)¶ Bases:
UGen
A demand rate envelope generator.
>>> demand_env_gen = supriya.ugens.DemandEnvGen.ar( ... curve=0, ... done_action=0, ... duration=1, ... gate=1, ... level=1, ... level_bias=0, ... level_scale=1, ... reset=1, ... shape=1, ... time_scale=1, ... ) >>> demand_env_gen <DemandEnvGen.ar()[0]>
-
classmethod ar(*, level: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], duration: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], shape: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1
, curve: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0
, gate: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, reset: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, level_scale: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, level_bias: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0
, time_scale: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, done_action: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0
) UGenOperable ¶
-
classmethod kr(*, level: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], duration: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], shape: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1
, curve: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0
, gate: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, reset: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, level_scale: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, level_bias: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0
, time_scale: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, done_action: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0
) UGenOperable ¶
- property curve : UGenScalar¶
- property done_action : UGenScalar¶
- property duration : UGenScalar¶
- property gate : UGenScalar¶
- property level : UGenScalar¶
- property level_bias : UGenScalar¶
- property level_scale : UGenScalar¶
- property reset : UGenScalar¶
- property shape : UGenScalar¶
- property time_scale : UGenScalar¶
-
classmethod ar(*, level: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], duration: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], shape: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Dgeom(*, calculation_rate: CalculationRate | SupportsInt | str | None, start: SupportsFloat | UGenScalar =
1
, grow: SupportsFloat | UGenScalar =2
, length: SupportsFloat | UGenScalar =inf
, **kwargs)¶ Bases:
UGen
A demand-rate geometric series generator.
>>> dgeom = supriya.ugens.Dgeom.dr( ... grow=2, ... length=float("inf"), ... start=1, ... ) >>> dgeom <Dgeom.dr()[0]>
-
classmethod dr(*, start: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1
, grow: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =2
, length: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =inf
) UGenOperable ¶
- property grow : UGenScalar¶
- property length : UGenScalar¶
- property start : UGenScalar¶
-
classmethod dr(*, start: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Dibrown(*, calculation_rate: CalculationRate | SupportsInt | str | None, minimum: SupportsFloat | UGenScalar =
0
, maximum: SupportsFloat | UGenScalar =12
, step: SupportsFloat | UGenScalar =1
, length: SupportsFloat | UGenScalar =inf
, **kwargs)¶ Bases:
UGen
An integer demand-rate brownian movement generator.
>>> dibrown = supriya.ugens.Dibrown.dr( ... length=float("inf"), ... maximum=1, ... minimum=0, ... step=0.01, ... ) >>> dibrown <Dibrown.dr()[0]>
-
classmethod dr(*, minimum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0
, maximum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =12
, step: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, length: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =inf
) UGenOperable ¶
- property length : UGenScalar¶
- property maximum : UGenScalar¶
- property minimum : UGenScalar¶
- property step : UGenScalar¶
-
classmethod dr(*, minimum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Diwhite(*, calculation_rate: CalculationRate | SupportsInt | str | None, minimum: SupportsFloat | UGenScalar =
0
, maximum: SupportsFloat | UGenScalar =1
, length: SupportsFloat | UGenScalar =inf
, **kwargs)¶ Bases:
UGen
An integer demand-rate white noise random generator.
>>> diwhite = supriya.ugens.Diwhite.dr( ... length=float("inf"), ... maximum=1, ... minimum=0, ... ) >>> diwhite <Diwhite.dr()[0]>
-
classmethod dr(*, minimum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0
, maximum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, length: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =inf
) UGenOperable ¶
- property length : UGenScalar¶
- property maximum : UGenScalar¶
- property minimum : UGenScalar¶
-
classmethod dr(*, minimum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Drand(*, calculation_rate: CalculationRate | SupportsInt | str | None, repeats: SupportsFloat | UGenScalar =
1
, sequence: UGenSerializable | Sequence[SupportsFloat | UGenScalar], **kwargs)¶ Bases:
UGen
A demand-rate random sequence generator.
>>> sequence = (1, 2, 3) >>> drand = supriya.ugens.Drand.dr( ... repeats=1, ... sequence=sequence, ... ) >>> drand <Drand.dr()[0]>
-
classmethod dr(*, repeats: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1
, sequence: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
- property repeats : UGenScalar¶
- property sequence : UGenVector¶
-
classmethod dr(*, repeats: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Dreset(*, calculation_rate: CalculationRate | SupportsInt | str | None, source: SupportsFloat | UGenScalar, reset: SupportsFloat | UGenScalar =
0
, **kwargs)¶ Bases:
UGen
Resets demand-rate UGens.
>>> source = supriya.ugens.Dseries.dr(start=0, step=2) >>> dreset = supriya.ugens.Dreset.dr( ... reset=0, ... source=source, ... ) >>> dreset <Dreset.dr()[0]>
-
classmethod dr(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], reset: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0
) UGenOperable ¶
- property reset : UGenScalar¶
- property source : UGenScalar¶
-
classmethod dr(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], reset: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Dseq(*, calculation_rate: CalculationRate | SupportsInt | str | None, repeats: SupportsFloat | UGenScalar =
1
, sequence: UGenSerializable | Sequence[SupportsFloat | UGenScalar], **kwargs)¶ Bases:
UGen
A demand-rate sequence generator.
>>> sequence = (1, 2, 3) >>> dseq = supriya.ugens.Dseq.dr( ... repeats=1, ... sequence=sequence, ... ) >>> dseq <Dseq.dr()[0]>
-
classmethod dr(*, repeats: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1
, sequence: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
- property repeats : UGenScalar¶
- property sequence : UGenVector¶
-
classmethod dr(*, repeats: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Dser(*, calculation_rate: CalculationRate | SupportsInt | str | None, repeats: SupportsFloat | UGenScalar =
1
, sequence: UGenSerializable | Sequence[SupportsFloat | UGenScalar], **kwargs)¶ Bases:
UGen
A demand-rate sequence generator.
>>> sequence = (1, 2, 3) >>> dser = supriya.ugens.Dser.dr( ... repeats=1, ... sequence=sequence, ... ) >>> dser <Dser.dr()[0]>
-
classmethod dr(*, repeats: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1
, sequence: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
- property repeats : UGenScalar¶
- property sequence : UGenVector¶
-
classmethod dr(*, repeats: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Dseries(*, calculation_rate: CalculationRate | SupportsInt | str | None, length: SupportsFloat | UGenScalar =
inf
, start: SupportsFloat | UGenScalar =1
, step: SupportsFloat | UGenScalar =1
, **kwargs)¶ Bases:
UGen
A demand-rate arithmetic series.
>>> dseries = supriya.ugens.Dseries.dr( ... length=float("inf"), ... start=1, ... step=1, ... ) >>> dseries <Dseries.dr()[0]>
-
classmethod dr(*, length: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
inf
, start: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, step: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
) UGenOperable ¶
- property length : UGenScalar¶
- property start : UGenScalar¶
- property step : UGenScalar¶
-
classmethod dr(*, length: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Dshuf(*, calculation_rate: CalculationRate | SupportsInt | str | None, repeats: SupportsFloat | UGenScalar =
1
, sequence: UGenSerializable | Sequence[SupportsFloat | UGenScalar], **kwargs)¶ Bases:
UGen
A demand-rate random sequence generator.
>>> sequence = (1, 2, 3) >>> dshuf = supriya.ugens.Dshuf.dr( ... repeats=1, ... sequence=sequence, ... ) >>> dshuf <Dshuf.dr()[0]>
-
classmethod dr(*, repeats: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1
, sequence: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
- property repeats : UGenScalar¶
- property sequence : UGenVector¶
-
classmethod dr(*, repeats: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Dstutter(*, calculation_rate: CalculationRate | SupportsInt | str | None, n: SupportsFloat | UGenScalar =
2
, source: SupportsFloat | UGenScalar, **kwargs)¶ Bases:
UGen
A demand-rate input replicator.
>>> source = supriya.ugens.In.ar(bus=0) >>> dstutter = supriya.ugens.Dstutter.dr( ... n=2, ... source=source, ... ) >>> dstutter <Dstutter.dr()[0]>
-
classmethod dr(*, n: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
2
, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
- property n : UGenScalar¶
- property source : UGenScalar¶
-
classmethod dr(*, n: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
- class Dswitch(*, calculation_rate: CalculationRate | SupportsInt | str | None, index_: SupportsFloat | UGenScalar, sequence: UGenSerializable | Sequence[SupportsFloat | UGenScalar], **kwargs)¶
Bases:
UGen
A demand-rate generator for embedding different inputs.
>>> index = supriya.ugens.Dseq.dr(sequence=[0, 1, 2, 1, 0]) >>> sequence = (1.0, 2.0, 3.0) >>> dswitch = supriya.ugens.Dswitch.dr( ... index_=index, ... sequence=sequence, ... ) >>> dswitch <Dswitch.dr()[0]>
- classmethod dr(*, index_: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], sequence: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
- property index_ : UGenScalar¶
- property sequence : UGenVector¶
- class Dswitch1(*, calculation_rate: CalculationRate | SupportsInt | str | None, index_: SupportsFloat | UGenScalar, sequence: UGenSerializable | Sequence[SupportsFloat | UGenScalar], **kwargs)¶
Bases:
UGen
A demand-rate generator for switching between inputs.
>>> index = supriya.ugens.Dseq.dr(sequence=[0, 1, 2, 1, 0]) >>> sequence = (1.0, 2.0, 3.0) >>> dswitch_1 = supriya.ugens.Dswitch1.dr( ... index_=index, ... sequence=sequence, ... ) >>> dswitch_1 <Dswitch1.dr()[0]>
- classmethod dr(*, index_: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], sequence: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
- property index_ : UGenScalar¶
- property sequence : UGenVector¶
-
class Dunique(*, calculation_rate: CalculationRate | SupportsInt | str | None, source: SupportsFloat | UGenScalar, max_buffer_size: SupportsFloat | UGenScalar =
1024
, protected: SupportsFloat | UGenScalar =True
, **kwargs)¶ Bases:
UGen
Returns the same unique series of values for several demand streams.
>>> source = supriya.ugens.In.ar(bus=0) >>> dunique = supriya.ugens.Dunique.dr( ... max_buffer_size=1024, ... protected=True, ... source=source, ... ) >>> dunique <Dunique.dr()[0]>
-
classmethod dr(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], max_buffer_size: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1024
, protected: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =True
) UGenOperable ¶
- property max_buffer_size : UGenScalar¶
- property protected : UGenScalar¶
- property source : UGenScalar¶
-
classmethod dr(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], max_buffer_size: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Duty(*, calculation_rate: CalculationRate | SupportsInt | str | None, duration: SupportsFloat | UGenScalar =
1.0
, reset: SupportsFloat | UGenScalar =0.0
, level: SupportsFloat | UGenScalar =1.0
, done_action: SupportsFloat | UGenScalar =0.0
, **kwargs)¶ Bases:
UGen
A value is demanded of each UGen in the list and output according to a stream of duration values.
>>> duty = supriya.ugens.Duty.kr( ... done_action=0, ... duration=supriya.ugens.Drand.dr( ... sequence=[0.01, 0.2, 0.4], ... repeats=2, ... ), ... reset=0, ... level=supriya.ugens.Dseq.dr( ... sequence=[204, 400, 201, 502, 300, 200], ... repeats=2, ... ), ... ) >>> duty <Duty.kr()[0]>
-
classmethod ar(*, duration: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1.0
, reset: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
, level: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1.0
, done_action: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
) UGenOperable ¶
-
classmethod kr(*, duration: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1.0
, reset: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
, level: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1.0
, done_action: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
) UGenOperable ¶
- property done_action : UGenScalar¶
- property duration : UGenScalar¶
- property level : UGenScalar¶
- property reset : UGenScalar¶
-
classmethod ar(*, duration: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Dwhite(*, calculation_rate: CalculationRate | SupportsInt | str | None, minimum: SupportsFloat | UGenScalar =
0.0
, maximum: SupportsFloat | UGenScalar =0.0
, length: SupportsFloat | UGenScalar =inf
, **kwargs)¶ Bases:
UGen
A demand-rate white noise random generator.
>>> dwhite = supriya.ugens.Dwhite.dr( ... length=float("inf"), ... maximum=1, ... minimum=0, ... ) >>> dwhite <Dwhite.dr()[0]>
-
classmethod dr(*, minimum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0.0
, maximum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
, length: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =inf
) UGenOperable ¶
- property length : UGenScalar¶
- property maximum : UGenScalar¶
- property minimum : UGenScalar¶
-
classmethod dr(*, minimum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class Dwrand(*, calculation_rate: CalculationRate | SupportsInt | str | None, repeats: SupportsFloat | UGenScalar =
1
, length: SupportsFloat | UGenScalar, weights: UGenSerializable | Sequence[SupportsFloat | UGenScalar], sequence: UGenSerializable | Sequence[SupportsFloat | UGenScalar], **kwargs)¶ Bases:
UGen
A demand-rate weighted random sequence generator.
>>> sequence = [0, 1, 2, 7] >>> weights = [0.4, 0.4, 0.1, 0.1] >>> dwrand = supriya.ugens.Dwrand.dr( ... repeats=1, ... sequence=sequence, ... weights=weights, ... ) >>> dwrand <Dwrand.dr()[0]>
- property length : UGenScalar¶
- property repeats : UGenScalar¶
- property sequence : UGenVector¶
- property weights : UGenVector¶
-
class Dxrand(*, calculation_rate: CalculationRate | SupportsInt | str | None, repeats: SupportsFloat | UGenScalar =
1
, sequence: UGenSerializable | Sequence[SupportsFloat | UGenScalar], **kwargs)¶ Bases:
UGen
A demand-rate random sequence generator.
>>> sequence = (1, 2, 3) >>> dxrand = supriya.ugens.Dxrand.dr( ... repeats=1, ... sequence=sequence, ... ) >>> dxrand <Dxrand.dr()[0]>
-
classmethod dr(*, repeats: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1
, sequence: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
- property repeats : UGenScalar¶
- property sequence : UGenVector¶
-
classmethod dr(*, repeats: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =