Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (928) Code (86) Doc (150) Help (40) Quark (649) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. SCButton Help

    ... ue = 2; // does action if it results in a change of value b.valueAction = 3; // clips to size of states b.valueAction = -1; // floats no problem b.valueAction = 3.3; //In a musical context, a button-down press is more meaningful than a butt ...

  2. GD_ToolboxWindow Quark

    ... ect\cf0 (2+vw2,os,vw2,vh))\ .action = \{ \cf3 |v|\cf0 \ v.value = v.value.asInt.clip(3,40);\ panels.do(\{ \cf3 |panel|\cf0 panel.gridStep = v.value \})\ \ \};\ \ gridNB.align_(\cf5 \\center\cf0 ).value_(10).visible = \cf3 false\cf0 \ \}\ \ ...

  3. painter Quark

    ... ulateVColor { arg vCount, alpha = 0.7 ; var r, g, b ; vCount = (vCount*colFact).clip2(1) ; // scaled // a mapping, empirical r = vCount ; g = vCount ; b = 1-vCount ; ^Color.new(r, g, b, alpha) } update { arg theChanged, theChanger, more; // ...

  4. GMGridView Quark

    ... ateContainer(dict); { this.refresh; }.defer; } updateContainer { |container| // Clip values // to prevent exiting the grid container[\position].x = max( 0, container[\position].x ); container[\position].y = max( 0, container[\position].y ); ...

  5. A Map To Everything [Disquiet0062-LifeOfSine] by schemawound (Schemawound) Code

    ... is guy is just here to handle the doneAction var sine = [//Div by 3 to avoid clipping Pan2.ar(SinOsc.ar(freq0, phase0 * 2pi, amp0) * EnvGen.ar(Env.adsr(attack0, decay0, sustain0, release0), gate), pan0) / 3, Pan2.ar(SinOsc.ar(fre ...

  6. Functions and Sound Help

    ... cillate between 1 and -1. This is a good default as anything bigger would cause clipping and distortion. A mul of 0 would be effectively silent, as if the volume knob was turned all the way down. To make clearer how mul works, here is a gra ...

  7. UScoreView Quark

    ... View.updateSliders; }; }; if( followPos ) { scoreView.moveH = (score.pos / dur).clip(0,1); } { scoreView.refresh; }; } currentEditor{ ^scoreEditorsList.last } baseEditor{ ^scoreEditorsList[0] } currentScore{ ^scoreEditorsList.last.score } i ...

  8. 05-Functions-and-Sound Doc

    ... cillate between 1 and -1. This is a good default as anything bigger would cause clipping and distortion. A mul of 0 would be effectively silent, as if the volume knob was turned all the way down. To make clearer how mul works, here is a gra ...

  9. Color Help

    ... lor. val - Varies the RGB values +- this amount. Default value is 0.1. lo - Low-clips the RGB variation here . Default value is 0.3.. hi - High-clips the RGB variation here . Default value is 0.9. alphaVal - Varies the alpha value +- tis am ...

  10. Envelop Quark

    ... quared + (2 * slope * remain)).max(0).sqrt - a / slope}; elapsed = elapsed + tt.clip(0, segDur); remain = 0; }; }; }; if(remain > 0) { elapsed = elapsed + (remain / levels.last.max(1e-12)) }; //extend past the end ^elapsed; } // Intergral o ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow