-
... eCollection { miSC_isKeysAndValues { |requiredKeys| ^this.size.even and: { this.select({|x,i| i.even }).every({|x| (x.isKindOf(Symbol) || x.isKindOf(String)) && (requiredKeys.isNil or: { requiredKeys.includes(x.asSymbol) }) })} } miSC_isPos ...
-
... .setSpec( \a, UAdaptSpec() ) .setSpec( \b, UAdaptSpec() ) .category_( 'pattern_selection' );
-
... b = 1.0, crossfade = 0.5| (a * (1-crossfade)) + (b * crossfade) }) .category_( 'selection' ) .mappedArgs_( [ \a, \b ] );
-
... ookupButton(\cmdR).fixedWidth_(40); }; OSCFunc({|msg| var keycodes= msg[3][2..].select{|x| x>0}; var modifiers= msg[3][0]; //detect modifiers like shift etc { codeTextString.string= modifiers.asString+keycodes; infoTextString.string= ""; ro ...
-
... ormatURL( url ), wfsPath ); }; } wfsPath { ^all[ url ]; } draw { |drawMode = 0, selected, pos, showControls = false, pixelScale = 1| if( this.wfsPath.notNil ) { this.wfsPath.draw( drawMode, selected, pos, showControls, pixelScale ); }; } ur ...
-
... tandardizePath; if( path.isFolder ) { ^FileSystemType( (path ++ "/*").pathMatch.select( _.isFolder ).collect({ |item| item.standardizePath.absolutePath( path ++ "/" ) }) ); } { ("Path" + path.pad($') + "doesn't exist (yet)").postln; ^FileSy ...
-
/* FILENAME: SCMIDIInNoteRangeView DESCRIPTION: Select a MIDIIn source AUTHOR: Marinus Klaassen (2012, 2021Q4) EXAMPLE: m = SCMIDIInNoteRangeView(noteOnAction: { |...args| args.postln; }, noteOffAction: {|...args| args.postln; }).front; a = ...
-
... wWidth, aWindowHeight ; // TODO: should be taken into account for ne and nv var selected, key; // for mouse binding var a, b, orient; //for GeoListener initview graph = aGraph ; runner = aRunner ; geoListener = aGeoListener; runner.addDepen ...
-
... d), { this.tail.collect(f) }) } do{ |f| f.(this.head); this.tail.do(f); ^Unit } select { |pred| ^if( pred.(head) ) { LazyListCons( head, { this.tail.select(pred) } ) } { this.tail.select(pred) } } //can't use ++ with LazyListEmpty append { ...
-
... delta) || (absdif(current, new) < delta) ){Some(new)}{None()} } <%> eSig <@> e).selectSome }; var outES = es.collect(checked).mreduce; outSig = outES.hold(0.0); outES }; //FRP /* Notes: The logic is essentially separated into two parts, the ...