Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2094) Code (114) Doc (526) Help (153) Quark (1294) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. PostOffice Quark

    ... <>addLines = false; classvar <>postfunc; *initClass { lines = List[]; } *add { |string| if (addLines) { lines.add(string) }; postfunc.value(string); } *clear { lines.clear } }

  2. DOMDocument Quark

    ... es of any // other class are either created internally during parsing of an XML-string, // or programmatically through calls on 'DOMDocument.createElement(..)', // 'DOMDocument.createText(..)', etc. // DOMElement - // Represents an XML-tag. ...

  3. initLibraryItems Quark

    ... ; Library.put(\menuItems,\introspection,\classfinder,{ var close=true; Sheet.getString("Search classes...","",{ arg string; Sheet({ |layout| var matches,first; Object.allSubclasses.do({ |class| if(class.isMetaClass.not and: {class.name.asSt ...

  4. GMFaderSlider Quark

    ... / 2 ); }; }; }; if(thisDisplayValue) { this.prDrawValue; }; } prDrawValue { var string; var fontSize; fontSize = min( super.interactionRect.width, super.interactionRect.height ) * thisFontRatio; fontSize = min( fontSize, thisMaxFontSize ); ...

  5. SpatDifLogger Quark

    ... eate receiver function oscRecFunc = { |msg, time| if (log) { var route=msg[0].asString.split($/)[1]; //first word in osc string // filter spatdif messages if (route.isNil.not and:{ route == "spatdif"}) { this.writeLine( msg,time ) }; }; }; ...

  6. RadiclesCmdsBlocks Quark

    ... ymbol)); thisKey = Block.ndefs[thisIndex].controlKeys[num2-1]; modArgs = str2.asString.radStringMod; if(HIDMap.getHIDType(modArgs[0]).notNil, {modifier = \hid}, {modifier = \mod}); Block.modBlk(num1, thisKey, modArgs[0], modArgs[1], modifie ...

  7. modalElectricGuitar Quark

    ... ate sections based on the parts of an electric guitar: It starts with a plucked string made using modal synthesis, and that goes into a single pickup. The pickup's position is modeled in the modal synthesis portion, and the electronic compo ...

  8. SGME_GUIPanel1 Quark

    ... // Acciones de los knobs frequency.action = {|knob| synthiGME.setParameterOSC( string: "/filter/" ++ num ++ "/frequency", value: knob.value.linlin(0,1,0,10), addrForbidden: \GUI, ) }; response.action = {|knob| synthiGME.setParameterOSC( st ...

  9. ProteinBioSynthesis Quark

    ... ; ^tripletDict.findKeyForValue(index); } size { ^genome.size } transcribe { arg string; var codons, size; codons = List.new; size = string.size; (size div: 3).do({ arg i; var triplet, value, j; i = i * 3; j = (i+2).clip(i, size); triplet = ...

  10. clockSync Quark

    ... p, "w" );\ file.write(format( "-------------%-------------\ " , Date .getDate.asString) )\ \;\ \ \ ////////////////////////// GUI /////////////////////////////// \ \ w = SCWindow ( "ensemble" + myName, Rect ( SCWindow .screenBounds.width - ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow