Ask Your Question
0

Mute Condition between two channels

asked 2016-11-18 10:27:09 -0500

Chanof gravatar image

updated 2016-12-16 02:18:17 -0500

lennart gravatar image

Hi there, i ask if there is a way to mute a channel/event when one another is going play, a kind of "signal sidechain" ? Thanks!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-11-18 13:50:29 -0500

telephon gravatar image

from the file /hacks/filtering-dirt-output.scd :

/*

how to route Dirt audio into post-processing in SuperCollider

This assumes that you have SuperDirt running and accesible in ~dirt

*/


// define a bus you'll be using for routing

~bus = Bus.audio(s, numChannels:2); // assuming stereo, expand if needed

~dirt.orbits[0].outBus = ~bus; // play into that bus.


/*
Now, playing patterns in d1 in tidal should be silent.
*/

// listen directly
(
Ndef(\x, {
    var dirt = InBus.ar(~bus, 2);
    dirt
}).play;

)

// resonant low pass filter controlled by cursor
(
Ndef(\x, {
    var dirt = InBus.ar(~bus, 2);
    RLPF.ar(dirt, MouseY.kr(30, 20000, 1), MouseX.kr(0.01, 1, 1))
}).play;
)

// ... and so on.


// make a side chain controlled by second orbit, affecting the first

(
Ndef(\x, {
    var control = InBus.ar(~dirt.orbits[1].dryBus, 2).sum;
    var dirt = InBus.ar(~bus, 2);
    Compander.ar(dirt, control, thresh:0.006, slopeBelow:1, slopeAbove: 0.1, clampTime:0.05, relaxTime:0.1)
    //dirt * (1 - (Amplitude.kr(control) > 0.007).poll.lag(0.01));
}).play;
)
edit flag offensive delete link more
0

answered 2016-11-21 13:08:40 -0500

Chanof gravatar image

Thats is not what I mean, I like very much tidal and I think it need (if there is not) a "mute note" condition between channels.

example: if d1 play then d2 not play and stop others events of the past

"#cut" is the only instrument I know and it have a lot glithes, also if I use it with a pattern with layers, the layers cut their self, but I use it cause I don't want overlapping between samples, it' impossible to use it with layers

Thanks

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-11-18 10:27:09 -0500

Seen: 83 times

Last updated: Nov 21 '16