-
... var obj; obj = vw.object; if( obj.class == Function ) { if( obj.def.sourceCode .select({ |item| [ $ , $\n, $\r, $\t ].includes(item).not }) .size > 2 ) { vws[ \val ] = obj; vws[ \setLabel ].value; action.value( vws, vws[ \val ] ); } { vws[ ...
-
... e_(1) .showIndex_(true); ); /* // not used yet - will be used when nodes can be selected tabletViews.add( SCTabletView(win, Rect(bounds.left, bounds.top + ((bounds.height/numChannels)*i), bounds.width, bounds.height/numChannels)) .canFocus_ ...
-
... + 1).collect({ |i| ((i * division) + (0,(2**i)..division-1)).asInteger }).flat.select(_ >= minSize); if( WFSSpeakerConf.default.notNil ) { WFSSpeakerConf.default.arrayConfs.collect(_.n).do({ |item| if( sizes.includes( item ).not ) { sizes ...
-
... } prPrepareUnit { |unit| var prepareThese; prepareThese = unit.valuesToPrepare.select({ |item| item.isKindOf( UMap ); }); prepareThese.do({ |umap| if( umap.subDef.isKindOf( UPatDef ).not ) { this.prPrepareUnit( umap ); }; }); prepareThese. ...
-
... 'aiff', 'sd2' ]; dirName = this.standardizePath; files = dirName.folderContents.select({ |item| extensions.includes( item.extension.asSymbol ); }); files = files.collect({ |item| item[ (dirName.size + 1) ..]; }); files.do({ |item| if( newDi ...
-
... { (0 .. descFolders.size-1) }; foldersToLoad = descFolders[folderIndex.asArray].select(_.notNil); fileExt = fileExt ? descExt; foundPaths = foldersToLoad.collect { |dir| (dir +/+ filename ++ fileExt).pathMatch // add depth of one folders // ...
-
... ions.count { |s| s < neutralThreshold } / saturations.size; chromaticHues = hsl.select { |triple| triple[1] >= neutralThreshold }.collect(_[0]); hueSpread = if(chromaticHues.size <= 1) { 0 } { var sorted = chromaticHues.sort; var gaps, maxG ...
-
... ow error if you free twice env = nil; } // make the Proto act like an object // selector must be implemented as a func assigned to an environment var // named for the selector // if that key returns nil, object does not understand! // messa ...
-
... +/+ synthDef.name; controls = synthDef.desc.controls; usefulControls = controls.select {|controlName, i| var ctlname; ctlname = controlName.name.asString; (ctlname != "?") && (synthDef.desc.msgFuncKeepGate or: { ctlname != "gate" }) }; newN ...
-
... ous control of different synths. // the buttons on the shoulders of the gamepad select which synths the controls go to. // two other buttons start and stop the synths // prepare the sound sources: s.boot; ( Ndef( \sound1, { var freq = \freq ...