Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ar(pFreq, 0, pWidth), 1500) * 0.1 }); Ndef(\test).play; Ndef(\test).scope; ( // controlspecs for its params Spec .add( \pFreq , [2, 200, \exp ]); Spec .add( \pWidth , [0.01, 0.5, \exp ]); ) // an editor to see the params changing NdefGui(Nd ...

  2. wsgui Quark

    ... <clientDict;// var <guiObjects; //guiObjects: name -> [widgetParams, function, controlSpec] var <namesToIDs; var <numClients; var <bodyID; //this will be id of the object referring to the body, when the background is first set; var <titleI ...

  3. CVCenter Quark

    ... ven slot-value '%' is not valid!".format(slot)).throw; }) }); if (spec.class == ControlSpec, { thisSpec = spec }, { // CVWidgetMS // if spec.asSpec returns nil make it a default ControlSpec by calling as Spec again if (spec.isArray.not, { t ...

  4. MixerChannelDef Quark

    ... s.keysValuesDo({ |key, gcspec| gcname = "% %".format(name, key); case // (spec: ControlSpec, value: initial value) { gcspec.respondsTo(\keysValuesDo) } { gc = gcspec[\spec].asSpec; gc = MixerControl(gcname, BusDict.control(mixer.server, 1, ...

  5. BasicMIDIControl Quark

    ... 'm the destination, I must say if I'm active or not Most controllers will use a ControlSpec to map the incoming value (divided by 127) onto another range. The spec method should return this spec. The easiest way is to have an instance varia ...

  6. BasicMIDIControl Quark

    ... 'm the destination, I must say if I'm active or not Most controllers will use a ControlSpec to map the incoming value (divided by 127) onto another range. The spec method should return this spec. The easiest way is to have an instance varia ...

  7. RedToolsMenu Quark

    ... }, ['system', 'post specs'], { Spec.specs.keysValuesDo{|key, val| if(val.class==ControlSpec, {[key, val].postln})}; }, ['system', 'count characters'], { if(Main.versionAtMost(3, 5), { ("there are"+Document.current.selectedText.size+"charact ...

  8. CVWidget Quark

    ... wnActions); Class.initClassTree(CVWidgetShortcuts); StartUp.add({ Spec.add(\in, ControlSpec(0, Server.default.options.firstPrivateBus-1, \lin, 1.0, 0)); Spec.add(\true, ControlSpec(0.0, 1.0, \lin, 1.0, 1.0)); Spec.add(\false, ControlSpec(0. ...

  9. PlayFileDiskView Quark

    ... umber.value= 1; loopButton.action= {|view| spf.loop= view.value; }; volumeSpec= ControlSpec(-inf, 3, 'db', 0, 0, "dB"); volSlider.action= {|view| spf.amp= volumeSpec.map(view.value).dbamp; }; volSlider.value= volumeSpec.unmap(volumeSpec.def ...

  10. TempoClockGui Quark

    ... lSlider, <>metroLevel, <>latency = 0, <metro; *initClass { StartUp.add({ spec = ControlSpec(0, 0.74, \amp) }); } gui { arg lay, bounds ... args; // must do some things felix doesn't var layout; mainLayout = layout = this.guify(lay,bounds); ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow