Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... initialize the delay buffer size. delaytime - delay time in seconds. ( // 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); Delay ...

  2. DelayL Help

    ... initialize the delay buffer size. delaytime - delay time in seconds. ( // 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); Delay ...

  3. ProxyPresetGui Quark

    ... @ parent.bounds.bottom)) }); Button(zone, Rect(0,0,40, butHeight)) .states_([["rand", skin.fontColor, skin.foreground]]) .font_(font) .action_({ |but, modif| // cocoa and swingosc -alt mod. var rand = if (modif.isAlt) { object.setRand(expr ...

  4. CtkNote Quark

    ... F .ar( WhiteNoise .ar(amp), freq, 0.01, amp * envgen); Out .ar(0, Pan2 .ar(src, Rand (-1.0, 1.0))); }) ); /* REAL TIME USES */ // show the args a.args; // create a new instance of CtkNote based on this prototype b = a.new(1.0); // set value ...

  5. BlobField Doc

    ... erited instance methods Examples a = BlobField(0.0,1.0, 60.collect{ [RealVector.rand(2),rrand(0.4,1.0),0.05] }) a.plotUni(Rect(0,0,1,1),400,0.2); a.getRange; a.value(RealVector[0.2,0.7]); BlobField(0.0,1.0,[[RealVector[0.5,0.5],1,0.05]]).pl ...

  6. extStoredListDialogs Quark

    ... , (200@30)); var txt = EZText(nil, bounds, "store as:"); name = name ?? { Array.rand(8, 97, 122).collect(_.asAscii).join }; txt.textField.string = name; txt.textField.action = { |tf| "% - adding setting: ".postf(this); this.add(tf.string.as ...

  7. TBall Doc

    ... i| var f, in; in = Decay.ar( Mix(Impulse.ar(rate, [1.0, LFNoise0.kr(rate / 12)].rand, 0.1)), 0.001 ); in = Ringz.ar(in, Array.fill(4, { |i| (i+1) + 0.1.rand2 }) / 2 * Decay.ar(in, 0.02, rand(0.5, 1), lfo) * u, Array.exprand(4, 0.2, 1).sort ...

  8. 017-repulsive3 Doc

    ... ulsion { acc= RedVector2D[0, 0]; vel= RedVector2D[0, 0]; loc= RedVector2D[width.rand, height*0.5]; RedObject(world, loc, vel, acc, 1, 0.5); }.dup(n); //--loop w.draw{ rep.loc= RedVector2D[ sin(w.frame*0.02+sin(w.frame*0.001))*0.5+0.5*width, ...

  9. 017-repulsive3 Quark

    ... ulsion { acc= RedVector2D[0, 0]; vel= RedVector2D[0, 0]; loc= RedVector2D[width.rand, height*0.5]; RedObject(world, loc, vel, acc, 1, 0.5); }.dup(n); //--loop w.draw{ rep.loc= RedVector2D[ sin(w.frame*0.02+sin(w.frame*0.001))*0.5+0.5*width, ...

  10. 120-collision_objects Doc

    ... ], wgrav, 10, 0.6); //dim,grav,maxvel,damp //--objects { var vel= RedVector2D[2.rand2, -5]; //random initial velocity for each object var mass= 0.5.rrand(4); //random mass for each object RedObject(world, RedVector2D[width, height].rand, ve ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow