Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (206) Code (18) Doc (41) Help (11) Quark (136) SCDoc ↗ Forum ↗ Google ↗
  1. SFPlayer Quark

    ... Text() .string_("Amplitude (in dB)") .stringColor_( skin.string), { ampNumber = NumberBox() .background_(skin.background) .normalColor_( skin.string) .action_({arg view; player.amp_(view.value.dbamp, \number); // ampSlider.value_(ampSpec.un ...

  2. SCKnob Help

    ... + v.value); }; j.mouseOverAction = { txt.string_( "value: " ++ j.value); }; n = NumberBox (w, 100 @ 20); //n.setProperty(\boxColor,Color.grey(alpha:0.0)); n.value = 0.0; ) // customize drag and drop methods k.canReceiveDragHandler k.canRece ...

  3. UI for FM7 by davidmorgan (david_morgan) Code

    ... key, 0); } }) }); var gridBoxes = Array.fill2D(6, 6, {arg r, c; NumberBox().minHeight_(15).minWidth_(30) .action_({arg ctrl; setMod.(r, c, ctrl.value); }) .clipLo_(0) .clipHi_(2) .decimals_(2) .normalCo ...

  4. ProcMod Quark

    ... e); this.amp_(ampval.dbamp); numbox.value_(ampval.snap(0.01)); }); numbox = GUI.numberBox.new(composite, Rect(winw * 0.8, 0, winw * 0.2 - xspace, winh * 0.8- yspace)) .value_(amp.ampdb.snap(0.01)) .action_({arg me; this.amp_(me.value.dbamp) ...

  5. Knob Doc

    ... " ++ v.value) }; j.mouseOverAction = { txt.string_("value: " ++ j.value) }; n = NumberBox(w, 100 @ 20); // n.setProperty(\boxColor, Color.grey(alpha: 0.0)); n.value = 0.0; ) // customize drag and drop methods k.canReceiveDragHandler k.canRe ...

  6. ObjectGui Doc

    ... an editor of a value) // and has its own gui class that creates and manages the NumberBox view numberEditor = NumberEditor(model.howFast, [0, 100]) .action_({ |val| model.howFast = val; model.changed(this); // tell the model that this gui c ...

  7. VGScaleRetune Quark

    ... ts at once. e.g. pelog 3 or slendro 2 newScaleIntervals.collect { |interval, i| NumberBox(compSCT, Rect(0,0, boxwidth -30, 20)) .value_(interval.round(0.001)) .decimals_(3) .action_({ |box| // this writes into VGScale.workScales VGScale.set ...

  8. Automation Quark

    ... me.containsi("button") || classname.containsi("slider") || classname.containsi("numberbox") || classname.containsi("checkbox") || classname.containsi("textfield")){ this.dock(child); // Note: we're not passing a name to dock(), so the contr ...

  9. tb303 by olaf (olaf) Code

    ... StaticText (~layoutRight, Rect (0,0, 45, 14)).string_( "BPM: " ); ~tBpm = NumberBox (~layoutRight, Rect (0,0, 45, 14)) .string_(~bpm) .action_({ arg item; ~bpm = item.value; ~sBpm.value_((~bpm-40)/200); }); ~layoutRi ...

  10. XiiStratoSampler Quark

    ... e; recSynth.set(\reclevel, reclevel) ; params[2] = sl.value; }); bufLengthBox = NumberBox.new(win, Rect(10, 90, 40, 16)) .font_(GUI.font.new("Helvetica", 9)) .step_(0.1) .align_(\center) .clipLo_(0.1) .clipHi_(120.0) .value_(params[3]) .act ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow