-
... epth*0.5)).clip(0, 1)); Pen.strokeRect(Rect.aboutRedObject3D(o, s, f)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... hesiser (originally a VST plugin by Paul Kellett, ported to SC by Dan Stowell). Plays a single piano note at any desired frequency. The Udef provides a 2-channel output. freq: pitch of the piano note. vel: velocity decay: decay time (0-1) h ...
-
... unit; unit.copyBy(vector) }) } stop { this.prUnitsDo({ arg unit; unit.stop }) } play { this.prUnitsDo({ arg unit; unit.play }) } free { this.prUnitsDo({ arg unit; unit.free }) } respawn { this.prUnitsDo({ arg unit; unit.respawn }) } // chan ...
-
... note, \instrument, \imp, \dur, Pfunc { var val = ~dur.next; val.postln; val } ).play(clock: t) }) ) //The .stop for AlgaPseg allows to "stop" timing of the previous blend, freezing it! ( ~ft = 5 * t.tempo; //tempo agnostic, as Pseg only wor ...
-
... 5)), \chopLPF.kr(800) ); (chopper * snd).tanh * \amp.kr(1) * \on.kr(0, 0.2); }).play; ); ////////////// MAPPING /////////////////////// Ndef(\ringer).addHalo(\offFunc, { Ndef(\ringer).set(\on, 0); // Ndef(\ringer).stop; }); Ndef(\ringer).ad ...
-
... mouse Pen.fillColor= Color.red; Pen.fillOval(Rect.aboutRedObject2D(trg)); }; w.play; CmdPeriod.doOnce({w.close}); )
-
... Pen.fillColor= Color.white; Pen.fillRect(Rect.aboutRedVector2D(bary, 1)); }; w.play; CmdPeriod.doOnce({w.close}); ) ~objA.mass= 8; ~objA.size= 8; ~objA.mass= 5; ~objA.size= 5; ~objB.mass= 2; ~objB.size= 2; ~objB.mass= 12; ~objB.size= 12; ( ...
-
... ex + 1 % currentBufferSet.size; p.action.value(p)}, 49, { synth = currentBuffer.play; }, // space { if(char.isAlpha) { i = names.detectIndex { |x| x.asString[0] == char }; i !? { p.value = i } } } ); update.value; }; iv = StaticText(w).maxW ...
-
//f.olofsson 2020 //related SPlayFileView, SPlayFileDiskView, AbstractSPlayFile //TODO cursors should survive cmdperiod //TODO time markers in seconds //TODO nicer loading with progress indication //TODO better way to mix down 1 ch for disp ...
-
... nner.startTime).asTimeString) ; 1.wait })// a clock refreshing once a second }).play(AppClock) ; tempoView = GUI.staticText.new (w, Rect(350, 35, 75, 40)); tempoSlider = GUI.slider.new(w, Rect(0, 35, 350, 40)) .action_({arg it; var t = (it. ...