-
... and sampleRate. does not set the headerFormat and sampleFormat. inPathname - a String specifying the path name of the file to read. readData(rawArray) Reads the sample data of the file into the raw array you supply. You must have already c ...
-
... sThread // write multiple bytes to the device // collection may be Int8Array or String p.putAll( "whaddayawant" ); p.putAll( Int8Array [13, 10]); // you can set an function which will be evaluated if the port gets closed (maybe unexpectedly ...
-
... t pattern of high 32 bits of the 64 bit double precision floating point value asStringPrec(precision) Returns a string representation of the number, with the desired precision (i.e. number of significant figures). // example: pi pi.asString ...
-
... e, with several commas,,,, in line 3 " ); f.close; ) // open file, read and put strings into array, close file. x = CSVFileReader .read( "CSVReadTest.sc" ).postcs; // can skip empty lines: x = CSVFileReader .read( "CSVReadTest.sc" , true ). ...
-
... e more with several blanks in line 3 " ); f.close; ) // open file, read and put strings into array, close file. x = FileReader .read( "FileReaderTest.sc" ).postcs; // can skip empty lines: x = FileReader .read( "FileReaderTest.sc" , true ). ...
-
... int8 is an 8 bit integer. a float32 is a 32 bit IEEE floating point number. a pstring is a pascal format string: a byte giving the length followed by that many bytes. File Format a synth-definition-file is : int32 - four byte file type id ...
-
... UGen superclass: DUGen *new(in, label) in ugen to poll vaues from label a label string run active if 1, inactive if 0. can be a demand ugen (default: 1) the print-out is in the form: label: value block offset: offset. structurally related: ...
-
... arg item, i; item.postln }); Difference between Bag and IdentityBag: // the two strings are equal, but not identical "something" == "something" ; // true "something" === "something" // false a = Bag .new; a.add( "something" ); a.add( "somet ...
-
... sting several values, some more verbose posts can be useful. // postf formats a string and inserts values for %-characters. // here separate statements are needed. ( var n = 8, x = 0; (1..n).do { |num| x = x + num.squared; "num: % num-squar ...
-
... // with an envirgui for 3 items Pdef ( \a ).set( \lofreq , [1, 10], \str , "someString" , \oops , \oneSymbolTooMany ); Pdef ( \a ).clear; Pdef ( \a ).envir.clear; g.close; ( // put it in an existing window - margin is 0@0 w = Window ("my wi ...