1 class:: PV_ConformalMap
2 summary:: Complex plane attack.
3 related:: Classes/FFT, Classes/IFFT
8 Applies the conformal mapping
12 z → (z - a) / (1 - za*)
16 to the phase vocoder bins z with a given by the real and imag imputs to
20 Makes a transformation of the complex plane so the output is full of
21 phase vocoder artifacts but may be musically fun. Usually keep
27 you can of course try bigger values to make it really noisy.
33 give back the input mostly unperturbed.
36 See link::http://mathworld.wolfram.com/ConformalMapping.html:: .
64 SynthDef("conformer1", {
66 in = AudioIn.ar(1,0.5);
67 chain = FFT(LocalBuf(1024), in);
68 chain=PV_ConformalMap(chain, MouseX.kr(-1.0,1.0), MouseY.kr(-1.0,1.0));
69 Out.ar(0, Pan2.ar(IFFT(chain),0));
73 a = Synth("conformer1")
77 SynthDef("conformer2", {
79 in = Mix.ar(LFSaw.ar(SinOsc.kr(Array.rand(3,0.1,0.5),0,10,[1,1.1,1.5,1.78,2.45,6.7]*220),0,0.3));
80 chain = FFT(LocalBuf(2048), in);
81 chain=PV_ConformalMap(chain, MouseX.kr(0.01,2.0, 'exponential'), MouseY.kr(0.01,10.0, 'exponential'));
84 Out.ar(0, Pan2.ar(CombN.ar(out, 0.1, 0.1, 10, 0.5, out), 0, 0.3));
88 a = Synth("conformer2")