/beetgpt

Primary LanguageJavaScript

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

  1. clone the project
  2. npm install
  3. Replace <SECRET-KEY> with your own OpenAI key
  4. change the mood and length of the progression
  5. npm run dev
  6. 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.