Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... doRepeats changes the tree, which eventually is better depr_fill { |delta| var indexes = List.new; turn = (turn ? -1) + 1; children.do { |ch, index| ch.get($!, 1).asInteger.do { indexes.add(index) } }; queue.addAll(children.at(indexes.wrap ...

  2. SGUI Quark

    ... f decimals var str= val.round(0.1**numDecimals).asString; var num= str.size-str.indexOf($.)-1; ^str.extend(str.size+numDecimals-num, $0); } *shrink {|staticTextView| ^staticTextView.fixedWidth= staticTextView.string.bounds(font).width+2; } ...

  3. SharedNodeProxy Quark

    SharedNodeProxy : NodeProxy { // todo: should pass in a bus index/numChannels. var <constantGroupID; *new { arg broadcastServer, groupID; // keep fixed group id (< 999) ^super.newCopyArgs(broadcastServer).initGroupID(groupID).init } shared ...

  4. Plane Quark

    ... gs; planeIDs = planeIDs.add([type, subtype, voice, settings]); } *removeAt {arg index; planes.removeAt(index); planeIDs.removeAt(index); } *indexArr {var result; if(planeIDs.notNil, { result = ([Array.series(planeIDs.size)] ++ [planeIDs]).f ...

  5. PeakMonitor Quark

    ... mChannels); peaks = Array.fill(target.numChannels, 0); this.prInit; all.put(bus.index, this); // so OSCresponder can find me updater = Routine({ // first get the results from the last period // then reset the Peak ugen immediately after -- ...

  6. PeakMonitor Quark

    ... mChannels); peaks = Array.fill(target.numChannels, 0); this.prInit; all.put(bus.index, this); // so OSCresponder can find me updater = Routine({ // first get the results from the last period // then reset the Peak ugen immediately after -- ...

  7. p_choose Quark

    ... ,48,64,128 ].collect({ |n| UPatDef( n, { |unit, vals, histSize = 0, seed| { var index, size, arr, nn; thisThread.randSeed = seed.next.asControlInput; arr = (..n-1).scramble; loop { index = arr.removeAt( histSize.next.asInt rrand: (n-1).asIn ...

  8. AssemblageFx Quark

    ... , ndefArr, ndefCS, arr1, arr2, arr3, arrSize, filterInfo, setArr, setTag, filterIndex, startNdefs, filterSpecs, trackTags, convString, routArr1, replaceString, cond, bufIndex, bufFunc, ndefNumChan, ndefSpace, routInd; //still some work to d ...

  9. UdefListView Quark

    ... gories = []; Udef.all !? { |all| all.keys.asArray.sort.do({ |key| var category, index, udef; udef = all[ key ]; category = udef.category; index = categories.indexOf( category ); if( index.isNil ) { categories = categories ++ [ category, [ u ...

  10. ItemsSpec Quark

    ... ( spec.map( inval ).asInteger ); } // from string to number unmap { |inval| var index = items.indexOfEqual( inval ); if ( index.notNil ){ ^spec.unmap( index ).round(1/(items.size - 1)); }; ^nil; } asSpec { ^this; } warp_ { |argWarp| spec.wa ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow