generative.fm
A platform for playing generative music in the browser.
Overview
Audio
This site uses Tone.js to play audio in the browser through the Web Audio API.
Samples
Most of the samples are provided by the Versilian Studios Chamber Orchestra 2 Community Edition and the Versilian Community Sample Library. Other samples provided by the Sonatina Symphonic Orchestra. The singing bowl samples were provided by Kasper. Lo-Fi Hip-Hop Drum Kit samples are from ItsLucid. All other samples were specially recorded for the site. Sample files can be found in the generative-music/samples.generative.fm repository.
Music
Source code for the music generators can be found in the generative-music/pieces-alex-bainter repository.
Issues and Feedback
Problems or general feedback can be reported here on Github or by sending an email to alex@alexbainter.com. Thanks!
Installation
You will need Node.js installed on your machine.
- Clone to your machine.
- Navigate to the project's directory.
- Run
npm i
. - Run
npm start
. - Navigate to localhost:9999.
Local Sample Files
To play music locally, first you need to follow these instructions:
- Clone generative-music/samples-alex-bainter to your machine.
- Follow the instructions for building the sample files.
- Follow the instructions for serving the sample files locally with Docker.
With the sample files served on your local network, you should be able to play the pieces locally.
Contributing
See CONTRIBUTING.md.