My latest interaction with ChatGPT:
vttoth: Please write a short piece of music, suitable to be played while showing the stylized image of a cat, in Lilypond.
ChatGPT: LilyPond is a text-based music engraving program that uses code to create beautifully engraved sheet music. Here’s a short piece of music written in LilyPond, suitable to be played while showing a stylized image of a cat. This piece is intended to have a playful and curious character, much like a cat.
\version "2.22.1" \header { title = "Cat's Paws" composer = "ChatGPT" } upper = \relative c' { \key g \major \time 3/4 g4. g8 a g8~ | g r8 a2 | a4. a8 b a8~ | a r8 b2 | b4. c8 d b8~ | b r8 c2 | g4. g8 a g8~ | g4. r4. | } lower = \relative c { \key g \major \time 3/4 g2 d4 | g2 r4 | a2 e4 | a2 r4 | d2 c4 | d2 r4 | g2 d4 | g2 r4 | } \score { \new PianoStaff << \new Staff = "upper" \upper \new Staff = "lower" \lower >> \layout { } \midi { \tempo 4=120 } }Copy the above code into a text editor and save it with a “.ly” extension. Then, compile the file with LilyPond to create a PDF and MIDI file.
I admit I had to make a few adjustments to the code (specifically, the upper voice) as the timing was off in a couple of places, but I don’t think I altered the music.