-
... ex+1] = gate; }, { args = args ++ [\gate, gate]; }); }); } // maybe make this a dictionary sometime argAt { |key| var i; if(args.isArray) { if((i = args.indexOf(key)).notNil) { ^args[i+1] } }; ^nil } argPut { |key, value| var i; if(args.isA ...
-
... s, Buffer, "/satie/loadSample created a Buffer name % inside Satie.audioSamples dictionary" ) } } test_bufnum_arg_createSource { var result; addr.sendMsg('/satie/loadSample', 'foo', a11wlk01); server.sync; addr.sendMsg('/satie/scene/createS ...
-
... dex+1] = gate; }, { args = args ++ [\gate, gate]; }); }; } // maybe make this a dictionary sometime argAt { |key| var i; if(args.isArray) { if((i = args.indexOf(key)).notNil) { ^args[i+1] } }; ^nil } argPut { |key, value| var i; if(args.isA ...
-
... res var squareSize; // score manager var scoreManager; // Preferences settings (Dictionary) var preferences; // module for playing sounds var soundModule; // boolean indicating whether the game is paused var isPaused = false; // MIDIdef to ...
-
... ayout.startRow; bounds = bounds ?? {layout.innerBounds}; w = 1000; nodeColors = Dictionary.new; error = Color(1.0, 0.0, 0.08955223880597); nav = Slider(layout,w@20); this.updateNav; nav.action = { currEvent = (nav.value * navMax).round(scro ...
-
... yQueue.new, // faster than storing indices in an array minIndicesDict = IdentityDictionary.new; offsets.isNil.if { offsets = 0!(items.size) }; // if Sieve is passed adjust offset items.do { |item, i| item.isKindOf(Sieve).if { // set to nil ...
-
... r.new.init(parent, bounds); } init {|argParent, argBounds| lst= List.new; //one dictionary in here for each level tree= (); currentPath= []; currentLeaf= []; hiliteColor= QtGUI.palette.highlight; timer= 0; timer2= 0; pop= PopUpMenu(argParen ...
-
... adAnalysisFiles { |result, paths, which, maxDataPoints = (1000)| // result is a dictionary, data is added paths.do { |resultpath, i| var dataFile = SoundFile.new; var numDataPoints, numOutputChannels, data; dataFile.openRead(resultpath); if ...
-
... herited from superclass RoundView ). Skinning works in varous ways. A skin is a Dictionary or Event containing keys and values for each property to be set. One is to set a skin via the skin method: ( w = Window ( "RoundButton skins" ).front ...
-
... | paramView.refreshScreenState(); }; } getState { |skipProjectStuf| var state = Dictionary(); state[\type] = "PatternBoxBindView"; state[\title] = title; state[\parallelLayers] = parallelLayers; state[\paramViewStates] = paramViews collect: ...