Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 9_BinaryOp_synthesis Help

    ... /////////////// // scale the duration of the envelope for every new synth ( r = Routine ({ loop({ Synth ( "timeScale" , [ \ts , 0.01.rrand(0.3)]); 0.5.wait; }) }); ) r.play /////////////////////////////////////////////////////////////////// ...

  2. HierSch Quark

    ... 0, 7, 12] + 52; quantArr = [b.rate, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]; r = Routine .new({ (beatsArr.size).do({ |i| quant = quantArr[i]; [ "Quant is" , quant].postln; beats = beatsArr[i]; b.sched(4, fn.value(freqsArr7, -0.5), durStrm.va ...

  3. Say Doc

    ... ntence", wait: true).play; "... and now second one done.".postln; ) // Within a Routine, you can add wait times, so you can stop the routine // between spoken sentences ( fork { "begin ...".postln; (type: \say, text: "first sentence ... ", ...

  4. Qitch Doc

    ... load one of the auxilliary data files into a Buffer and pass the bufnum to the routine. These files take the form: QspeckernN1024SR44100.wav QspeckernN2048SR44100.wav QspeckernN4096SR44100.wav QspeckernN8192SR44100.wav QspeckernN2048SR4800 ...

  5. PlayFileDiskView Quark

    ... wnAction= keyDownAction; busNumber.keyDownAction= keyDownAction; cursorUpdater= Routine({ var lastFrame= 0; inf.do{ if(spf.frame!=lastFrame, { lastFrame= spf.frame; waveView.timeCursorPosition= spf.frame; }); 0.01.wait; }; }).play(AppClock) ...

  6. SCListView Help

    ... 5);w.close;}); //defer or crash, because FreqScopeWindow Class contains its own routine for cleaning up on CmdPeriod w.onClose_({n.free;f.free;freq.free}); }); )

  7. gui_example_mindmirror Quark

    ... |x, i| notchFilters[i].filterN(x)}; s.bind{mindSynth.set(\data, d)}; }); }; }); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); win.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(App ...

  8. ddwFilterPatterns Quark

    ... m; Pwhile1 embeds stream values singly Pwhile1 : Pwhile { asStream { |cleanup| ^Routine({ arg inval; this.embedInStream(inval, cleanup) }) } embedInStream { |event, cleanup| var stream = pattern.asStream, next; cleanup ?? { cleanup = EventS ...

  9. ServerLog Quark

    ... rverLogGui } getSortedEvents { arg tail,callback; // list in logical time order Routine({ var q,events,since,a,b; q = PriorityQueue.new; msgs.do({ |it| q.put(it.eventTime,it) }); events = Array.fill(msgs.size,{ |i| if(i % 25 == 0,{0.05.wait ...

  10. sGreybox2 Quark

    ... t= try{SerialPort(path, 115200, crtscts: true)}; var sendOsc; var on= true; var routineSerial, routineGui; var matchArr, matchArrCopy, matchFunc, matchIndex; var matchArr2, matchArr2Copy, matchFunc2, matchIndex2; var lastArr= Array.newClear ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow