Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. InstrSynthDef Quark

    ... utputProxies = this.buildControlsWithObjects(instr,inputs); result = instr.valueArray(outputProxies); if(result != 0.0,{ rate = result.rate; numChannels = max(1,result.size); rate.switch( \audio, { result = outClass.ar(Control.names([\out]) ...

  2. InstrSynthDef Quark

    ... tputProxies = this.buildControlsWithObjects(instr, inputs); result = instr.valueArray(outputProxies); if(result != 0.0, { rate = result.rate; numChannels = max(1, result.size); rate.switch( \audio, { result = outClass.ar(Control.names([\out ...

  3. DXFanOut Quark

    ... eroXBufRd , TZeroXBufRd , ZeroXBufWr Creation / Class Methods *ar (out, channelsArrayRef, fadeTime = 1, stepTime = 1, fadeMode = 0, sine = 1, equalPower = 1, power = 1, curve = 0, allowTypeSeq = 0, fadeRate = \ar, maxFadeNum = inf, maxWidth ...

  4. SplineGui Quark

    ... t; if(showGrid,{ gridLines.opacity = alpha; gridLines.draw; }); // can cache an array of pen commands model.xypoints.do { |point,i| var focPoint; focPoint = point; point = this.map(point); pen.addArc(point,pointSize,0,2pi); if(i==selected,{ ...

  5. Wavetable Builder with GUI by txmod (txmod) Code

    ... SaveFormatIndex; d.allocUpdateBuffers; d.deferMakeGui; }; d.setDefaultSineArrays = { d.arrFreqs = d.maxSines.collect({arg i; i + 1}); d.arrLevels = [1] ++ (0 ! (d.maxSines - 1)); d.arrPhases = 0 ! d.maxSines; }; d.setDefaultPo ...

  6. VirtualRoom Quark

    ... a GUI for the room properties */ gui { var w, f, s, v, t; var height = 15; s = Array.newClear(3); v = Array.newClear(3); roomProperties.put(\rTSpec, [0, 3].asSpec); roomProperties.put(\rMSpec, [0, 1].asSpec); w = GUI.window.new("Virtual Ro ...

  7. Creating_Custom_Elements_and_Groups Doc

    ... lueAction_(1.0.rand); // Same for the offs, but use automatic group wrapping of arrays of elements: MKtl('lpd').addNamed(\offs, MKtl('lpd').elAt(\pad).collect(_[\off])); MKtl('lpd').elAt(\offs); MKtl('lpd').elAt(\offs, 0); // give the group ...

  8. ConductorGUI Quark

    ... show { var oldWin; oldWin = this[\win]; this.show(oldWin.name, *oldWin.bounds.asArray); oldWin.close; } draw { | win, name, key | if (stopOnClose) { win.onClose = { conductor.stop } // SimpleController(win).put(\close, { conductor.stop }); ...

  9. MxDrawer Quark

    ... SetColors; lv.refresh } drillUp { var labels; keys = MxDrawer.registery.keys.as(Array).sort; items = keys.collect { arg k; var it; it = MxDrawer.registery[k]; if(it.isKindOf(MxDrawerItemGroup), { labels = labels.add( "*" ++ k ++ "*" ) }, { ...

  10. PeriodicUpdater Quark

    ... } defaultValueFunc { ^{ DC.kr(0) } } makeReply { |values, trigger| if (values.asArray.detect(_.isArray).notNil) { valueStructure = values; } { valueStructure = nil; // Don't bother, interpret at array }; values = values.asArray.flatten; ^if ...

prev 301 302 303 304 305 306 307 308 309 310 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow