Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1299) Code (80) Doc (443) Help (108) Quark (663) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. RedBencode Doc

    ... { //skip the initial "\n[serialSend]" stream.pos= 0; RedBencode.decode(stream).postln; //should post the result every 3sec }); stream= CollStream.new; lastByte= -1; }, { if(lastByte!= -1, { if(stream.notNil, { //skip the initial "\n[serial ...

  2. NdefPreset Doc

    ... ); ) // b.getSetNames; b.settings.printcsAll;""; b.setCurr(b.getSetNames.choose.postln); b.setTarg(b.getSetNames.choose.postln); // a gui for the NdefPreset g = NdefPresetGui(b, 8).moveTo(10, 200); b.morph(1.0.rand, \ada, \coco); b.xfadeTo( ...

  3. ProteinBioSynthesis Doc

    ... ds represented as a String . . verbose If set to true, print information to the post window. . transcribe Transcription is the process that produces the so called codons, the aminoacids from nucleic acid triplets. ProteinBioSynthesis().tran ...

  4. MNamedList Quark

    ... y.size) { warn("NamedList: unequal size of array and names:"); "array: % - %\n".postf(array.size, array); "names: % - %\n".postf(argnames.size, argnames); ^nil }; names = argnames; dict = (); names.do { |name, i| dict.put(name, array[i]) }; ...

  5. Creating_Custom_Elements_and_Groups Doc

    ... p a shared ON function MKtl('lpd').elAt(\ons).action = { |el| "ON group: % %\n".postf(el.name, el.value.round(0.001)); }; // test that the elements all respond MKtl('lpd').elAt(\pad, 7.rand, \on).valueAction_(1.0.rand); // Same for the offs ...

  6. UGens-and-Synths Doc

    ... FSinOsc.ar(800, 0.0, 0.2) + BrownNoise.ar(0.2); // press enter and look at the post window {FSinOsc.ar(800, 0.0, 0.2) + BrownNoise.ar(0.2)}.play; // play it ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Guides/UGens-and-Sy ...

  7. cog wheels by redfrik (redFrik) Code

    ... ([]).fixedSize_(size) ).mode_(\stackAll) ); button.action= {|view| "bang".postln; }; ) //--explorer ( var win= Window("cog wheel generator", Rect(100, 100, 500, 500)); var usr; var penWidthSlider, penWidthSpec= ControlSpec( ...

  8. MarkovSet Doc

    ... t([ [100, [120, 130]], [120, [100, 1900]], [130, nil], ]); ) 8.do { m.next(100).postln }; 8.do { m.next(120).postln }; 8.do { m.next(130).postln }; ⧉ ✔ training by a stream m = MarkovSet.fill(100, Pseq([1, 2, 3, 4, Prand([5, 55, 555])], inf ...

  9. VGSamp Quark

    ... VGSamp .laras; VGSamp .keyFor(instKey: \SaronA , noteKey: \51, laras: \pelog ).postcs; VGSamp .eventFor((instKey: \SaronA , noteKey: \51, amp: 0.2, laras: \pelog )).putAll((dur: 10)).postcs.play; VGSamp .ampComps[ 'gamKUG_Pl_SaronA_56' ] V ...

  10. NamedList Quark

    ... y.size) { warn("NamedList: unequal size of array and names:"); "array: % - %\n".postf(array.size, array); "names: % - %\n".postf(argnames.size, argnames); ^nil }; names = argnames; dict = (); names.do { |name, i| dict.put(name, array[i]) }; ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow