-
... ile. Will only keep one copy. // A Singleton (design pattern). Require { classvar instance; var <>searchPaths; // We actually want to mimic syntax from other languages, // so because *new is the default function on classes we ...
-
Achtung! High pitch and loud! // 2012.05.09 // Work for NX012 Class // Comment: High Voltage Electric Lines. p = ProxySpace.push(s.boot); ~a.play; ~a = { var alpha; alpha = rrand(3,30); Pan2.ar(LeakDC.ar(Normalizer.ar( B ...
-
Electronic Waves in the beach // 2012.05.10 // Work for NX013 Class // Comment: Ocean of Bass. p = ProxySpace.push(s.boot); ~a.play; ~a = { var array; array = Array.series(rrand(1,1000),rrand(1,1000),rrand(1,30)); array = arr ...
-
... a inspiration of rukano tweet. Thanks rukano! // 2012.05.04 // Work for NX014 Class // Inspiration: A Rukano Tweet. Thanks rukano! // Comment: Cosmic Organ. p = ProxySpace.push(s.boot); ~a.play; ~a = { var alpha,gamma; alph ...
-
... menu" -> "open user support directory" and then restart scide (or recompile the class library using the "language" -> "recompile class library" menu) ( s.options.memSize_(16384); s.reboot; ) ( s.waitForBoot({ var parser = TheoryNot ...
-
Example of BoidRoids in use // quick example to show use of BoidRoids class ( var numboids, boids, run, w, m, boidcolour, maxvel; numboids = 100; run=true; boids=BoidRoids(numboids); boids.separation(0.5); boids.alignment(0.3); ...
-
... debug // [time -beginTime, netAddr, msg.collect{|it| format("% (: %)", it, it.class)}].postln }) ) // send messages... // show message array e.oscMsgs.do{|osc| osc.postln}; "" ( // write object file f = File("~/tmp/oscRe ...
-
Save this as an extension and recompile class library. You can now use `Psloth([0,1,0], 10)`, for example, instead of declaring a new routine for each pattern. I didn't persist the use cases, as this should be saved as a `.sc` file. Plea ...
-
This is a class to streamline some of the boilerplate code for wiring up the VSTPlugin extension. It is intended to make using VSTPlugin with a NodeProxy somewhat easier. It's only been tested on a Mac with develop branch build of SuperC ...
-
... f Cycling '74 Thought this might be a good example to put up here on writing classes. /* SuperCollider port of BoidRoids.js from the Max examples Used with permission of Cycling '74 (thanks!) Mike Murphy 2012 */ // mode \average ...