-
... s index; a.play; //monitor; a.open( "xproxySpace.aif" ); a.record; a.unpause; ( Routine ({ var id; loop({ id = s.nextNodeID; s.sendMsg( "/s_new" , "default" , id,0,0, \out , b, \freq , rrand(400, 800)); 0.2.wait; s.sendMsg( "/n_set" , id, \ ...
-
... //////////////////////////// // ... エンベロープの時間をシンセが作られるたびに毎回違ったものにスケーリングする ( r = Routine ({ loop({ Synth ( "timeScale" , [ \ts , 0.01.rrand(0.3)]); 0.5.wait; }) }); ) r.play /////////////////////////////////////////////////////////////////// ...
-
... ar([freq, freq*2] * fenv) * aenv * vol; Out .ar(0, signal.dup); }).send(s); ) ( Routine ({ var par, indices; indices = (2..21); loop({ par = (indices +++ (v.env.levels ++ v.env.times ++ v.env.curves ++ x.env.levels ++ x.env.times ++ x.env.c ...
-
... ck var w, r; w = Window .new( "trem" , Rect (512, 256, 360, 130)); w.front; r = Routine ({ arg appClockTime; [ "AppClock has been playing for secs:" ,appClockTime].postln; 60.do({ arg i; 0.05.yield; w.bounds = w.bounds.moveBy(10.rand2, 10.r ...
-
... arding SCWindow If you try to set parameters of a Window or a GUI widget from a Routine , which uses the SystemClock by default, you must wrap it in a deferred function: { myWindow.bounds_( Rect(100,500,200,200) ) }.defer . You do not need ...
-
... // knows it was in control EZSlider (w, 340@30, \knowsLast , [0.03, 3, \exp] , Routine { |sl| var newVal, lastVal; loop { newVal = sl.value; Pdef ( \test ).softSet( \dur , newVal, 0.05, lastVal: lastVal); lastVal = newVal; \dummy .yield; } ...
-
... f the following lines and press 'Enter': w = Window .new( "Fading" ).front; r = Routine ({ 200.do({ |i| w.view.background = Color .blue(val: 1, alpha: 1 - (i * 0.005)); 0.005.wait; }); w.close; }); AppClock .play(r); Some examples do requir ...
-
... s.nextNodeID, 0, 1); Free the node. s.sendMsg( "/n_free" , x); Sequencing with Routines ( var space,offset,timer, saw, envsaw, sampler, delay; SynthDef ( "saw" ,{ arg out=100, pan=0, trig=0.0, freq=500, amp=1, cutoff=10000, rezz=1; freq = ...
-
... ay must match the argument declaration order as defined in the main kernel vec4 routine . See examples for more info. isValid very basic verification to tell if all arguments of the shader are set. compile compile the SCImageKernel object ( ...
-
... // 2 -> [nil, nil] is also fine ] ], 1, // startState 1 // repeats ).asStream; Routine ({ var freq; while({ (freq = p.next.postln).notNil },{ Synth ( \help_Pdfsm1 , [ \freq , freq.midicps ]); 0.1.wait; }) }).play; ) ( SynthDef ( \help_Pdfs ...