Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (996) Code (19) Doc (190) Help (49) Quark (724) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. SCD/TXT File Merger (script-relative, no GUI) by pyoungryangko (prko) Code

    ... xt" scriptPath = thisProcess.nowExecutingPath; if (scriptPath.isNil) { "Error: This script must be saved on disk.".error; } { currentDir = scriptPath.dirname; outputFileName = "_merged_." ++ extension; sourceFiles = (curren ...

  2. digital lowercase from floating point errors by elirosenkim (eli.rosenkim) Code

    ... 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. ...

  3. Quiz 4a #10 by jcurameng (IamSuperCollider) Code

    ... 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: ...

  4. bouncy-ball delay by snappizz (snappizz) Code

    ... 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 ...

  5. fraction2basimal by elirosenkim (eli.rosenkim) Code

    ... 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 ...

  6. Yet another molecular music box by coreyker (coreyker) Code

    ... 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 ( ...

  7. neural sirens by clarkenciel (clarkenciel) Code

    ... 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 ...

  8. Pebble Beach by 38nonprivate (38nonprivate) Code

    ... 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 ...

  9. SCD/TXT File Merger GUI (select or drag a folder) by pyoungryangko (prko) Code

    ... if (currentDir.isNil or: { extension.isNil or: { extension.isEmpty } }) { "Error: No folder or extension provided.".warn; } { outputFileName = "_merged_." ++ extension; sourceFiles = (currentDir +/+ "*." ++ extension).pathM ...

  10. Equal-Loudness Contour Experience in SC by pyoungryangko (prko) Code

    ... 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, ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow