spcoughlin / ChatGPT2midi

🎶 CLI Program for generating chord progressions with ChatGPT
MIT License
52 stars 8 forks source link
chatgpt chatgpt-api midi python

ChatGPT2midi 🎶

A Python program that generates chord progressions with ChatGPT using acheong08's ChatGPT API

Tell ChatGPT what kind of chord progression you want, and you will have a midi file in seconds. I find it fun to just mess around, getting it to generate some pretty wacky chord progressions, and trying to play over them.

Installation

Run the following commands:

git clone https://github.com/spcoughlin/ChatGPT2midi.git

cd ChatGPT2midi

pip install -r requirements.txt

Follow the steps in https://github.com/acheong08/ChatGPT/wiki/Setup to replace "YOUR-TOKEN" with your token where the chatbot is initialized, near the top of main.py, or you can use another login method entirely if needed.

Usage

To run the program, just run main.py.

Once the browser window appears, the program will ask for what progression you want to make. I have added all the formatting stuff already, so you really just have to tell it what you want. Good examples include: