object StereoConvolution2L extends ProductReader[StereoConvolution2L] with Serializable
A frequency domain stereo convolution UGen, capable of performing linear
cross-fades between kernel updates. When receiving a trigger, there is a linear
cross-fade between the old kernel the new buffer contents. It operates similar
to Convolution2L
, however uses two buffers and outputs a stereo signal,
resulting in better CPU usage than two discrete instances of Convolution2L
as
this way one FFT transformation per period is saved.
Warning: This UGen seems currently broken (SC 3.6.3)
- Alphabetic
- By Inheritance
- StereoConvolution2L
- Serializable
- ProductReader
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def ar(in: GE, kernelL: GE, kernelR: GE, trig: GE = 1, frameSize: GE, fadePeriods: GE = 1): StereoConvolution2L
- in
the realtime input to be convolved
- kernelL
buffer identifier for the left channel's fixed kernel, which may be modulated in combination with the trigger
- kernelR
buffer identifier for the right channel's fixed kernel, which may be modulated in combination with the trigger
- trig
updates the kernel on a change from non-positive to positive (<= 0 to >0), and starts a new cross-fade from the previous kernel to the new one over the given amount of periods.
- frameSize
size of the kernel. this must be a power of two. the FFT calculated internally by the UGen has a size of twice this value. The maximum allowed
frameSize
is 16384. (init-time only)- fadePeriods
fade duration expressed as number of convolved blocks. If the desired duration in seconds is
dur
, then the number of periods can be calculated asfadePeriods = dur * SampleRate.ir / frameSize
. (init-time only)
- def read(in: RefMapIn, key: String, arity: Int): StereoConvolution2L
- Definition Classes
- StereoConvolution2L → ProductReader