-
... e); ignoreReplaceAll = false; } prevTokens { ^diff.prevTokens.collect { |x| x.asSymbol } } resendSynths { |names| // names are symbols var oldSynthList = synthList.copy; var oldSynth; // we use the one-to-one equivalence of synths and token ...
-
... level StaticText( vws[ \comp ], 35 @ viewHeight ) .string_( if( spec.isKindOf( Symbol ) ) { spec ++ " " } { "level " } ) .align_( \right ) .font_( font ) .applySkin( RoundView.skin ); vws[ \level ] = EZSmoothSlider( vws[ \comp ], (bounds.w ...
-
... if (strings[1]=="spatdif" and:{strings[2]=="source"}) { var name = strings[3].asSymbol; if (receiverFunctions.at(name).isNil) { //create responders this.addReceiverFunction(name); thisProcess.addOSCRecvFunc(receiverFunctions.at(name)); }; i ...
-
... ; // empty array is how to indicate a rest to a voicer // will update later for symbols e.g. \rest b.insert(0, SequenceNote(\rest, overflow, 0.1, 0.5)); }); }); // more efficient to call asArray first on the outer list, saves an object resu ...
-
... ( data.first.isKindOf( SimpleNumber ) ){ type = 0; }; if ( data.first.isKindOf( Symbol ) or: data.first.isKindOf( String ) ){ type = 1; }; if ( type.isNil ){ type = 0; }; // proper error catching later ^type; } setData{ |id,data| var ret = ...
-
... if(found[0] == 0 or: { regexp[found[0]-1] != $\\ }) { key = found[1].drop(1).asSymbol; if(~tokens[key].notNil) { // replace only one instance: before match ++ replacement ++ after match regexp = "%%%".format( if(found[0] > 0) { regexp[.. f ...
-
... level StaticText( vws[ \comp ], 35 @ viewHeight ) .string_( if( spec.isKindOf( Symbol ) ) { spec ++ " " } { "level " } ) .align_( \right ) .font_( font ) .applySkin( RoundView.skin ); vws[ \level ] = EZSmoothSlider( vws[ \comp ], (bounds.w ...
-
... cArr(\spaceMaster); a.getSpec(\master, \volume); a.outputSettings.includes("".asSymbol); a.bus(1, 1, 0.4); // a.bus(1, 1, dirIn: false); a.routingMap.dopostln ~in = \bus3; ~arr = []; a.outputSettings.do{|item, index| if(item == ~in, {~arr = ...
-
... event is created) Arguments: key An identifier for the proxy. Usually, it is a Symbol . The key transparently accesses the global IdentityDictionary . item An object for (re)defining the source of the proxy. If nil , the proxy is returned ...
-
... ; // empty array is how to indicate a rest to a voicer // will update later for symbols e.g. \rest b.insert(0, SequenceNote(\rest, overflow, 0.1, 0.5)); }); }); // more efficient to call asArray first on the outer list, saves an object resu ...