PV_Mul:
Filter:
Description
Class methods
new
Inherited class methods
Instance methods
Inherited instance methods
Examples
Classes
|
UGens
>
FFT
PV_Mul
:
PV_MagMul
:
PV_ChainUGen
:
WidthFirstUGen
:
UGen
:
AbstractFunction
:
Object
Complex multiply.
Source:
FFT.sc
See also:
FFT
,
IFFT
,
PV_Add
,
PV_CopyPhase
,
PV_MagMul
,
PV_Max
,
PV_Min
Description
Complex Multiplication:
(RealA * RealB) - (ImagA * ImagB), (ImagA * RealB) + (RealA * ImagB)
⧉
✔
Class Methods
PV_Mul.
new
(
bufferA
,
bufferB
)
From superclass:
PV_MagMul
Arguments:
bufferA
FFT buffer A.
bufferB
FFT buffer B.
Inherited class methods
Instance Methods
Inherited instance methods
Examples
s.boot; ( SynthDef("help-mul", { |out = 0| var inA, chainA, inB, chainB, chain ; inA = SinOsc.ar(500, 0, 0.5); inB = SinOsc.ar(Line.kr(100, 400, 5), 0, 0.5); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), inB); chain = PV_Mul(chainA, chainB); Out.ar(out, 0.1 * IFFT(chain).dup); }).play(s); s.scope; ) ( SynthDef("help-mul2", { |out = 0| var inA, chainA, inB, chainB, chain ; inA = SinOsc.ar(500, 0, 0.5) * Line.kr; inB = LFNoise1.ar(20); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), inB); chain = PV_Mul(chainA, chainB); Out.ar(out, 0.1 * IFFT(chain).dup); }).play(s); s.scope; )
⧉
✔
helpfile source:
/usr/local/share/SuperCollider/HelpSource/Classes/PV_Mul.schelp
link::Classes/PV_Mul::