-
... w('control', in, mul, add) } */ } + Control { *names { arg names; var synthDef, index; synthDef = UGen.buildSynthDef; ///////////////////// if(UGen.outsideSynthDef) { ^this.asUGenNode.names_(names) }; ///////////////////// index = synthDef. ...
-
... item) }; string = arr.asString.replace("[", "").replace("]", ""); arr.do{|item, index| arr2 = arr2.add(item ++ "=" ++ this.defaultArgs[index].cs) }; string2 = arr2.asString.replace("[", "").replace("]", ""); synthDef = "SynthDef(" ++ key.cs ...
-
... Outs { this.startPlayer; 1.0.wait; this.assert( player.children[0].patchOut.bus.index != bus.index, "children should get their own busses, not use bus of the PlayerMixer"); this.stopPlayer; 1.0.wait; } } /* ) a.play; a.addPlayer(Patch(\test ...
-
... ot=12, seriesCycle=20, oneSkip=1, twoSkip=2, inertia=0.3, numNotes=16; var seq, index; index = 5.rand; seq = Pseq( Array.fill(numNotes, { if(inertia.coin, { index = 5.rand }); index }) , inf); Pswitch1([ Pn( Pseries(root, oneSkip, seriesCyc ...
-
... key, modType, spec, extraArgs, func, mul, add, min, val, warp, lag); } modFilterIndex {arg filterIndex, argument, modType=\sin, spec=[-1,1], extraArgs, func, mul=1, add=0, min, val, warp, lag; var filterTag; filterTag = this.getFilterTag(fi ...
-
... ) } *unconvert { arg list; ^this.current.unconvert(list) } *error { arg string, index; Error("conversion failed: " ++ string.insert(index, Char.bullet).quote).throw; } } // a very simple string converter EventScoreReader : StringConverter { ...
-
... moveFade){ this.fadeIn = 0 }; units.do( _.cutStart( delta1 ) ); } } } bounce { |index = 0, path, action, replace = true, single = true| var tempChain, playbackUnit, dur, newAction; var usedBuses; path = path.getGPath.replaceExtension( "aiff ...
-
... <timeStep; var <window, <bounds, <margin, <userView, <overlayView; var <selectedIndex = 0, <currentTimeOffset = 0, currentZoom = 1; var <>passiveModeName = \______passive; var <>backgroundColor, <>foregroundColor, <>activatedColor, <>deacti ...
-
... }; } selectNodes { |function, level = inf| var res; this.deepDo { |node, level, index, key| if(function.value(node, level, index, key)) { res = res.add(node) }; }; ^res } resetAll { |val = 1| this.deepDo { |node|Ê node.values = node.values. ...
-
... width*height); switch(depth, 1, { height.do{|y| var i; cnt= 0; width.do{|x| var index; if(x.mod(8)==0, { i= file.getInt8.bitAnd(0xFF); }); index= i.bitTest(7-(x.mod(8))).binaryValue; data[y*width+x]= palette[index]; }; while({cnt.mod(4)>0}, ...