Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... (0, false); ) ( r = Routine({ var j = 0; 20.do({ |i| b.selectIndex((b.size - 1).rand.abs); 0.1.wait; b.x_(1.0.rand.abs); b.y_(1.0.rand.abs); }); b.selectIndex(-1); }); AppClock.play(r); ) ⧉ ✔ Show boxes with a string in it: ( a = Window("te ...

  2. softPut Doc

    ... 2); Tdef(\test, { var dur; loop { dur = e.dur; (amp: e.amp, dur: dur, degree: 7.rand).play; dur.wait; }; }).play; ) e.put(\amp, 0.03); // just set it e.put(\amp, 0.1); e.softPut(\amp, 0.11); // small change, OK to set e.put(\amp, 0.1); e.so ...

  3. MethodController Doc

    ... essly. It makes use of the ObjectController class. ( // Model m = Color( *{ 1.0.rand }!3); ~makeColorView = { var r = Slider(); var g = Slider(); var b = Slider(); var a = View().minSize_( 40@40);// An area to show the color var v = View(). ...

  4. GUI-Layout-Management Doc

    ... (bounds:Rect(100,100,200,200)).layout_( VLayout( UserView.new.background_(Color.rand), TextField().string_("Super").maxWidth_(100), UserView.new.background_(Color.rand).minSize_(200@200), TextField().string_("Collider").maxWidth_(100) ) ).f ...

  5. Event Doc

    ... ve").play; // overrride default // in a Pbind: Pbind(\type, \happyEvent, \who, Prand(["Alice", "Bob", "Eve"], inf), \dur, Pwhite(0.1, 1.0, inf)).play; // parent event type for indirect calls: Event.addEventType(\test, { ("x was" + ~x.value) ...

  6. Symbol Doc

    ... leString asDefName asFloat asLayoutElement asSymbol asWarp asin atan atan2 bilinrand bitAnd bitHammingDistance bitNot bitOr bitXor blend buildForProxy ceil codegen_UGenCtorArg coin cos cosh cpsmidi cpsoct dbamp degrad degreeToKey distort do ...

  7. NdefPreset Doc

    ... p({ ( instrument: \pingbend, freq: env[\freq], bend: env[\bend] + env[\bendVar].rand2, sustain: env[\sustain], pan: 1.0.rand2 ).play; env[\dt].wait; }) }); Tdef(\a).gui; // will be using this SynthDef: s.boot; SynthDef(\pingbend, { arg out= ...

  8. ConductorPlayer Doc

    ... aCV, bCV], aCV.midicps + bCV] ] function [freq: [ aCV, { aCV.midicps.value + 33.rand }] ] . synth The event is assigned CVEvent-synthEvent as its parent. . controlBus Arguments: ev The event can specify server: aServer (defaults to Server.d ...

  9. SequenceableCollection Doc

    ... ableCollection: Filter: Description Indexing Class methods fill series geom fib rand rand2 linrand exprand interpolation Inherited class methods Undocumented class methods newFromFile streamContents streamContentsLimit tuningScale Instance ...

  10. Pattern Doc

    ... = 1, pan, amp = 0.1| var out, eg, fc, osc, a, b, w; fc = LinExp.kr(LFNoise1.kr(Rand(0.25, 0.4)), -1, 1, 500, 2000); osc = Mix.fill(8, { LFSaw.ar(freq * [Rand(0.99, 1.01), Rand(0.99, 1.01)], 0, amp) }).distort * 0.2; eg = EnvGen.kr(Env.asr( ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow