Greetings from a train, so sorry for the lack of examples...
If statements only work in synthdefs at compile time (ie whatever the result of the if was when you compiled, that will be the result forever). You can either move the if into the sclang side, or use the select.kr ugen with binaryopugen (pls look these up in the doc for usage)
I never check before miscellaneous lib and the pieces you have post are
amazing , i will also look about the logistic map that post Spektor, i start
to understand the architecture, i know that pattern are useful, sorry if
sometime my post are "redundant", yours works are so' important for me.
I think that can be useful add some if on the trig message, for example if
trig1 = 1 then trig2 = 0,
Im currently doing practice with binary code
var trig = Impulse.ar(8);
var trig2 = Impulse.ar(0.5);
var vincr =Dseq((15..31).scramble ,inf)!4;
var v = Demand.ar(trig2, 0, vincr);
var envTrig = BinaryDigits.ar(trig, v, 5) * trig;
if(envTrig[2]==1){envTrig[1]=0}{envTrig[1]=envTrig[1]};
if(envTrig[2]==1){envTrig[0]=0}{envTrig[0]=envTrig[0]};
But it don't want work, i what mute a sound when another one play, How can i
do?
Is this a good strategy?
Thanks and happy new year to all!
Gianmaria
--
View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/Ryoji-Ikeda-glitches-tp3419427p7622322.html
Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/