Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    + ColPen { *asSVGGroup { |clear = true, inCmds, index = 0, inTransform| var group, currentColor = Color.black, currentFillColor, currentWidth = 1; var currentPath, currentTransform, np, nt, cStart, cEnd; var font; font = Font.default ?? { F ...

  2. controlIndex Quark

    // controlIndex.sc - (c) rohan drape, 2004-2007 + OutputProxy { controlIndex { var counter = 0, index = 0; this.synthDef.children.do({ arg ugen; if(this.source.synthIndex == ugen.synthIndex, { index = counter + this.outputIndex; }); if(ugen ...

  3. OFX_Chain Quark

    ... for every slotsInUse, compare old vs new slots: // if active slot stays at its index, leave it running // if not, remove it at old index // and if it is in the new slotNames, add it again at its new index slotNames_ { |argSlotNames| slotNa ...

  4. SCMMIDIInSelectorView Quark

    ... ult = Dictionary(); result[this.name.asSymbol] = proxy; ^result; } update { var index; this.setErrorMessage(nil); popupMenuMIDIIns.items = midiIns.keys.asArray.sort; popupMenuMIDIIns.items do: { |item, i| if( item == selectedMIDIInName, { i ...

  5. Purno Quark

    ... pArray, prevItem; repeats.value(inval) * list.value(inval).size do: { var item, index; if (tempArray.size == 0, { tempArray = list.copy; }); // While new item is the same as the previous value or nil, select randomly a new element from the ...

  6. UModDict Quark

    ... } add { |mod| // replace any mod with this key, or add new if not available var index; index = mods !? _.detectIndex({ |item| item.key === mod.key }); if( index.isNil ) { mods = mods.add( mod ); } { mods[ index ].dispose; mods[ index ].disc ...

  7. LaTeX Quark

    ... true to cycle through shades, or false, or a function that translates the bar's index to a shade number (numbers 1 through 8). LaTeX .barChart({100.0.rand}.dup(10).collect{ |item, index| (( "Item" +index) -> item) }, precision: 3); LaTeX .b ...

  8. PmaskList Quark

    ... es range by a external shape. AUTHOR: Marinus Klaassen (2012, 2021Q3) TODO: The index pattern is a fixed beta pattern generator. This needs to be made configurable. EXAMPLE: a = PmaskList((0,2..12),Pwhite(0,1.0),Pwhite(0,1.0),1,1).asStream; ...

  9. MultiFileWriter Quark

    ... L license, version 2 or higher */ // writes multiple files to disk, // keeps an index file of the files written // and zips individual files or bundles together at request // to limit file size. // uses gzip and tar for zipping and bundling ...

  10. RadiclesCmdsBase Quark

    ... d types"); cW.add(\mod, [\str, \str, \str, \str], {|str1, str2, str3, str4| var index, ndef; if(str2.asString.contains("hid"), { if(HIDMap.hidNodes.notNil, { index = HIDMap.hidNodes.flop[0].indexOfEqual(str2.cs); if(index.notNil, { ndef = H ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow