ChordCrafter powered by ChatGPT API is a web application for music creators and performers that generates chord progressions based on user-defined parameters and prompts. It utilizes OpenAI's ChatGPT API to create musically interesting and harmonically rich chord progressions suitable for various complexity levels, keys, tempos, and lengths.
To set up and run ChordCrafter locally, follow these steps:
- Clone the repository:
git clone https://github.com/oguchi22/ChordGPT
- Change to the project directory:
cd chordgpt
- Install the required dependencies:
yarn install
- Set up your
.env
file
- Copy
.env.example
into.env
and add your OpenAI API key and model name - Your
.env
file should look like this:
REACT_APP_OPENAI_API_KEY=your_api_key_here
REACT_APP_OPENAI_API_MODEL=gpt-3.5-turbo
- Start the development server:
yarn start
Open your web browser and navigate to http://localhost:3000 to use the application.
- Generate chord progressions based on complexity level, key, tempo, and length
- Play and download generated chord progressions as MIDI files
A live demo of ChordCrafter is available for demonstration purposes. You can try out the application and see it in action by visiting the following link:
Please note that the demo version is intended for demonstration purposes only and may be stopped without notice.