Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... esNearestPoints(aLine); if(p1.dist(p2)<0.00001,{^p1},{^false}); } prPointAt{arg index,value; var r=(value/directionVector[index])-(positionVector[index]/directionVector[index]); ^this.getPointOnLine(r); } getPointOnLine{arg s; ^(this.positi ...

  2. Opus+AudioRoute Quark

    ... ch secondary array should contain a key to access the input with, and a 0 based index for a channel on the physical device followed by the number of channels. */ [ [\\myInputOne, 0, 1], [\\myInputTwo, 1, 1], ];"; filePath = this.audioInPath ...

  3. Polynomial Quark

    ... quo] } pow { arg n; var d = this.degree, l = this.offLow, diff = d - l, c0, cs, index; if(n.real == 0.0 and: { n.imag == 0.0 }, { ^1 }); if(n.real == 1.0 and: { n.imag == 0.0 }, { ^this }); if(n.real == 2.0 and: { n.imag == 0.0 }, { ^(this ...

  4. TabbedView Quark

    ... bel ) string adds a tab with label ; returns the Composite/Scroll View insert ( index , label ) int, string inserts a tab at index with label string ; returns the Composite/Scroll View removeAt( index ) int remove tab at Index. focus ( inde ...

  5. SCMServerControlView Quark

    ... ot || Server.local.options.device != currentDevice, { if (ServerOptions.devices.indexOfEqual(currentDevice) > 0, { Server.local.options.device = currentDevice; }); Server.local.reboot; }); this.onMove = { if(this.parent.isNil, { this.persis ...

  6. MultiMonoUdef Quark

    ... { item.default = item.spec.constrain( item.default ); }; }; if( item.name != \u_index ) { item }; }).select( _.notNil ) ++ [ channelArgSpec ] } *getIOArgNames { |numChannels = 1, type = 'i', selector = 'ar'| ^numChannels.collect({ |i| UIn.g ...

  7. SCLOrkPDParameterView Quark

    ... / ScopeView // Slider // SoundFileView parameterValue.at(\tokens).do({ | token, index | // At this point only \number fields are editable, so we // treat all other fields as non-editable. If a field is // not editable its string is concaten ...

  8. extVarGui_4 Quark

    ... ).put(4, clippedValue); } performSliderActions {|symbol, value, reg, mod, symbolIndex, arrayIndex| // if reg == \var: symbolIndex = index of var // if reg == \synth: symbolIndex = index of synth var msgList, ii, k = 0, sliderOffset = 0, mod ...

  9. cinematix-wheel.desc Quark

    ... are extra precision of value, and the last 4 bits of note number are the wheel index. // test as MKtl c = MKtl(\cin, "cinematix-wheel"); MKtlDesc.loadDescs.size; MKtlDesc.writeCache; g = c.trace.gui; c.elAt.action = { |el| "action! %, %, % ...

  10. republic_basicpatterns Quark

    ... r.s, where: [\jrhbr, \adc], instrument: \xxy, freq: [400, 1600]).play; // by an index - same as r.nameList.wrapAt(index) (server: r.s, where: 1, instrument: \xxy, freq: [400, 1600]).play; // by a list of indices - same as r.nameList.wrapAt( ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow