-
... <>addLines = false; classvar <>postfunc; *initClass { lines = List[]; } *add { |string| if (addLines) { lines.add(string) }; postfunc.value(string); } *clear { lines.clear } }
-
... 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. ...
-
... ; 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 ...
-
... / 2 ); }; }; }; if(thisDisplayValue) { this.prDrawValue; }; } prDrawValue { var string; var fontSize; fontSize = min( super.interactionRect.width, super.interactionRect.height ) * thisFontRatio; fontSize = min( fontSize, thisMaxFontSize ); ...
-
... 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 ) }; }; }; ...
-
... 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 ...
-
... 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 ...
-
... // 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 ...
-
... ; ^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 = ...
-
... p, "w" );\ file.write(format( "-------------%-------------\ " , Date .getDate.asString) )\ \;\ \ \ ////////////////////////// GUI /////////////////////////////// \ \ w = SCWindow ( "ensemble" + myName, Rect ( SCWindow .screenBounds.width - ...