Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (80) Code (4) Doc (15) Help (4) Quark (57) SCDoc ↗ Forum ↗ Google ↗
  1. README Quark

    ... ition(filePath)) // send file var stream = fs.createReadStream(filePath) stream.pipe(res) onFinished(res, function () { destroy(stream) }) }) ``` ## Testing ```sh $ npm test ``` ## References - [RFC 2616: Hypertext Transfer Protocol -- HTTP ...

  2. README Quark

    ... n onRequest(req, res) { var stream = fs.createReadStream('package.json') stream.pipe(res) onFinished(res, function (err) { destroy(stream) }) }) ``` ## License [MIT](LICENSE) [npm-image]: https://img.shields.io/npm/v/on-finished.svg [npm-ur ...

  3. README Quark

    ... onst duplex = WebSocket.createWebSocketStream(ws, { encoding: 'utf8' }); duplex.pipe(process.stdout); process.stdin.pipe(duplex); ``` ### Other examples For a full example with a browser client communicating with a ws server, see the exampl ...

  4. MP3 Quark

    MP3 Read an MP3 file or stream, or write an MP3 file (can also read Ogg) This class is a wrapper for the *nix command-line tools curl and lame , making it easy to access MP3 files and MP3 (shoutcast/icecast) internet streams. This implies t ...

  5. Participation Quark

    ... ng; ^str.find("unixCmd").isNil and: { str.find("File").isNil } and: { str.find("Pipe").isNil } and: { str.find("Public").isNil } } // lookup findKeyForAddr { arg addr; everybody.keysValuesDo {|key, val| if(val == addr) {^key } }; ^nil } // ...

  6. MP3 Doc

    MP3: Filter: Description Class methods new lamepath curlpath readToBuffer Inherited class methods Instance methods start fifo playing stop restart finish Inherited instance methods Examples Classes (extension) | Libraries > MP3'>MP3 MP3 Ext ...

  7. NMLRelays Quark

    ... nixCmd").isNil and: { textArchive.find("File").isNil } and: { textArchive.find("Pipe").isNil } and: { textArchive.find("systemCmd").isNil } } put {|key, value| value.checkCanArchive; // at least this warns if(acceptEvents || value.isKindOf( ...

  8. kraken Quark

    ... tl for the kraken ( MKtl.all.kraken.free; MKtl( \kraken, NTMI.kraken.desc ); // pipe serial input data into the kraken MKtl // do valueActions in MKtl only when values changed: MFdef(\kr_buts).add(\store, { |rawvals| var krakButs = MKtl(\kr ...

  9. Order-of-execution Help

    ... ht as roughly analogous to sends, busses, or submixes on an analog mixer, or as pipes allowing one to route "flowing" signals. If a synth is connected to a bus at a certain point (thus "flowing" into it) a synth taking the signal from the s ...

  10. 03. GeoGraphyAudio Quark

    ... ew ; server.doWhenBooted({ // load a buffer for all the files in samplePath p = Pipe .new( "ls -R" + samplesPath, "r" ) ; l = p.getLine ; while({l.notNil}, { case { l.contains( "/" ) } { samplesPath = l.split($:)[0] } { (l.contains( "/" ).n ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow