-
... xt" scriptPath = thisProcess.nowExecutingPath; if (scriptPath.isNil) { "Error: This script must be saved on disk.".error; } { currentDir = scriptPath.dirname; outputFileName = "_merged_." ++ extension; sourceFiles = (curren ...
-
... n boosted to be audible, kind of like digital lowercase music (//floating point errors { var pink; pink = PinkNoise.ar().range(0.08, 0.12)!2; 0.5*LeakDC.ar(Median.ar(2, Limiter.ar(99999999*(SawDPW.ar(pink, 0) + SawDPW.ar(pink, pi)), 0. ...
-
... pp. 62-84 from Gentle Intro to SuperCollider. //Version 1 //P(eace)Bind //If error messages could experience Nirvanna, it would sound like this. ( { Saw.ar( freq: SinOsc.kr([60, 63, 67, 70]).range(440,880), mul:LFNoise0.kr(freq: ...
-
... r); cumulDelay = iois.sum; (cumulDelay > ~buf.duration).if { Error("use a larger buffer").throw; }; snd = Silent.ar; iois.reverse.do { |ioi| snd = (snd + DelTapRd.ar(~buf, phase, cumulDelay, interp ...
-
... ractions-Part-A-only.pdf //it doesn't work perfectly due to floating point errors, I can't find an arbitrary precision float for SC ~fraction2basimal.(1/3, 10); //without rounding in the equals comparision, this returns a bunch of thr ...
-
... box-how-simple-rules-can-lead-to-rich-patterns/ I haven't really checked for errors, but is sounds ok. There are a few other SC versions as well. See for example: http://www.kimri.org/blog/?p=487 and http://sccode.org/1-4Ww ( ...
-
... s = { arg network, input; ~forward.value(network, input).last.last }; ~outputError = { arg guess, target; target - guess }; ~sigmoidPrime = { arg x; 1 - (x.tanh ** 2) }; ~backProp = { arg network, input, target; // calculate weight ...
-
... needs to be increased from the default of 8192 // or you'll see the following error: // exception in real time: alloc failed, increase server's memory allocation (e.g. via ServerOptions) o = ServerOptions.new; o.memSize_(16000); Ser ...
-
... if (currentDir.isNil or: { extension.isNil or: { extension.isEmpty } }) { "Error: No folder or extension provided.".warn; } { outputFileName = "_merged_." ++ extension; sourceFiles = (currentDir +/+ "*." ++ extension).pathM ...
-
... ess Contour Experience in SC special thanks to James Harkins who resolved my errors in the code via the sc-users list! ( s.waitForBoot{ var freqs = [0] ++ Array.geom(19, 30, 1.425), strps = [$a, $b, $c, $d, $e, $f, $g, $h, $i, $j, ...