Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... s = 10.collect { |i| Synth(\outputTest, [ \out, [0, 1, 2, 3].choose, \freq, 400.rand ]); }; 1.wait; TreeSnapshot.get({ |snap| var playing = snap.root.children[0].children.select { |node| node.isKindOf(SynthSnapshot) && (node.outputs[0].star ...

  2. DelayN Doc

    ... ed class methods Instance Methods Inherited instance methods Examples ( // Dust randomly triggers Decay to create an exponential // decay envelope for the WhiteNoise input source { z = Decay.ar(Dust.ar(1, 0.5), 0.3, WhiteNoise.ar); DelayN.a ...

  3. Using_Hardware_Pages Doc

    ... Dict.size; // test switching gui between pages: // turn all knobs in group 0 to random value k.elAt(\kn, 0).do(_.value_(1.0.rand)); // now switch to scene 1 - all knobs are at 0 g.pagesSwitch.valueAction_(1); // turn all knobs in group 1 to ...

  4. SimpleEnttecDMXProMk2 Doc

    ... true, channel = 477| q.light(0, 0, 0, 0, 0, flush, channel) }; q.light(*(({255.rand}!3) ++ [0, 128])) q.lightOff ⧉ ✔ Closing the serial port q.enttec.close; ⧉ ✔ helpfile source: /tmp/scquark_hs/SimpleDMXControl/HelpSource/Classes/SimpleEnt ...

  5. jitlib_asCompileString Doc

    ... = ~ctl1.wrap2(~ctl2) * ~ctl1 / (~ctl2 + ~ctl1); ~pat = Pbind(\freq, Pfunc({ 1.2.rand })); ~z = 9; ~out.set(\freq, 760, \ffreq, 20); ) p.asCompileString; // the document message creates a new document which it posts the code into p.document; ...

  6. NumberEditor Doc

    ... d class methods Instance methods spec init value setUnmappedValue unmappedValue rand numChannels addToSynthDef instrArgFromControl rate copy guiClass Inherited instance methods Examples Classes (extension) | Libraries > crucial'>crucial > c ...

  7. Convolution2 Doc

    ... er.alloc(s, 2048); b.zero; c.zero; d.zero; ) ( 50.do({ |it| c.set(20*it+10, 1.0.rand) }); 3.do({ |it| b.set(400*it+100, 1) }); 20.do({ |it| d.set(40*it+20, 1) }); ) ( SynthDef("conv-test", { |out, kernel, trig = 0| var input; input = Impuls ...

  8. Syntax-Shortcuts Doc

    ... ; x < 2 } { |x| x < 2 } { arg x = 123; x < 2 } { |x = 123| x < 2 } { arg x = 10.rand; x < 2 } { |x = (10.rand)| x < 2 } or {|x(10.rand)| x < 2 } NOTE: When using the new || syntax, the default value needs to be enclosed in parenthesis if it ...

  9. GMGridButton Doc

    ... 12)); }); allFreqs = allFreqs.midicps; 7.do({ |octave| var octaveColor = Color.rand; 7.do({ |note| states.add(( string: names[note] ++ (octave + 1).asString, color: octaveColor, fontColor: Color.black )); }); }); keyboard = GMGridButton() ...

  10. SimpleMIDIFile Doc

    ... change from default to something useful ((0,(1/8)..5)).do({ |starttime| // add random notes m.addNote( 36 + 50.rand, 32 + 96.rand, starttime, [0.1,0.05].choose, 127, track: 1 ) }); ((0,(1/4)..5)).do({ |starttime| // add random notes to nex ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow