-
... ; var view = super.new(parent, bounds); view.onClose = { view.object.removeDependant(view) }; if (type === \source or: (type === \both)) { view.beginDragAction = { view.object }; }; ...
-
... ifications from the server can help you. For reading, you can get the Buffer object from Buffer.cachedBufferAt (and thereby determine the path that was read). If you save the Buffer in your own collection, .copy the buffer (so that you c ...
-
... me to this technique for code structuring which involves [using Environments as object prototypes](http://bit.ly/LAFfEg) and closures. sclang is cool ) // let's say there is a directory "pat" with *.scd files where each file contains, for e ...
-
... te ) } ); switch.refresh }; switch.addUniqueMethod( \bindFunction, { | object, function | binded_function = function } ); switch.addUniqueMethod( \updateStates, { | object, new_states | states = new_states; if( current_st ...
-
... nvir) } { value } }; newEnvir.know = true; // we want a prototype object style environment };
-
... ve ratio is last element octaveRatio = degrees.last / 12 + 1; // a Tuning object requires a leading 0 and omits the octave jump degrees = [0] ++ degrees.drop(-1); // create a Tuning object tuning = Tuning(degrees, octaveRatio, ...
-
... // Custom methods : multi_button_view.addUniqueMethod( \bindFunction, { | object, function | binded_function = function } ); multi_button_view.addUniqueMethod( \updateStates, { | object, new_states_array | states = new_sta ...
-
... s, and should respond to user action by updating the model. - Controller: An object that receives notifications from the model and communicates with the view. This SimpleController object is looking for '\source' notifications, and chang ...
-
... rn; } } // Get all the sub folders recursively // @param path PathName object // @return an Array of PathName objects *getSubFolders { | path | var result = [path]; result = result ++ path.folders.collect{ |p| ...
-
... . // show message array e.oscMsgs.do{|osc| osc.postln}; "" ( // write object file f = File("~/tmp/oscRecorderOut.txt".standardizePath,"w"); f.write(e.oscMsgs.asCompileString); f.close; // ) // write csv file FileWriter. ...