Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... c.ar(freq, 0, env)) }).add; ) ( a = Prand(#[60, 61, 63, 65, 72], inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.2.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes ...

  2. gui_example_userview Quark

    ... 0.3); //replace IBVA with IBVAfake for test data CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(App ...

  3. LoadMe Quark

    ... doSync = server.notNil and: { server.serverRunning } and: { thisThread.isKindOf(Routine) }; if (filename.isNil) { warn("%: path was nil! not loading.".format(this)); ^nil }; path = filename.standardizePath; // "// if path is relative:".post ...

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

    ... *oct + scale.wrapAt(n) + root; degree.yield; } }).asStream; }; r = Routine({ var durStream = ~dur.value(9, 14.5); var noteStream = ~note.value(48); inf.do { var dur = durStream.next(); var note = noteStream.next() ...

  5. sloth canons by elirosenkim (eli.rosenkim) Code

    routine that takes a seed and generates a self-similar sloth canon with it by adding each term to each term, better explained in this blog post: https://www.science20.com/robert_inventor039s_column/blog/self_similar_sloth_canon_number_seque ...

  6. ServerWindowCP Quark

    ServerWindowCP : AbstractGUIComponentCP { var serverInfoRoutine; var <muteButton, <volSlider, peakCPULabel, numSynthsLabel; createComponent { this.createServerControls; } createServerControls { var spec; this.createLabel("Server").align_(\l ...

  7. Streams-Patterns-Events2 Doc

    ... }); // print 5 values from the stream ) ⧉ ✔ A Prout is a Pattern that returns a Routine . The same function argument is supplied as is supplied to Routine. ( var a, b, c; a = Prout.new({ 3.do({ arg i; 3.rand.yield; }) }); // make two stream ...

  8. Prt Quark

    ... Args { ^[key, resetSource] } // storeOn { |stream| this.printOn(stream) } } // Proutine, but protects against nil being passed in // intended for routines that yield events // this is a workaround for EventStreamPlayer-stop // no longer nee ...

  9. Prt Quark

    ... Args { ^[key, resetSource] } // storeOn { |stream| this.printOn(stream) } } // Proutine, but protects against nil being passed in // intended for routines that yield events // this is a workaround for EventStreamPlayer-stop // no longer nee ...

  10. softVol_ Doc

    ... st).softVol_(sl.value, 0.05) }); // safer EZSlider(w, 340@30, \knowLastV, \amp, Routine { |sl| var newVal, lastVal; loop { newVal = sl.value; Ndef(\test).softVol_(sl.value, 0.05, lastVal: lastVal); lastVal = newVal; \dummy.yield; } }); ) ⧉ ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow