Skip to content

richardsprague/chatMusic

Repository files navigation

ChatGPT-Generated Music

Here are the prompts I gave to ChatGPT:

I'd like to generate a musical score for a cello-piano-violin trio. It should be similar to Mozart's Piano Trio in B-flat, but shorter and lighter. I'd also like a short flute solo somewhere in the middle.

Can you write something in Python that can generate the piece?

Instead of, or maybe in addition to, the MIDI file, can I generate an actual score that I can print?

Click here to listen to the piece

ChatGPT can directly generate text-only responses (currently) but an easy workaround is to have it make a Python script that, when executed, makes the format you want. Here's how I got it to make a musical composition based on Mozart's Piano Trio in B-Flat: pic.twitter.com/e1f4PAHHts

— richardsprague.eth (@sprague) May 5, 2023
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

About

Music by ChatGPT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published