An open API service indexing awesome lists of open source software.

https://github.com/sthephanshinkufag/bytebeat-composer

Bytebeat player with a collection of many formulas from around the internet.
https://github.com/sthephanshinkufag/bytebeat-composer

audio bytebeat chiptune generative-music js oscilloscope player sound visualizer waveform

Last synced: about 2 months ago
JSON representation

Bytebeat player with a collection of many formulas from around the internet.

Awesome Lists containing this project

README

          

# bytebeat-composer
Live editing algorithmic music generator with a collection of many formulas from around the internet.

Bytebeat Composer: https://dollchan.net/bytebeat/

Discussion threads: https://dollchan.net/btb/

![Sierpinski triangles](https://github.com/user-attachments/assets/f8811437-c0d5-4f64-9ead-2fd621c18bb8)

## Compilation

1. Install Node.js
2. Run with npm:
```
git clone https://github.com/SthephanShinkufag/bytebeat-composer.git
cd bytebeat-composer
npm install
npm start
```
3. Compiled scripts will be created in the `/build` directory.

4. Access to the site is provided through the `index.html` in the root directory.

## Collection of songs

Songs lists are stored in JSON format, compressed with GZIP in `/data/library/*.gz` files.

Songs codes larger than 1KB are stored in `/data/songs/*/*.js` files.

To maintain your own library of songs:

1. Create a MySQL database on your server.
2. Set up PHP with the MySQLi extension on your server.
3. Copy `settings.default.php` to `settings.php` in the root directory.
4. Configure `settings.php` with your database settings.
5. `chmod` write permissions to the `/data` directory.
6. Go to your Bytebeat Player page > "Settings" section > "Manage library" link.
7. Log in using the admin password you set in `BYTEBEAT_ADMINPASS` in `settings.php`.
8. The management panel is now available.

The following management functions are provided:
- "Migrate to database" button – to fullfill your database with songs from `/data` library files.
- "Make library files" button – to generate `/data` library files from your database.
- "Add a song" button – opens a form to add a new song.