-
... 40, 360], 0.2)); inB = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chainA = FFT(bufnumA, inA); chainB = FFT(bufnumB, inB); chain = PV_XFade(chainA, chainB, MouseX.kr); Out.ar(out, IFFT(chain).dup); }).play(s,[\out, 0, ...
-
... /(size.squared * 2) ) }).play }); ~task = Routine( { var t = 0; var sz = 0; loop { t = t + 45; sz = sz + ((t/250).sin.abs * 5); ~sliders.do({ |i,n| i.background = 0.5.coin.if({ Color.rand }, { Color((t>>n).cos/2+0.5,(n&t).cos/ ...
-
... CTRL key to reset) env attack and release time in seconds bus output bus index loop keep repeating the soundfile. Note: not smooth because of file preloading folder select a file to set path to all soundfiles. It is also possible to drag f ...
-
... t.put(key, i) } }; stream = Ppar(patterns).asStream; whichStr = which.asStream; loop { index = whichStr.next(inval).asArray; outval = stream.next(inval); if(outval.isNil or: { index.isNil }) { nil.yield; ^inval }; if(index.includes(outval.a ...
-
... ork a thread that plays some sounds ( Fdef(\freq, 440); Fdef(\dur, 0.2); fork { loop { s.sendMsg("/s_new", "gpdef", -1, 1, 1, \freq, Fdef(\freq).value); Fdef(\dur).value.wait; } }; ) // some modifications Fdef(\freq, Fdef(\midinote, 60).mid ...
-
... serial-A1000ecP", 115200); p.action = { |... msg| msg.postln }; // thor reading loop ( fork { 100.do { p.send($r, $a); 0.1.wait; } } ) p.close; /// There is also ArduinoTSV for tab-separated values // e.g. in Arduino code: /* Serial.print(m ...
-
... tions, Issues, Feature Requests** [on GitHub](https://github.com/dathinaios/gameloop##github.com/dathinaios/gameloop/issues) # Installation GameLoop is available as a Quark. In superCollider run `Quarks.gui` for the Quarks interface. After ...
-
... ayback and set status this.privatePlay; playStatus = true; // run block{|break| loop{ // semaphore is still (or again) locked now = this.now; // external stop carried out? if (startTime < 0) { break.value; }; // someone changed the current ...
-
... 2; var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(bufnum, in); // uncomment the line below to compare while ... // chain = PV_MagFreeze(chain, MouseY.kr > 0.5 ); // commenting the line bel ...
-
... e ); }; }; hist = getNextVal.value.dup(3); val = getNextVal.value; nn = n.next; loop { unit.spec.map( switch( type.next, \step, { if( i < 0.5 ) { hist.last; } { val } }, \linear, { hist.last.blend( val, i ) }, \cubic, { cubic.( i, *hist.add ...