granular

class GrainBuf(*, calculation_rate: CalculationRate | SupportsInt | str | None, channel_count=1, trigger: SupportsFloat | UGenScalar = 0, duration: SupportsFloat | UGenScalar = 1, buffer_id: SupportsFloat | UGenScalar, rate: SupportsFloat | UGenScalar = 1, position: SupportsFloat | UGenScalar = 0, interpolate: SupportsFloat | UGenScalar = 2, pan: SupportsFloat | UGenScalar = 0, envelope_buffer_id: SupportsFloat | UGenScalar = -1, maximum_overlap: SupportsFloat | UGenScalar = 512, **kwargs)

Bases: UGen

>>> grain_buf = supriya.ugens.GrainBuf.ar(
...     channel_count=2,
...     duration=1,
...     envelope_buffer_id=-1,
...     interpolate=2,
...     maximum_overlap=512,
...     pan=0,
...     position=0,
...     rate=1,
...     buffer_id=0,
...     trigger=0,
... )
>>> grain_buf
<GrainBuf.ar()>
classmethod ar(*, trigger: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 0, duration: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 1, buffer_id: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], rate: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 1, position: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 0, interpolate: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 2, pan: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 0, envelope_buffer_id: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = -1, maximum_overlap: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 512, channel_count: int = 1) UGenOperable
property buffer_id : UGenScalar
property duration : UGenScalar
property envelope_buffer_id : UGenScalar
property interpolate : UGenScalar
property maximum_overlap : UGenScalar
property pan : UGenScalar
property position : UGenScalar
property rate : UGenScalar
property trigger : UGenScalar
class GrainIn(*, calculation_rate: CalculationRate | SupportsInt | str | None, channel_count=1, trigger: SupportsFloat | UGenScalar = 0, duration: SupportsFloat | UGenScalar = 1, source: SupportsFloat | UGenScalar, position: SupportsFloat | UGenScalar = 0, envelope_buffer_id: SupportsFloat | UGenScalar = -1, maximum_overlap: SupportsFloat | UGenScalar = 512, **kwargs)

Bases: UGen

>>> source = supriya.ugens.In.ar(bus=0)
>>> grain_in = supriya.ugens.GrainIn.ar(
...     channel_count=2,
...     duration=1,
...     envelope_buffer_id=-1,
...     maximum_overlap=512,
...     position=0,
...     source=source,
...     trigger=0,
... )
>>> grain_in
<GrainIn.ar()>
classmethod ar(*, trigger: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 0, duration: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 1, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], position: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 0, envelope_buffer_id: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = -1, maximum_overlap: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 512, channel_count: int = 1) UGenOperable
property duration : UGenScalar
property envelope_buffer_id : UGenScalar
property maximum_overlap : UGenScalar
property position : UGenScalar
property source : UGenScalar
property trigger : UGenScalar
class PitchShift(*, calculation_rate: CalculationRate | SupportsInt | str | None, source: SupportsFloat | UGenScalar, window_size: SupportsFloat | UGenScalar = 0.2, pitch_ratio: SupportsFloat | UGenScalar = 1.0, pitch_dispersion: SupportsFloat | UGenScalar = 0.0, time_dispersion: SupportsFloat | UGenScalar = 0.0, **kwargs)

Bases: UGen

A pitch shift unit generator.

>>> source = supriya.ugens.In.ar(bus=0)
>>> supriya.ugens.PitchShift.ar(
...     source=source,
... )
<PitchShift.ar()[0]>
classmethod ar(*, source: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]], window_size: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 0.2, pitch_ratio: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 1.0, pitch_dispersion: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 0.0, time_dispersion: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 0.0) UGenOperable
property pitch_dispersion : UGenScalar
property pitch_ratio : UGenScalar
property source : UGenScalar
property time_dispersion : UGenScalar
property window_size : UGenScalar
class Warp1(*, calculation_rate: CalculationRate | SupportsInt | str | None, channel_count=1, buffer_id: SupportsFloat | UGenScalar = 0, pointer: SupportsFloat | UGenScalar = 0, frequency_scaling: SupportsFloat | UGenScalar = 1, window_size: SupportsFloat | UGenScalar = 0.2, envelope_buffer_id: SupportsFloat | UGenScalar = -1, overlaps: SupportsFloat | UGenScalar = 8, window_rand_ratio: SupportsFloat | UGenScalar = 0, interpolation: SupportsFloat | UGenScalar = 1, **kwargs)

Bases: UGen

>>> warp_1 = supriya.ugens.Warp1.ar(
...     buffer_id=0,
...     channel_count=1,
...     envelope_buffer_id=-1,
...     frequency_scaling=1,
...     interpolation=1,
...     overlaps=8,
...     pointer=0,
...     window_rand_ratio=0,
...     window_size=0.2,
... )
>>> warp_1
<Warp1.ar()[0]>
classmethod ar(*, buffer_id: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 0, pointer: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 0, frequency_scaling: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 1, window_size: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 0.2, envelope_buffer_id: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = -1, overlaps: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 8, window_rand_ratio: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 0, interpolation: SupportsFloat | UGenOperable | UGenSerializable | Sequence[SupportsFloat | UGenOperable | UGenSerializable | Sequence[UGenRecursiveInput]] = 1, channel_count: int = 1) UGenOperable
property buffer_id : UGenScalar
property envelope_buffer_id : UGenScalar
property frequency_scaling : UGenScalar
property interpolation : UGenScalar
property overlaps : UGenScalar
property pointer : UGenScalar
property window_rand_ratio : UGenScalar
property window_size : UGenScalar