-
... ue,<>globalAction, winPosition, <value = "default", <>closeOnSelect=true, <>fontSize=15,<toolTip, >arrowSize=6.5, name,level=0, action, window,>borderless=false; *new{|parent, bounds, name = "default",items,showArrow=true| ^super.new.init(p ...
-
... ngth-0.001), { //may choose new phraselength this.newPhraseAccounting; //new cutsize? //subdiv= subdivfunc.value(currphraselength).round(1.0).asInteger; //integers only currform= subdivfunc.value(currphraselength).normalizeSum; //always nor ...
-
... is) } asWFSSpeakerLine { ^WFSSpeakerLine.with(*this) } couldBeWFSPoint { ^(this.size < 4) && { this.every( { |item| item.size == 0 } ) }; } writeWFSFile { |path = "~/scwork/wfsPathsOut.xml", name="example"| var array; array = this.asWFSPath ...
-
... ult = [0, 1, 2].collect({ arg offset; overtones.at((start + offset) % overtones.size) / otonality.at((start + offset) % otonality.size) }); } , { result = [0, 1, 2].collect({ arg offset; utonality.at((start + offset) % utonality.size) / ove ...
-
... ({ |event| event[2] == 'noteOn' }); }; window.userView.gridSpacingV = 1/(events.size.max(1)); if( timeMode == \ticks ) { window.userView.gridSpacingH = 1/( this.length.max(1) / division ); } { window.userView.gridSpacingH = 1/( this.length. ...
-
... = (40 * i); var mv = MView(1.0.rand, w, Rect(left, top, 100, 30)); mv.dict.font.size_(20); mv.dict.backCol_(Color.white); mv.dict.valCol_(Color.black); mv.uv.background_(Color.white); mv.uv.minSize_(60@20); mv.putDict(\myspec, [-2, 2].asSpe ...
-
... w(win, Rect(90, 0, 40, 12)) .font_(GUI.font.new("Helvetica", 9)) .string_("file size:"); fileramview = GUI.staticText.new(win, Rect(130, 0, 28, 12)) .font_(GUI.font.new("Helvetica", 9)) .string_("0"); stereomonoview = GUI.staticText.new(win ...
-
... 1, 0, 0, 0], #[0, 1, 0, 0], [0, 0, c, 0-s], [0, 0, s, c] ]; } render {|dist= 2, size= 100| renderedPoints= vectors.collect{|v| v= v.project(dist); v= v.project(dist); Point(v[0], v[1])*size; }; } draw {|dotSize= 5| renderedPoints.do{|p, i| ...
-
[beginner question] how to transmit parameter value to a function inside a SynthDef by elienaulleau (pictosonic) Code
... #[0], seuil = 0 | var rfreq=0; var i=0; while({ (rfreq==0) && (i < array.size()) }, { if( array[i] >= seuil , { rfreq=array[i]; }, { } ); i = i+1 }); rfreq.postln; if( rfreq == 0, { rfreq=array[array.size()-1] }, { rfreq } ...
-
... ule.def.metadata[\order].reject{|x| x.key==\out}; view= this.prContainer(params.size-1); views= List.new; view.layout= HLayout( *params.collect{|assoc| var k= assoc.key; var v= assoc.value; if(k==\mix, { views.add( RedGUICVSlider( nil, nil, ...