Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. MKtlGUI Quark

    ... = label = (label ? "").asString; var nameSize = name.size; var splitPoints, bestIndex; if( nameSize > maxLength ) { splitPoints = name.findAll($_); if (splitPoints.isNil) { bestIndex = (nameSize / 2).roundUp.asInteger; } { bestIndex = split ...

  2. InstrSynthDef Quark

    ... ]).ir([0]) , result); // can still add Out controls if you always use \out, not index }, \control, { result = outClass.kr(Control.names([\out]).ir([0]) , result); }, \scalar, { // doesn't make sense for a UGen ("InstrSynthDef: result of you ...

  3. InstrSynthDef Quark

    ... ]).ir([0]) , result); // can still add Out controls if you always use \out, not index }, \control, { result = outClass.kr(Control.names([\out]).ir([0]) , result); }, \scalar, { // doesn't make sense for a UGen ("InstrSynthDef: result of you ...

  4. SplineGui Quark

    ... nNumber, clickCount| var p,newSelect; p = x@y; newSelect = model.xypoints.detectIndex({ |pt| (this.map(pt)).dist(p) <= pointSize }); if(selected.notNil and: newSelect.notNil and: {modifiers.isShift},{ selected = nil },{ selected = newSelect ...

  5. Graph Quark

    ... ue in vopts[annotationOrder] vID - the vertex identifier. annotationOrder - The index of the vopts Array. val - the value of the annotation to store in the vopts. setAnnotationSize(aSize) Set the size of the vopts Array, the size depends on ...

  6. extSphericalDesign Quark

    ... his.vec_angle(points[i], points[j]); // can look up the value with either point index first vecAngTable[i][j] = va; vecAngTable[j][i] = va; }) }; }; triplets = nil; for (0.0, numPnts - 1, { |i| for (i+1.0, numPnts - 1, { |j| for (j+1.0, num ...

  7. XiiEffects Quark

    ... new255(10, 55, 10)) .fillColor_(Color.green(alpha: 0.2)) .valueThumbSize_(4.0) .indexThumbSize_(10.0) .gap_(6) .canFocus_(false) .background_(Color.white) .action_({arg xb; cFreqWin.string_(freqList.at(xb.index).asString); bandSynthList[xb. ...

  8. ServerView Quark

    ... rList.items = Server.all.collect({ | s | s.name; }); serverList.value = servers.indexOf(server); serverList.action = { |v| parent.server = servers[v.value]; }; serverList.maxHeight_(18); serverList.font = this.font(12, false); ^serverList } ...

  9. DXEnvFan Quark

    ... sequence of channels between which the signal should be crossfaded. An channel index, a demand rate or other ugen returning channel indices or a SequenceableCollection of such, causing multichannel expansion. If in this case the overall mu ...

  10. XiiSoundFileView Quark

    ... ndFileView.new( XQ.buffers(poolname.asSymbol)[fileNumInPool], numInPool, // the index in the pool poolname, // the poolname [0,0], caller, chnl); win.close; [\caller, caller].postln; if(caller.isKindOf(XiiBufferPlayer), { caller.viewerList[ ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow