triggering synth with silence thresholds - how to?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

triggering synth with silence thresholds - how to?

tiagomoraismorgado

I need help to:

Whenever this threshold is triggered:

  • you have 1/3 chance to trigger ~synthM1 and ~synthM2 simultaneously
  • you have 1/5 or 1/6 chance to trigger RecordBuf.

How could this be technically achieved?

 
Reply | Threaded
Open this post in threaded view
|

Re: triggering synth with silence thresholds - how to?

tiagomoraismorgado
here is the full code for the previous message. it is deeply inspired by the music of robert van heumen, sam pluta, younes riad, and furt (paul obermeyer, richard barrett), which i love so much (robert van heumen, sam pluta, younes riad, and stelios manousakis, as well as, of course miguel negrão ares ome of my favourte supercollider developers - i don't think furt are using supercollider, last time i talked to richard barrett i think he was using stem LiSa alongside with a max patch, a pretty standard keyoard, and a custom aftertouch sensor)

~buffer=Buffer.alloc(s, 8*44100, 2);
{RecordBuf.ar(SoundIn.ar([0, 0]), ~buffer.bufnum, loop: 0)}.scope
(
~synth={Mix.fill(2, {
var buffer = ~buffer;
{Mix.fill(1, {Warp1.ar(2, buffer,
[LFDNoise0, LFDNoise1, LFDNoise3].choose.kr([0.1].choose)
* ChaosGen.allSubclasses.choose.ar([00.01, 0.1].choose)
+ TRand.kr(0, [0.1, 1].choose, Impulse.kr([0.1].choose) * ChaosGen.allSubclasses.choose.ar(0.1)),
2**WhiteNoise.ar(rrand(0.025, 40) * ChaosGen.allSubclasses.choose.ar(10))+0.25,
[0.5].choose,
overlaps: 1, windowRandRatio: 1, interp: [1, 2, 4].choose, mul: 6)})} ;
})};
)
~synthM1={CmdPeriod.run; ~synth.scope;}
~synthM2={{SoundIn.ar([0, 0])}.scope;}
~synthM1.value; ~synthM2.value;