Hi,
Is there a simple way to convert a stereo signal to mono? Basically a reverse of Pan2.
I have this synth def, which is outputting in stereo.
(
SynthDef(\droneFM, {
arg f1Freq=0.1, f2Freq=1.1, f3Freq=2.2, m1Ratio=1, m2Ratio=2, m3Ratio=3,
amp=0.1, dur=55, ampM=0.84;
var sig, car1, mod1, car2, mod2, car3, mod3, env, index, nFreq, out;
index = LFNoise1.kr(0.2).range(2, 12);
env = EnvGen.kr(
Env.adsr(\atk.ir(0.02), \dec.ir(0.3), \slev.ir(0.3), \rel.ir(1)),
\gate.kr(1),
doneAction: 2
);
mod1 = SinOsc.ar([\nFreq.kr(100) * m1Ratio, \nFreq.kr(100)+0.7 * m1Ratio], mul:\nFreq.kr(100) * m1Ratio * index) * ampM;
car1 = SinOsc.ar(f1Freq + mod1);
mod2 = SinOsc.ar([\nFreq.kr(100) * m2Ratio, \nFreq.kr(100)+1.4 * m2Ratio], mul:\nFreq.kr(100) * m2Ratio * index) * ampM;
car2 = SinOsc.ar(f2Freq + mod2);
mod3 = SinOsc.ar([\nFreq.kr(100) * m3Ratio, \nFreq.kr(100)+0.35 * m3Ratio], mul:\nFreq.kr(100) * m3Ratio * index) * ampM;
car3 = SinOsc.ar(f3Freq + mod3) * 0.4;
sig = car1 + car2 + car3 * env * amp;
//sig = Pan2.ar(sig, pan);
Out.ar(\out.kr(1), sig);
}).add;
)
But I want to convert the signal to mono. I’m not sure why it’s outputting in stereo, I haven’t specified it to be stereo.
Here is the copy of the Pbind I’m using with it
(
~dronesBucket = Pbind(
\instrument, \droneFM,
\nFreq, 242.5,//485,
\dur, 30,
\ampM, 0.4,
\out, 8,
);
)