lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anybody else playing with GPT4 and Lilypond?


From: Nate
Subject: Re: Anybody else playing with GPT4 and Lilypond?
Date: Wed, 29 Mar 2023 19:11:59 -0400

For some real fun i asked it to generate code that a potential solution would be recursive (without suggesting a recursive solution). The first time I stumped it and it went off for two hours. I asked it again later and it camenback with an interative solution without getting stuck . But i found that amusing 

On Wed, Mar 29, 2023, 7:07 PM Kenneth Wolcott <kennethwolcott@gmail.com> wrote:
HI Saul;

  I asked ChatGPT to write some ABC notation.  The result was...'okay'.

  I then asked for a very simple arrangement of some children's tune
and it got very confused about relative pitches.  Since the rhythm for
the piece of music I requested was so simple it didn't have a problem
generating the score.  I argued with ChatGPT about relative pitches in
Lilypond, I told it to go back and read the manuals :-)  I gave up
asking ChatGPT about generating Lilypond scores after that.

Ken Wolcott

On Wed, Mar 29, 2023 at 3:44 PM Saul Tobin <saul.james.tobin@gmail.com> wrote:
>
> I've seen some examples of other people succeeding in getting ChatGPT with GPT4 to compose simple music in other text based music formats. I've had limited success getting it to output Lilypond code. It is able to correctly structure the code with a score block, nested contexts, and appropriately named variables, and bar checks at the end of each measure. It seems to struggle to create rhythms that fit within the time signature beyond extremely simple cases. It also seems to struggle a lot to understand what octave pitches will be in when using relative mode.
>
> It also seems to have a lot of trouble keeping track of the relationship between notes entered in different simultaneous expressions. Just asking it to repeat back which notes appear in each voice on each beat, GPT4 frequently gives stubbornly incorrect answers about the music it generated. This makes it very difficult to improve its output by giving feedback.
>
> I'm curious whether anybody else has tried playing with this. I have to imagine that GPT4 has the potential to produce higher quality Lilypond output, given some of the other impressive things it can do. Perhaps it needs to be provided with a large volume of musical repertoire in Lilypond format.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]