Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... es: ( test: { |code, event| code.quote.postln; }, lisp: // code is the incoming string, event is the event for parameters and output {|code, event| var stack, char, op, i = 0, j, res, size = code.size; while { i.notNil and: { i < size } } { ...

  2. IBVA Doc

    ... |...args| args.postln}, rate: 120, cutoff: 0.3); a.close; ⧉ ✔ Arguments: port a String with the name of the serial port. by default this is "/dev/tty.BlueVAS_H-Data" action a Function that is evaluated each time new sensor data arrives. the ...

  3. TabFileReader Doc

    ... line 1 and then some more in line 3 " ); f.close; ) // open file, read and put strings into array, close file. x = TabFileReader.read("TabDelTest.sc").postcs; // can skip empty lines: x = TabFileReader.read("TabDelTest.sc", true).postcs; / ...

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

  5. percOrc4 Quark

    ... abs*3, hammerEnv); // 3000 Hz was chosen by ear.. CombL.ar(hammer, // used as a string resonator delayTime, // max delay time delayTime, // actual delay time decay) // decay time of string })); },[ nil,nil,nil,nil,[StaticSpec(0.005,12)] ],\ ...

  6. panflute sampler by nicolaariutti (nicolaariutti) Code

    ... ~samples_path = "path-to-the-samples-folder"; // following global contains a string which is contained in all the samples names ~file_name_body = "__timohanes__pan-pipe-"; // fill the dictionary with ordered data from the samples ...

  7. sample sched simple test case Quark

    ... ) run this first: Server.program = "cd % && exec ./supernova -U plugins".format(String.scDir.quote); //make sure there are no servers running prior to this //killall scsynth ( ~soptions = ServerOptions() .memSize_(8192*12) .numAudioBusChann ...

  8. SETOMTServer Quark

    ... e following: /mt "set" <numItems> <id> <x> <y> <id> <x> <y> ... the used format String (explained in SETObject ) is then ' _ixy' *new(netaddr, setoClass) netaddr a netaddr, default nil; listening to all. setoClass the Class of the created o ...

  9. child Quark

    ... us, message: message ? ""); var f = File(resultFile, "w"); f.write(res.asCompileString); f.close; ("RADTEST:RESULT " ++ status ++ " " ++ (message ? "")).postln; fork { Server.default.quit; 1.wait; 0.exit }; }; Server.default = Server(\radte ...

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

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow