Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... olor Colors, Gradients and SCImages can be used with these getter/setters. ( // random colors w = Window ( "colorful" , Rect ( 200 , 200 , 250 , 120 ) ).front.decorate; 7 .do({ |i| SmoothSlider ( w, 30 @ 100 ) .knobColor_( Color .rand( 0 , ...

  2. MultiSliderView Doc

    ... 0).states_([["reference = nil"], ["reference filled", Color.white], ["reference random", Color.yellow]]) .action_({ |b| b.value.booleanValue.if({ (b.value > 1).if( { m.reference = Array.fill(n, { 1.0.rand }) }, { m.reference = Array.fill(m. ...

  3. 9b_nanoKtl_demo Quark

    ... slider to set main volume"); 4.do { |i| 0.5.wait; m.elAt(\main).valueAction_(exprand(0.25, 1)) }; 1.wait; m.elAt(\main).valueAction_(0.5); 4.do { |i| NTMI.ndefs.wrapAt(i).vol_(0.25) }; (1..3).do { |i| NTMI.slots.endAt(i) }; 0.2.wait; NTMI.s ...

  4. jitlib_fading Help

    ... ated, but the synth is freed (without fading) ( ~out = { Out .ar(0, SinOsc .ar( Rand (440,550),0,0.2)) }; ) c) custom fade envelope // when a gate arg is provided, and the env can free the synth, this envelope // is supposed to be the fade ...

  5. ExpRand Help

    ExpRand exponential distribution single random float value ugen ExpRand(lo, hi) Generates a single random float value in an exponential distributions from lo to hi. See also: LinRand , Rand ( SynthDef ( \help_ExpRand , { | out = 0, n = 0 | ...

  6. FuncStream Doc

    ... tion that is called for each next stream value. // make a stream that returns a random number a = FuncStream({ 1.0.rand }); a.next; ⧉ ✔ It uses Function: -inEnvir to statically bind the function call to the environment in which the FuncStre ...

  7. 2_MKtlElement_tests Quark

    ... / ~post = { |el| [el.name, el.value].postln }; x.addAction(~post); x.value_(1.0.rand); x.valueAction_(0.6); y = MKtlElement(\y, (spec: [-100, 100], type: \joyY, ioType: \in)); y.addAction(~post); Slider2D(nil, Rect(0,0,200,200)).action_({ | ...

  8. imuUV Quark

    /* // tests for display when changing imu/pad values: NTMI.nUFO.padVals = { 1.0.rand } ! 8; NTMI.nUFO.padVals = 1.0.rand ! 8; NTMI.nUFO.padVals = 0 ! 8; NTMI.nUFO.rawImuBiValues = { 1.0.rand } ! 9; NTMI.nUFO.calibImuVals = NTMI.nUFO.rawImuB ...

  9. glitchySampler by tigges-p (tigges-p) Code

    ... ency at which the PlayBuf UGen is triggered to jump to the start position trigrand = 0, //the actual trigger frequency is calculated by (\trigfreq * (2 to the power of (this * an LFNoise UGen with range -1 to 1))); setting this t ...

  10. clock Quark

    ... erView( NTMI.g.clok.zone, NTMI.g.clok.extent * [1, 0.5] ); //.background_(Color.rand) NTMI.g.clok.uv.drawFunc_({ |uv| var timeStr = Tdef(\clocK).get(\timeStr); var font = Font(Font.defaultMonoFace, 12); var strBounds = timeStr.bounds(font); ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow