-
... n, freq, amp; Pan2.ar(Resonz.ar(GrayNoise.ar, freq * 2, 0.1), pan, amp * 2); }; Task({ n.do({ arg i; SynthDef("Help-SPE4-EnvirDef-" ++ i.asString, { |out| var sound; Environment.use({ // set values in the environment ~freq = exprand(80, 600 ...
-
... terminal, <>clockField ; var <>tempoSlider, tempoView ; var <>startTime, <>clockTask ; *new { arg graphParser ; // runner is needed for tempo ^super.new.initParserView(graphParser) } initParserView { arg aGraphParser ; graphParser = aGraphP ...
-
... ors Decorators are objects that can be assigned to container views to carry the task of positioning the container's child views (currently there exists only one: FlowLayout). After a decorator is assigned to a container, the views created a ...
-
... <scoreController, <eventControllers = #[]; var <tempoMapControllers; var <updateTask, calledUpdate = false, <>updateInterval = 0.2; var <showTempoMap = false; var <followPos = false; *new{ |parent, bounds, scoreEditor| ^super.new.init(score ...
-
... veral thousand lines, may run into this limitation if it doesn't break down the tasks into smaller functions. In general, code is easier to maintain if it is reasonably modular , with small functions handling clearly-defined parts of the pr ...
-
... by default r.spatDifPlayer.verbose r.spatDifPlayer_verbose(false) // and usual task controls provided r.spatDifPlayer.pause r.spatDifPlayer_play r.spatDifPlayer_reset r.spatDifPlayer_isPlaying r.spatDifPlayer_stop // // // // // // RENDERI ...
-
... on or doAction) it is done immediately instead of with the AppClock delay ( t = Task ({ var pt; pt = PintC ( Pseq ( [b.value, Pwhite ( 0.0 .dup, 1.0 .dup, inf )], 1 ), 1 / Pseries ( 2 , 0.25 , inf ) ).asStream; b.doAction; 100 .do({ |i| b.v ...
-
... nSlider, zoomSlider, volSlider, cropButt, normButt; var synthRunFlag, timeCursorTask, resetclock; //, stopclock; var bufferPoolNum, vol, outbus; var start, end, seltime, logo, normalization; var numFramesView, selStartView, selEndView; *new ...
-
... , 2, 3 ], [ 1, 2, 4 ], [ 1, 3, 4 ], [ 2, 3, 4 ] ] // Above is equivalent to the task of finding all // k-subsets of a given set of n elements. // The results are lexically ordered. // For an arbitrary pool, not necessarily numbers, // you c ...
-
... .linen(0.05, sustain, 0.1), doneAction: 2); Out .ar(0, sig ! 2) }).send(s); r = Task ({ var delta; while { delta = dur.next; delta.notNil } { Synth ( \smooth , [freq: midi.next.midicps, sustain: delta]); delta.yield; } }).play(quant: TempoC ...