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
- 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.
- ✅ Parse string
- ⬜️ Make a UI
- ⬜️ Add Controls (play, stop, loop and speed)
Feel free to contribute.