Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (503) Code (48) Doc (99) Help (19) Quark (336) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. SFPlayer Quark

    ... view.focusGainedAction_({ outMenu.focus(false); }); // timeGrid = DrawGrid(nil, ControlSpec(0, player.sf.duration, units: \s).grid, nil); timeGrid = DrawGrid(nil, nil, nil); timeGrid.fontColor_(skin.string); timeGrid.font_(Font("Arial", 10) ...

  2. In-App purchase by 0-2U (grirgz) Code

    ... son, pan, amp); OffsetOut.ar(out, son); }, metadata:(specs:( timeScale: ControlSpec(0.001,4,\lin, 0, 1), ))).store; SynthDef(\bass, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; var sig; var sig1, sig2, sig3, sig4, sig5, si ...

  3. plusSpec-makeView Quark

    ... adaptFromObject { ^this } viewNumLines { ^1 } } + Nil { viewNumLines { ^1 } } + ControlSpec { makeView { |parent, bounds, label, action, resize| var view, vws, stp, labelWidth; vws = (); if( (minval != -inf) && { maxval != inf } ) { vws[ \v ...

  4. WFS_Specs Quark

    ... alue| ^this.constrain( value ); } unmap { |value| ^this.constrain( value ); } asControlSpec { ^ControlSpec( this.minval.asArray.mean.max( (2**24).neg ), this.maxval.asArray.mean.min( 2**24 ), \lin, 0, default.positions.asArray.mean, units ) ...

  5. CVWidget2D Quark

    ... }); if(GUI.id !== \cocoa, { specBut.pairsDo({ |k, v| v.toolTip_("Edit the CV's ControlSpec in '"++k++"':\n"++(this.getSpec(k).asCompileString)) }) }); nextY = nextY+14; [midiHead.hi, nextY, midiHead.lo, nextY+52].pairsDo({ |k, v| k.bounds_ ...

  6. SynthDef Help

    ... descriptive information. Currently the 'specs' key in the event is reserved for ControlSpecs to be associated with SynthDef arguments (this is useful for automatic GUI construction). Metadata can be persisted to disk and loaded automaticall ...

  7. CtkPMod Quark

    ... ight * 0.6)) .value_(ctkPEvent.ampSpec.unmap(ctkPEvent.amp.ampdb)) // setup the ControlSpec! .action_({arg slider; ctkPEvent.amp_(ctkPEvent.ampSpec.map(slider.value).dbamp); window.view.children[0].focus(true); }); ampNum = NumberBox(window ...

  8. SynthDEFaults by 0-cG (unknown) Code

    ... f: 1.Executing code should return a SynthDef; 2.The SynthDEFaults should have ControlSpecs for every parameter to define an acceptable range; 3.The SynthDEFaults should not depend on things outside of the core lib or sc3-plugins; 4.The ...

  9. XiiSlicer Quark

    ... style.normal) .string_(pitchRange[1]) .align_(\right); // RIGHT ALIGN ampSpec = ControlSpec(0, 1, \linear, 0, 0); // min, max, mapping, step // AMPLITUDE globalVolSl = OSCIISlider(win, Rect(10, 290, 100, 12), "- vol", 0, 1, 1, 0.01, \amp) . ...

  10. plusSpec-makeView Quark

    ... ^1 } makeEditWindow { |inView, values, label, action, spec| var evws = (), canBeControlSpec = false, hasOriginalSpec = false, scrollHeight; var specViewHeight, originalViewHeight; var viewSpec; canBeControlSpec = this.respondsTo( \asControl ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow