-
... iteString(c, 5) ); Pbind ( \instrument , \sinegrain , \degree , z, \dur , 0.1 ).play; ) // which is the same as: ( k = Pseq ([0, 5]); c = IdentityDictionary [ 0 -> [5, 0], 5 -> [3, 0] ]; z = Prewrite (k, c, 5); Pbind ( \instrument , \sinegr ...
-
... Hz sine oscillator Out .ar(0, osc); // send output to audio bus zero. }).add; ) Play a 900 Hz sine wave. s.sendMsg( "/s_new" , "sine" , x = s.nextNodeID, 1, 1, "freq", 900); s.sendMsg( "/n_free" , x); Play a 1000 Hz sine wave. s.sendMsg( "/ ...
-
buffer playback with eternal accelerando rhythm // See http://c4dm.eecs.qmul.ac.uk/papers/2011/Stowell2011icmc.pdf // use any shortish 4/4 drum loop b = Buffer.read(s, Platform.resourceDir +/+ "sounds/break2.aiff"); b.free; ( Synth ...
-
... n.ar(\adsr.kr(Env.adsr(0.01,0.1,0.8,0.1)),gate,doneAction:doneAction); sig = Splay.ar(sig, spread, amp, pan); Out.ar(out, sig); }).add; ~morph = { arg mainkey, lagtime, pat; var base = pat.asStream.next(()); var bind = List.ne ...
-
... SinOsc.ar(164);//sound z RecordBuf.ar([x, y, z], buffer); Silent.ar; }.play; s.sync; can.animate(fps, {|frame| buffer.getn(0, buffersize-1*3, {|data| path= data.clump(3)}); itemWave.paths= [path]; }); can.mouseMoveAct ...
-
... // This should detect the 33rd value as the highest... x = {BufMax.kr(b).poll}.play; // ...until we set a new winner... b.set(74, 1.038); ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/MCLDUGens/HelpSource/Classe ...
-
... pos, i); redGrain.amp= this.prFuncAmplitude(redGrain.pos, i); delta.wait; }; }).play; } stop {task.stop} pause {task.pause} resume {task.resume} //--private prFuncPosition {|pos, i| var buf, step; buf= redGrain.buf; step= delta/(buf.numFram ...
-
... to StaticText they can store arbitrary content in the -object variable, and display it using Object: -asString . You can set the displayed text separately using -string , and keep it independent of the content if you set -setBoth to false ...
-
... TempoClock { var <>dt = 0.1, <>verbose = false; var fadeTask, <fading=false, <isPlaying=true; var <rateOfChange = 1.0; var <>minTempo = 0.01, <>maxTempo = 100; classvar <>all; *new { arg tempo, beats, seconds, queueSize=256; ^super.new.init ...
-
... ds Inherited instance methods Examples ( { DuffingExt.ar(DuffingOsc.ar(220)); }.play; ) ⧉ ✔ helpfile source: /tmp/scquark_hs/egSC/HelpSource/Classes/DuffingExt.schelp link::Classes/DuffingExt::