Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. CHANGELOG Quark

    ... do({ var bank = AlgaNode(\sines); reverb <<+ bank; }); //Print CPU usage fork { loop { ("CPU: " ++ s.avgCPU.asStringPrec(4) ++ " %").postln; 1.wait; } } } ) //Boot Alga with the supernova server //Alga will automatically spread the load acr ...

  2. helper-funcs Quark

    ... yStr = presetKey.asString; fItem = view.itemAt(fIndex); // super-oldskool while loop // because there's no 'numChildren' method for TreeViewItem pIndex = 0; while { fItem.childAt(pIndex).notNil and: { fItem.childAt(pIndex).strings[0] != pKe ...

  3. ParaSpace Quark

    ... so you aren't updating on every iteration of the routine, but at the end of the loop. // choose a gui (see GUI helpfile) GUI .swing; GUI .cocoa; ParaSpace .new // use ctrl+click to create a Box ( w = Window .new( "ParaSpace" , Rect (10, 500 ...

  4. Dtag Doc

    ... any expressive power to the concept, it is an interesting special case. At the loop point (a certain limit string size), a new axiom is chosen from the beginning (r > 0), or backward, from the end of the tape (r < 0). If recycle is not 0 , ...

  5. Runner Quark

    ... 5).wait ; }) ; }).play( SystemClock ) ; ) ////////////////////////// // Another looping cloud ( g = Graph .new ; r = Runner .new(g, weight:0.2).gui ; p = Painter .new(g, r) ; h = SlicePlayer (r).initAudio( "sounds/a11wlk01.wav" ) ; 20.do({ ...

  6. Document Doc

    ... ype some text ( var time = Main.elapsedTime; a = List.new; r = Routine { |char| loop { a = a.add([char, Main.elapsedTime - time]); char = 0.yield; } }; Document.new("type some text") .keyDownAction = { |doc, key| r.value(key) ; time = Main. ...

  7. AmbisonicsSC2 Plugin

    ... source.dims}); // maybe more efficient: copyRange is a primitive, select uses a loop .copyRange( 0, pointsource.dims ); // Scale signal by the encoding matrix and return the encoded B format signal // #w, x, y, z = (sig * encodeArray); // ^ ...

  8. Window Doc

    ... + 1.5pi) * much + 1 }; var scale; var font = Font("Helvetica", 40).boldVariant; loop { i = i + 1; Pen.font = font; string.do { |char, j| scale = func.value(i, j).dup(6); Pen.fillColor = Color.new255(0, 120, 120).vary; Pen.matrix = scale * # ...

  9. that-intro Quark

    ... nnels, bufnum: ~that_buffer, rate: BufRateScale.kr(~that_buffer) * rate.lag(1), loop: 1 ); }) ) // ================== // Amplitude Analysis // ================== // we will use amplitude analysis as a simple example to explain everything // ...

  10. HOAAmbiDecoderHelper Quark

    ... nv('PATH', [PATH ':/usr/local/bin']); \n"); file.write("\n\n"); file.write("\t% looping up to the order set above \n"); file.write("\t for order = 1:h_order \n"); file.write("\n \t % set the channel definition first\n"); file.write("\t\t C ...

prev 161 162 163 164 165 166 167 168 169 170 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow