Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Latency Doc

    ... that does nothing runs really fast bench({ nil }); // filling a big array with random numbers takes a while longer. bench({ Array.rand(100000, 0.0, 1.0) }); // different operations may take different times bench({ 100000.do { 3.hypot(2) } ...

  2. Color Doc

    ... ay fromHexString black white clear gray grey red green blue cyan magenta yellow rand hsv Inherited class methods Instance methods red green blue alpha hexString == scaleByAlpha blend vary complementary multiply divide subtract add symmetric ...

  3. Float Doc

    ... Bits Inherited class methods Instance methods do reverseDo clip fold wrap coin xrand2 modSeaside isFloat asFloat as32Bits high32Bits low32Bits asCompileString asStringPrec dump Using Floats as replacement for Integers Inherited instance met ...

  4. BufEnvir Doc

    ... ) }).store ); ) // start a process ( q.rout = Routine { var dt; loop { dt = exprand(0.01, 1.2); Synth(\help_PlayBuf, [ \bufnum, q.b[\apollo], \rate, 0.06 * [1, 2, 3, -1, -2, -3].choose + 1, \offset, 1.0.rand, \sustain, dt * rrand(1.0, 1.3) ...

  5. PathName Doc

    ... ; table2 = Signal.newClear.asWavetable; table3 = Wavetable.sineFill(1024, Array.rand(64, 0.0, 1.0)); FileDialog.new( { |ok, path| var myPathName, myPathOnly; if (ok, { myPathName = PathName.new(path); myPathOnly = myPathName.pathOnly; ("wri ...

  6. BBCutExamples Doc

    ... ",48); s.sync; //this forces a wait for the Buffer to load //0.3.coin chance of random offset starting position for cut playback BBCut2(CutGroup([CutBuf3(sf,0.3),CutMixer(0,0.9),CutFXSwap1(7,0.9,0.7)],numChannels:2), WarpCutProc1.new).play( ...

  7. JPverb Doc

    ... 00, 1000, 500, 250, 125, 125/2].choose, \decay, [0.1, 0.2, 0.4, 1].choose, ] ), Rand(-1, 1)); }.sum; HighShelf.ar(src, \shelfFreq.kr(1000), \shelfslope.kr(1)); }) ⧉ ✔ NOTE: Since Impulse and LFPulse are chosen to be used at evaluation time, ...

  8. Collection Doc

    ... ed the index as an argument. Array.fill(4, { |i| i * 2 }); Bag.fill(14, { |i| i.rand }); ⧉ ✔ Arguments: size The size of the collection which is returned. If nil, it returns an empty collection. If an array of sizes is given, the resulting ...

  9. Env Doc

    ... // 3 segments // reset then play again: Synth(\help_Env_newClear, [\env, Env({ rrand(60, 70).midicps } ! 4, [1, 1, 1], \exp)]); // the same written as an event: (instrument: \help_Env_newClear, env: Env({ rrand(60, 70).midicps } ! 4, [1, 1, ...

  10. NumberBox Doc

    ... Rect(100, 500, 400, 120)); b = NumberBox(w, Rect(150, 10, 100, 20)); b.value = rrand(1, 15); b.action = { |numb| numb.value.postln }; w.front ) // try these one at time b.value = rrand(1, 15) ; // sets the value but does not perform the act ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow