-
... al| sliders[index].value = val; module.theta[index] = val * 2 - 1; module.theta.postln; }; w.layout = h; w.front; h.add( twod = Slider2D().action_({ |v| xsl.do { |i| update.(i, v.x) }; ysl.do { |i| update.(i, v.y) }; }); ); sliders = module ...
-
... ) verbose_ ( level ) The higher the verbosity level, the more messages will be posted about what is going on. This is useful for debugging the network connections. 0 - no posts, 1 - errors/warning messages, 2 - all incoming osc messages, e ...
-
... em; min = this.collect(_.minItem).minItem; valRange = max - min; [min,valRange].postln; chans = this.size; colors =( (0..chans - 1)/chans ).collect { | h | Color.hsv(h + hue * range mod: 1 ,saturation, value) }; win = GUI.window.new(name ? ...
-
... ples: z = StoredList(\myTestID); // a storedList has these internal items: z.id.postcs; // this come from an ndef name z.list; // add two named settings: z.add(\base, [\amp, 0.25, \freq, 300]); z.add(\var1, [\amp, 0.50, \freq, 600]); // the ...
-
... uplicates).read(soundFilePath, labelFilePath) } ); ~labels.dict.keys.do { |x| x.postln }; "" // post all label names, they are symbols x = ~labels.at('difference'); // returns an event (a copy of the original) x.play; // play the event x.us ...
-
... long. // __________________________ // inspired by http://sctweets.tumblr.com/post/8379573991/sinosc // (http://soundcloud.com/rukano)
-
... d = GeneralHID .deviceList; // Check which devices have been found: GeneralHID .postDevices; // Pick the 6th device and open it and create an instance of it: a = GeneralHID .open( d[5] ) // Get info on the device to see if it is the right o ...
-
... \add ); if( this.verbose ) { "% :: added state\n\tnew size: %)\n\tmessage: %\n".postf( thisMethod.asString, history.size, msg ); }; } undo { |num = 1| var obj; if( (num + current).exclusivelyBetween( -1, history.size ) ) { current = num + c ...
-
... \add ); if( this.verbose ) { "% :: added state\n\tnew size: %)\n\tmessage: %\n".postf( thisMethod.asString, history.size, msg ); }; } undo { |num = 1| var obj; if( (num + current).exclusivelyBetween( -1, history.size ) ) { current = num + c ...
-
... ine which is managing the process will carry on in the background. A message is posted (and optionally, a function evaluated) when the processing is complete. The first three parameters must be specified: inputpath - Path pattern for input ...