Generate Chords progression with OpenAI API
BeetGPT
Use the gpt-3.5-turbo modal to generate chord progression based on a mood.
Parse the generated string to frequencies and play them throw the AudioContext.
- Vite
- openai api
- AudioContext
Run
- clone the project
- npm install
- Replace
<SECRET-KEY>
with your own OpenAI key - change the
mood
andlength
of the progression - npm run dev
- You will listen to the generated sound on browser.
TODO
- ✅ Parse string
- ⬜️ Make a UI
- ⬜️ Add Controls (play, stop, loop and speed)
Contribution
Feel free to contribute.