Archival Notice: This experimental repository is archived, and there are no plans for any additional development or maintenance. Similar functionality may be added to Generative.fm in the future.
Server-side streaming for music on Generative.fm
- Node.js (v10 or higher) installed
- samples.generative.fm cloned to a directory adjacent to the directory used for stream.generative.fm
- For example, you could have directories structured like this:
generative-music |-- samples.generative.fm |-- stream.generative.fm
- Clone this repository (
git clone https://github.com/generative-music/stream.generative.fm.git
) - Navigate to the new directory (
cd stream.generative.fm
) - Install dependencies (
npm install
) - Start the server (
npm start
)
By default, the site can be accessed at https://localhost:3000, which has links to each piece.
The port can be changed by stopping the server, modifying the value in config.json, and starting the server again with npm start