lines¶
- class A2K(*, calculation_rate: CalculationRate | SupportsInt | str | None, source: SupportsFloat | UGenScalar, **kwargs)¶
Bases:
UGen
An audio-rate to control-rate convert unit generator.
>>> source = supriya.ugens.SinOsc.ar() >>> a_2_k = supriya.ugens.A2K.kr( ... source=source, ... ) >>> a_2_k <A2K.kr()[0]>
- classmethod kr(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
- property source : UGenScalar¶
-
class AmpComp(*, calculation_rate: CalculationRate | SupportsInt | str | None, frequency: SupportsFloat | UGenScalar =
1000.0
, root: SupportsFloat | UGenScalar =0.0
, exp: SupportsFloat | UGenScalar =0.3333
, **kwargs)¶ Bases:
UGen
Basic psychoacoustic amplitude compensation.
>>> amp_comp = supriya.ugens.AmpComp.ar( ... exp=0.3333, ... frequency=1000, ... root=0, ... ) >>> amp_comp <AmpComp.ar()[0]>
-
classmethod ar(*, frequency: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1000.0
, root: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
, exp: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.3333
) UGenOperable ¶
-
classmethod ir(*, frequency: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1000.0
, root: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
, exp: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.3333
) UGenOperable ¶
-
classmethod kr(*, frequency: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1000.0
, root: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
, exp: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.3333
) UGenOperable ¶
- property exp : UGenScalar¶
- property frequency : UGenScalar¶
- property root : UGenScalar¶
-
classmethod ar(*, frequency: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
-
class AmpCompA(*, calculation_rate: CalculationRate | SupportsInt | str | None, frequency: SupportsFloat | UGenScalar =
1000.0
, root: SupportsFloat | UGenScalar =0.0
, min_amp: SupportsFloat | UGenScalar =0.32
, root_amp: SupportsFloat | UGenScalar =1.0
, **kwargs)¶ Bases:
UGen
Basic psychoacoustic amplitude compensation (ANSI A-weighting curve).
>>> amp_comp_a = supriya.ugens.AmpCompA.ar( ... frequency=1000, ... min_amp=0.32, ... root=0, ... root_amp=1, ... ) >>> amp_comp_a <AmpCompA.ar()[0]>
-
classmethod ar(*, frequency: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1000.0
, root: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
, min_amp: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.32
, root_amp: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1.0
) UGenOperable ¶
-
classmethod ir(*, frequency: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1000.0
, root: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
, min_amp: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.32
, root_amp: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1.0
) UGenOperable ¶
-
classmethod kr(*, frequency: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
1000.0
, root: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
, min_amp: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.32
, root_amp: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1.0
) UGenOperable ¶
- property frequency : UGenScalar¶
- property min_amp : UGenScalar¶
- property root : UGenScalar¶
- property root_amp : UGenScalar¶
-
classmethod ar(*, frequency: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
- class DC(*, calculation_rate: CalculationRate | SupportsInt | str | None, source: SupportsFloat | UGenScalar, **kwargs)¶
Bases:
UGen
A DC unit generator.
>>> supriya.ugens.DC.ar( ... source=0, ... ) <DC.ar()[0]>
>>> supriya.ugens.DC.ar( ... source=(1, 2, 3), ... ) <UGenVector([<DC.ar()[0]>, <DC.ar()[0]>, <DC.ar()[0]>])>
- classmethod ar(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
- classmethod kr(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
- property source : UGenScalar¶
- class K2A(*, calculation_rate: CalculationRate | SupportsInt | str | None, source: SupportsFloat | UGenScalar, **kwargs)¶
Bases:
UGen
A control-rate to audio-rate converter unit generator.
>>> source = supriya.ugens.SinOsc.kr() >>> k_2_a = supriya.ugens.K2A.ar( ... source=source, ... ) >>> k_2_a <K2A.ar()[0]>
- classmethod ar(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]]) UGenOperable ¶
- property source : UGenScalar¶
-
class LinExp(*, calculation_rate: CalculationRate | SupportsInt | str | None, source: SupportsFloat | UGenScalar, input_minimum: SupportsFloat | UGenScalar =
0
, input_maximum: SupportsFloat | UGenScalar =1
, output_minimum: SupportsFloat | UGenScalar =1
, output_maximum: SupportsFloat | UGenScalar =2
, **kwargs)¶ Bases:
UGen
A linear-to-exponential range mapper.
>>> source = supriya.ugens.SinOsc.ar() >>> lin_exp = supriya.ugens.LinExp.ar( ... input_maximum=1.0, ... input_minimum=-1.0, ... output_maximum=22050, ... output_minimum=20, ... source=source, ... ) >>> lin_exp <LinExp.ar()[0]>
-
classmethod ar(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], input_minimum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0
, input_maximum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, output_minimum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, output_maximum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =2
) UGenOperable ¶
-
classmethod kr(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], input_minimum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0
, input_maximum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, output_minimum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1
, output_maximum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =2
) UGenOperable ¶
- property input_maximum : UGenScalar¶
- property input_minimum : UGenScalar¶
- property output_maximum : UGenScalar¶
- property output_minimum : UGenScalar¶
- property source : UGenScalar¶
-
classmethod ar(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], input_minimum: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
- class LinLin¶
Bases:
PseudoUGen
-
static ar(*, source, input_minimum=
0.0
, input_maximum=1.0
, output_minimum=1.0
, output_maximum=2.0
) UGenOperable ¶
-
static kr(*, source, input_minimum=
0.0
, input_maximum=1.0
, output_minimum=1.0
, output_maximum=2.0
) UGenOperable ¶
-
static ar(*, source, input_minimum=
-
class Line(*, calculation_rate: CalculationRate | SupportsInt | str | None, start: SupportsFloat | UGenScalar =
0.0
, stop: SupportsFloat | UGenScalar =1.0
, duration: SupportsFloat | UGenScalar =1.0
, done_action: SupportsFloat | UGenScalar =DoneAction.NOTHING
, **kwargs)¶ Bases:
UGen
A line generating unit generator.
>>> supriya.ugens.Line.ar() <Line.ar()[0]>
-
classmethod ar(*, start: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0.0
, stop: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1.0
, duration: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1.0
, done_action: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =DoneAction.NOTHING
) UGenOperable ¶
-
classmethod kr(*, start: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0.0
, stop: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1.0
, duration: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1.0
, done_action: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =DoneAction.NOTHING
) UGenOperable ¶
- property done_action : UGenScalar¶
- property duration : UGenScalar¶
- property start : UGenScalar¶
- property stop : UGenScalar¶
-
classmethod ar(*, start: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
- class Silence¶
Bases:
PseudoUGen
An audio-rate silence pseudo-unit generator.
>>> supriya.ugens.Silence.ar(channel_count=2) <UGenVector([<DC.ar()[0]>, <DC.ar()[0]>])>
-
classmethod ar(channel_count=
1
)¶
-
classmethod ar(channel_count=
-
class XLine(*, calculation_rate: CalculationRate | SupportsInt | str | None, start: SupportsFloat | UGenScalar =
0.0
, stop: SupportsFloat | UGenScalar =0.0
, duration: SupportsFloat | UGenScalar =1.0
, done_action: SupportsFloat | UGenScalar =DoneAction.NOTHING
, **kwargs)¶ Bases:
UGen
An exponential line generating unit generator.
>>> supriya.ugens.XLine.ar() <XLine.ar()[0]>
-
classmethod ar(*, start: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0.0
, stop: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
, duration: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1.0
, done_action: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =DoneAction.NOTHING
) UGenOperable ¶
-
classmethod kr(*, start: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =
0.0
, stop: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =0.0
, duration: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =1.0
, done_action: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =DoneAction.NOTHING
) UGenOperable ¶
- property done_action : UGenScalar¶
- property duration : UGenScalar¶
- property start : UGenScalar¶
- property stop : UGenScalar¶
-
classmethod ar(*, start: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] =