Multi Out in one synth

hey

a bit unsure I have been trying to set one synth with multiple

Out.ar(out, sig);

Out.ar(out2, sig2);

This to redirect signals for modulations but cant help to keep getting feedback from the different outputs.

the purpose of this is to set a signal (and multiple) for modulation that can run in a pbind

thanks

i guess creating one synth for each might be the most practical way to do it

Some variants:

// you can watch scope even without multichannel card
(
s.options.numOutputBusChannels = 4;
s.reboot;
)

s.scope(4)


// mono to 0 and 2
(
SynthDef(\outTest, {
	Out.ar([0, 2], LFTri.ar(mul: 0.1))
}).add;
)

Synth(\outTest)


// stereo to [0, 1]

(
SynthDef(\outTest_2, {
	Out.ar(0, LFTri.ar([440, 441], mul: 0.1))
}).add;
)

Synth(\outTest_2)


// frequent mistake, L goes to 0 and 1, R goes to 1 and 2

(
SynthDef(\outTest_2, {
	Out.ar([0, 1], LFTri.ar([440, 441], mul: 0.1))
}).add;
)

Synth(\outTest_2)



// stereo to [0, 1] and [2, 3]

(
SynthDef(\outTest_3, {
	Out.ar([0, 2], LFTri.ar([440, 441], mul: 0.1))
}).add;
)

Synth(\outTest_3)



// trick: stereo to [0, 2] with wrapping the source into an Array

(
SynthDef(\outTest_4, {
	Out.ar([0, 2], [LFTri.ar([440, 441], mul: 0.1)])
}).add;
)

Synth(\outTest_4)

Besides you are free to use several Outs in one SynthDef.

all right it’s just that I was getting feedback but one synth for each is fine for now, thank you

That isn’t a consequence of multiple Outs in one synth.

hjh

ok im gonna look closer into it, meanwhile please Jamshark what does hjh means ??

Those are Jamshark’s initials… :wink:

1 Like

Correct… I’m named after the novelist Henry James, and my surname is Harkins.

I think I started with hjh when I joined the SC mailing list some 18? years ago and if I signed my emails “James,” I might have been mistaken for James McCartney. (Though it turns out this confusion has happened somewhere else :flushed: )

Anyway it’s efficient and reasonably stylish so now I just use it everywhere.

hjh

1 Like

:smiley: :ok_hand: :ok_hand: :ok_hand: :ok_hand: :ok_hand: