Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tootallnate/nodefloyd
An Icecast-compatible server written in NodeJS that streams non-stop "Pink Floyd"!
https://github.com/tootallnate/nodefloyd
Last synced: 4 days ago
JSON representation
An Icecast-compatible server written in NodeJS that streams non-stop "Pink Floyd"!
- Host: GitHub
- URL: https://github.com/tootallnate/nodefloyd
- Owner: TooTallNate
- License: mit
- Created: 2010-12-12T08:27:24.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2011-08-03T03:42:58.000Z (over 13 years ago)
- Last Synced: 2024-12-10T14:05:17.724Z (16 days ago)
- Language: JavaScript
- Homepage: http://n8.io/get-your-floyd-on-node-powered
- Size: 264 KB
- Stars: 55
- Watchers: 6
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
NodeFloyd
=========Here is an example of an [Icecast][]-compliant server written in JavaScript
and [NodeJS][]. The current setup uses nTunes to request and play all the "Pink
Floyd" songs in my iTunes library. The script could be tweaked to stream any
kind of audio data to the Node server. The server is expecting (on _stdin_):* Raw PCM Audio Data
* 2 Channel
* 16-bit samples
* 44,100 samples per second
* Little-endianInstallation
------------I won't bother publishing this simple example to the __npm__ registry, but you
can install a local version to hack on like this:git clone git://github.com/TooTallNate/NodeFloyd.git
cd NodeFloyd
npm link --localYou will also need the external programs `lame` and `oggenc` installed and
visible to your `$PATH`.Usage
-----To launch the server simply invoke the `NodeFloyd` executable (available in
your `PATH` after installation with _npm_), or `./decodeFromNTunes.sh` from
the root directory of the repo.That will launch an HTTP (Icecast) server on port __5555__. Go there on an
HTML5 `` compatible web browser (try your smartphone!).[NodeJS]: http://nodejs.org
[StreamStack]: http://github.com/TooTallNate/node-stream-stack
[Icecast]: http://icecast.org/