Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1772) Code (147) Doc (407) Help (75) Quark (1139) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. GUI: Time-domain continuous vs sampled signals, and FFT representation by 0-cM (jamshark70) Code

    ... |view| spectrumLayouts[i].add(view) }; out }); userView .background_(Color.white) .drawFunc_({ |view| var extent = view.bounds.extent, hardcodedMultiSliderMargin = 6, // don't change this xSize = extent.x, ySize = ext ...

  2. ValueUMapDef Quark

    ... activeUnits; var <>valueIsMapped = true; var <>startFunc, <>endFunc; *defaultGUIColor { ^Color.yellow.blend( Color.white, 0.8 ).alpha_(0.3); } defType { ^\control } *initClass { activeUnits = IdentityDictionary(); } *stopAll { activeUnits.k ...

  3. Fields Quark

    ... d(vector,t,delta) }) } asSCImageUni{ |rect, hsize=100, res = 0.1, contrast = 1, color= #[247,145,30], t=0| var image; rect = rect ? Rect(0,0,1,1); image = this.prUnipolar(rect,hsize*res,contrast,color,t); image.scalesWhenResized_(true); ima ...

  4. FilePathView Quark

    ... alue; var <views, <view; var <viewHeight = 14; var <>action; var <>defaultStringColor; var <font; var <>allowEmpty = false; var <>menu; var <>relativePath; *new { |parent, bounds| ^super.new.makeView( parent, bounds ); } *viewNumLines { ^1 ...

  5. MKtlElementGUI Quark

    ... el.notNil ) { labelWidth@16 } { 20@16 }) .states_([[ label ? "" ],[ label ? "", Color.black, Color.gray(0.33) ]]); }, 'slider': { |parent, label| if( label.notNil ) { StaticText( parent, labelWidth@16 ).string_( label.asString ++ " " ).alig ...

  6. InfluxKtlLoop Quark

    ... \cat].collect { |name, i| Button(q.comp1, Rect(0, 0, 110, 20)) .states_([[name, Color.black], [name, Color.black, Color.green]]) .action_({ |btn| [ { "remove ".post; a.removeMapped(name.postcs); }, { "attach ".post; a.attachMapped( Ndef(nam ...

  7. SimpleEnttecDMXProMk2 Doc

    ... e 0 q.ax3 = SimpleDMXFixture.newFor(\ax3, \13, 20, 0); // set to green q.ax3.setColor(Color.green); q.enttec.add(q.ax3); q.enttec.sendDMX(flush: false); // set to red q.ax3.setColor(Color.red); q.enttec.add(q.ax3); q.enttec.sendDMX(flush: f ...

  8. 230-3Dpoint Doc

    ... 00); //1= exaggerate, 2= standard Pen.translate(width*0.5, height*0.5); Pen.fillColor= Color.white; point.draw(12); //dotSize }; w.play; CmdPeriod.doOnce({w.close}); )

  9. 230-3Dpoint Quark

    ... 00); //1= exaggerate, 2= standard Pen.translate(width*0.5, height*0.5); Pen.fillColor= Color.white; point.draw(12); //dotSize }; w.play; CmdPeriod.doOnce({w.close}); )

  10. CloundGenMiniFMproper by bateslewis (bateslewis) Code

    ... 35); ~recordButton = Button(w, 51@19); ~recordButton.states_([["rec", Color.black, Color.white],["rec", Color.white, Color.red]]); ~recordButton.action = {|view| if (view.value==1) {s.record} {s.stop ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow