-
... the Functions help file for a basic introduction. a = FunctionList.new; fork { loop { 0.7.wait; a.value.postln } }; a.addFunc({ 800.rand }); a.addFunc({ "another".scramble }); ⧉ ✔ Class Methods FunctionList. new ( functions ) create a new ...
-
... RedStereo panning effect RedStereo2 panning effect RedTapeRecorder sampling and looping helpfile source: /tmp/scquark_hs/redSys/HelpSource/Overviews/redSysOverview.schelp link::Overviews/redSysOverview::
-
... e series like (1..5) and (1..x) are treated as special cases and implemented as loops rather than making a collection. A list comprehension in SC is really a Routine . You can use the all message to collect all of the Routine's results into ...
-
... f you want to implement a self contained effect that uses a feedback processing loop. There can only be one audio rate and one control rate LocalIn per SynthDef. The audio can be written to the bus using LocalOut . WARNING: Audio written to ...
-
... ence-help"); Synth("detectSilence-help"); Synth("detectSilence-help"); ( Task({ loop({ Synth("detectSilence-help"); [0.5, 1].choose.wait; }) }).play; ) ⧉ ✔ DetectSilence and multiple inputs Be careful feeding multiple inputs into DetectSile ...
-
... View(w, w.view.bounds).string_(a.asString).font_(Font("Helvetiva", 67)); fork({ loop { 1.wait; t.string = t.string.asStrang.scramble.asString }}, AppClock) ) ⧉ ✔ Etymology "Strang" is German for string, rope, strand, cord, skein. The Deutsc ...
-
... { a.string = " Current Frequency: " ++ v.round(0.01) } }.defer }); 0.01.wait; }.loop }.play }); CmdPeriod.doOnce({ w.close }); w.onClose = { r.stop; q.free; b.free }; // clean up if the window closes ) ⧉ ✔ Dynamic Text ( w = Window.new.fron ...
-
... djust; ⧉ ✔ ~~ If the source event is nil, errors will follow, so we should stop looping in that case. while { ev.notNil } { ⧉ ✔ ~~ now is what the next time was . The time of the next event simply adds ev.delta . now = nextTime; nextTime = ...
-
... // This means that the Phasor will output values from 0 to numFrames - 1 before looping, // which is perfect for driving BufRd. (See note above) { BufRd.ar(1, b.bufnum, Phasor.ar(0, BufRateScale.kr(b.bufnum), 0, BufFrames.kr(b.bufnum))) }.p ...
-
... 0.5).postv; // wrong names are ignored a.set(\z, 0.5).postv; Tdef(\a, { |envir| loop { 1.wait; envir.postln }; }).play; // add a named function to act on changing inVals a.add(\test, { |influx| Tdef(\a).set(*influx.outValDict.asKeyValuePair ...