-
... (Command-k) after installing quarks. Four tests to demonstrate basic NB/NodeBox functionality 0. Evaluate the next line of code. The NodeBox application, with code in a top right window, should appear. NB .test0_NodeBox; Use command-r (in t ...
-
... ing on metal objects. I like that sound. For the wind there are two identical functions, one plays in the left channel and one plays right. Thunder is the most complicated of them all. It is filtered noise with a slow trigger for making a ...
-
... h, bounds.height)); // background fill backgrDrawFunc.value; // background draw function pen.color = Color.black; if(border == true, {pen.strokeRect( Rect(0, 0, bounds.width+1, bounds.height+1)) }); columns.do({arg i; pen.line( Point((bound ...
-
... ctly), its ndefGui has no monitorGui. First code examples: ( // add some simple functions for a MasterFX, e.g. ProxyChain.add3( \testsnd, { Decay.ar(Impulse.ar(1, [0, 0.5]), 0.1) * SinOsc.ar([300, 450]) }, 0.1); ProxyChain.add3(\leak, \filt ...
-
... choose a key from all possible keys and then choose an object from it doAt(key, function) iterate over all elements at a certain key keyAt(key) return the list of objects at a certain key // example a = FuzzySet .new; // put the letters fro ...
-
... celBuffer; var dataTask, accelTask; var <>dataAction, <>accelAction; //callback functions var <dataFull, <accelFull; //maxed out flags var <>dataActive, <>accelActive; var <>factor= 0.99; *new {|board, maxSize= 1000, dataActive= true, accel ...
-
... arg shape=1; ^( (1.0.rand ** (-1/shape))*this ) } /* Poisson Distribution This function models the occurance rate of rare events. This is a discrete distribution that returns positive integer values. The distribution of values is unbounded ...
-
... intervals between 18 and 20 seconds. // Meandering Sines ( // chord choosing function ~chords = Dictionary.new; ~chords.add(\fifth -> [1, 1.5, 2]); ~chords.add(\maj6 -> [1, 1.2, 1.6, 2]); ~chords.add(\min6 -> [1, 1.25, 1.666, 2]); ~ ...
-
... also: redUniverseExamplesOverview , RedWindow , Window Description Adding some functionality to the standard Window class. Requires RedVector and SwingOSC. (This class can also be used with osx-swing. Copy the class file RedJWindow.sc into ...
-
... sync; a = AP(( //Trick to force the parameters / rate / num channels of another function (\test in this case), //even if it's not going to actually be used. This is quite an ugly workaround, but effective! def: Pfunc( { \test2 }.lf ) <> \te ...