Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2094) Code (114) Doc (526) Help (153) Quark (1294) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. SoundFile Help

    ... 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 ...

  2. SerialPort Help

    ... 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 ...

  3. Float Help

    ... 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 ...

  4. CSVFileReader Help

    ... 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 ). ...

  5. FileReader Help

    ... 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 ). ...

  6. Synth-Definition-File-Format Help

    ... 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 ...

  7. Dpoll Help

    ... 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: ...

  8. IdentityBag Help

    ... 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 ...

  9. Tracing Processes Help

    ... 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 ...

  10. PdefGui Help

    ... // 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 ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow