-
/* Paper size and margins: // remove header (and Music engraved note at bottom) \header { tagline = ##f composer = ##f } \paper { paper-width = 7\cm paper-height = 7\cm top-margin = 0.1\cm left-margin = 0.1\cm } */ LPObj { classvar <>lilypo ...
-
... ue }{ 2 }; ((reg == \var) || (mod.miSC_isPseudoCaps)).if { forBy(0, saveData[0].size - 2, 2, {|i| ii = i.div(2); (saveData[0][i] == symbol).if { (((symbolIndex == ii) && (reg == \var)) || (mod.isAlt)).if { arrayIndex.isNil.if { varCtrSlider ...
-
... nter); } center { ^WFSPoint( *this.asArray.flop.collect{ |item| item.sum / item.size } ); } x { ^this.collect( _.x ); } y { ^this.collect( _.y ); } z { ^this.collect( _.z ); } asEnvViewInput { |autoScale = false, fromRect | var new; if(auto ...
-
... [a] } //Monoid |+| { |b| ^this ++ b } *zero { ^[] } mreduce { |class| ^if(this.size == 0) { class.zero } { this.inject(this.at(0).class.zero, _ |+| _ ) } } //Monad related sequenceM { |monadClass| ^if(this.size == 0 ) { //with an empty lis ...
-
... ); if(outletArea.containsPoint(x@y),{ outlets = box['outlets'] ? []; if(outlets.size > 0,{ outlet = ((x - outletArea.left).asFloat / (outletArea.width.asFloat / outlets.size)).floor.asInteger; draggingOutlet = [outlets[outlet]['beginDrag']. ...
-
//Batuhan Bozkurt 2009 GAPmatch { var <gaInstance, <>synthDef, <poolSize, <>sampleLoc, <>synthParams, <>paramSpace, <numThreads, <>tLatency, <servers, <defaultBuffer, <curGeneration; var gui; var <soundBufs, playerBusses, <sOutBusses, respo ...
-
... .objects.do{|o| var p, x, y; p= o.loc.asPoint; Pen.addOval(Rect.aboutPoint(p, o.size, o.size)); x= sin(o.phase)*o.size*o.amp; y= cos(o.phase)*o.size*o.amp; Pen.moveTo(p); Pen.lineTo(p+Point(x, y)); x= sin(o.phase2)*o.size*o.amp2; y= cos(o.p ...
-
... ++ scInPort ++ ' / Out - ' ++ scOutPort).postln; (Char.tab ++ 'Pads - ' ++ pads.size).postln; (Char.tab ++ 'Horizontal Sliders - ' ++ hSliders.size).postln; (Char.tab ++ 'Vertical Sliders - ' ++ vSliders.size).postln; (Char.tab ++ 'Long Sli ...
-
... .objects.do{|o| var p, x, y; p= o.loc.asPoint; Pen.addOval(Rect.aboutPoint(p, o.size, o.size)); x= sin(o.phase)*o.size*o.amp; y= cos(o.phase)*o.size*o.amp; Pen.moveTo(p); Pen.lineTo(p+Point(x, y)); x= sin(o.phase2)*o.size*o.amp2; y= cos(o.p ...
-
... IS VERY SLOW and uses a lot of system resources Arguments: buffer An FFT Buffer size The size of the Bufer in Frames cutoff The lower cutoff amplitude for a bin. Defaults to -60 dB highInterval The largest interval to compute in cents. For ...