Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.25 KB

File metadata and controls

37 lines (30 loc) · 1.25 KB

Music Code

An Song writing generator. This Application allows AI to write songs through coding syntaxes. And saves the song data to a bin folder. /bin/

How do I use it?

Download the git repository, using GIT.
Run these commands in command prompt to download / Install dependencies.

git clone https://github.com/cassitly/music-code.git
cd music-code
npm run build

Be sure to create the file outside of the repository folder you downloaded.
Then create an javascript file. Name it whatever you like.
Write down this code in the Javascript File:

const { defineApp, appReady } = require("./music-code/app.js");

appReady(); // App Ready runs the file generation
await defineApp(); // Define App allows the generation of the item

Then run the code using NodeJS. This will generate an new song everytime it is ran.

Dependencies

This application requires:
- nodejs@latest For javascript file executions
- npm@latest For nodejs dependencies

NPMJS Dependencies:
- dotenv@latest For GROQ API key intergration
- fs@latest For File generations of the songs
- groq-sdk@latest For GROQ API Interactions
- path@latest For File path joining.