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/
Compilation
- Install Node.js
cdto the directory you wish to install Bytebeat Composer.- Run with npm:
git clone https://github.com/SthephanShinkufag/bytebeat-composer.git
cd bytebeat-composer
npm install
npm start
- Compiled scripts will be created in the
/builddirectory. - Access to the site is provided through the
index.htmlin the root directory.
Configuration
- Create a MySQL database on your server.
- Set up PHP with the MySQL PDO Driver on your server.
- Copy
settings.default.phptosettings.phpin the root directory. - Configure
settings.phpwith your database settings. chmodwrite permissions to the/datadirectory.- Go to your Bytebeat Player page and press the "Manage" button.
- Log in using the temporary admin password you set in
BYTEBEAT_ADMINPASSinsettings.php(the username can be anything). - Once you logged in, enter your username and new password to create a premanent admin account in the database.
- Erase
BYTEBEAT_ADMINPASSwith '' insettings.php. - The management panel is now available.
Management panel
The following management functions are provided:
- "Add a song" button – opens a form to add a new song.
- "Make library files" button – to generate
/datalibrary files from your database (admin functon). - "Make database" button – to fullfill your database with songs from
/data/all.gzlibrary (admin functon). - "Manage users" button – to add or delete moderators who can add, edit, and delete songs.
- "Change password" button – to change your account password.
- "Logout" button.
Collection of songs
Currently, the Bytebeat Player comes with an empty library of songs. You can create your own library by adding songs via the manager.
Songs library is stored in JSON format, compressed with GZIP in /data/library/all.gz file.
Songs codes larger than 512B or longer than 8 lines will be stored stored in /data/songs//.js files.