-
... i = SCImage .new(400@200); // Create a 400x200 pixels SCimage. i.dump; i.free; String to create an image from a local file or from an URL (http://, ftp://, file:///) // Path string i = SCImage .new( "/Library/Desktop Pictures/Ripples Blue. ...
-
... ransition telling Poll to return a value in the signal you want to poll label a string or symbol to be printed with the polled value trigid if greater then 0, a '/tr' message is sent back to the client (similar to SendTrig ) Poll returns it ...
-
... , { "Linux" .postln }, \windows , { "Windows" .postln } ); *ideName - returns a String indicating which IDE the language believes it is running in. (Often this is determined via the "-i" option to the ./sclang executable.) This is determine ...
-
... turns the sample rate of the corresponding server-side buffer. path - Returns a string containing the path of a soundfile that has been loaded into the corresponding server-side buffer. s.boot; b = Buffer .alloc(s,44100 * 8.0,2); b.bufnum.p ...
-
... r_( Color .red(alpha:0.2)) .background_( Color .rand) .value_(0.5) .action_({ c.string_(b.map(a.value).asString) // round the float so it will fit in the NumberBox }); a.action.value; ) // change the stepsize of the slider, selected via a P ...
-
... ray.fill(7, { p.next }); the result is: [ 11, 12, 13, 21, 22, 23, nil ] You can string these together. Every item in the left stream operand is "ornamented" by the right stream operand. p = ( Pseq ([100, 200]) +.x Pseq ([10, 20, 30]) +.x Ps ...
-
... esis management Helper Methods Cross Platform CocoaGUI SwingGUI Description GUI.stringBounds is synchronous is asynchronous returns a Rect with the graphic size of a string. See the example in GUI-Overview for asynchronous use
-
... ml Class Methods *new (filterName, args) filterName - The filter name Symbol or String args - The filter name Symbol or String f = SCImageFilter .new( \CIStarShineGenerator ); f.attributes; // or you can do also Synth like style if you alre ...
-
... newFromFile(path) - as *new , but reads the list in from a text file. path is a string indicating the path of the file. The file must contain a valid SC expression. *play(list, server) - as *new but immediately plays it. (See also the insta ...
-
... required minimum / maximum settings: // the current version as a human readable string Main .version; // check if we are running at least version 3.1 (returns true or false) Main .versionAtLeast( 3, 1 ); // check if we are running version 3 ...