Re: insert a `Custos` grob manually

2023-03-29 Thread Werner LEMBERG
>> [...] the ideal solution would be that the custos is really at the >> end of the staff line, and the extra note is just there to indicate >> at which pitch the custos gets typeset. > > This should do: It does, thanks a lot! Werner

Re: temporarily overriding paper variables

2023-03-29 Thread Aaron Hill
On 2023-03-28 11:51 pm, Werner LEMBERG wrote: \markup \with-dimensions #'(0 . 0) #'(0 . -2.5) \column { \vspace #0.55 "foo" } I want the violin clef touch the top edge of the page. Ah, you need to adjust the vertical extent in the other direction: \markup \with-dimensions #'(0 . 0) #

Re: temporarily overriding paper variables

2023-03-29 Thread Werner LEMBERG
> > \markup \with-dimensions #'(0 . 0) #'(2.5 . 0) > \general-align #Y #UP "foo" > > > The vertical extents #'(0 . -2.5) and #'(2.5 . 0) both have the same > effective height of -2.5 units, however they have a different > relative starting point which is important for what may appear >

Re: temporarily overriding paper variables

2023-03-29 Thread Aaron Hill
On 2023-03-29 1:51 am, Werner LEMBERG wrote: Alas, it *still* doesn't work as expected. Obviously, I have simplified the code example too much: adding a `ChordNames` context prevents alignment. Note that the top skyline of the chord symbol doesn't show anything suspicious. Okay, then I think

Re: temporarily overriding paper variables

2023-03-29 Thread Werner LEMBERG
>> Alas, it *still* doesn't work as expected. Obviously, I have >> simplified the code example too much: adding a `ChordNames` context >> prevents alignment. Note that the top skyline of the chord symbol >> doesn't show anything suspicious. > > Okay, then I think we are hitting something else.

Height of markup entered on a Dynamics Staff

2023-03-29 Thread Richard Shann
In the following snippet the text is displaced vertically upwards if the commenting out is removed, i.e. a note appears with more than one leger line later on the staff. 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< \version "2.24" MI = { <> ^\markup \bold \italic {"text" } R1*4

Re: Height of markup entered on a Dynamics Staff

2023-03-29 Thread Knute Snortum
On Wed, Mar 29, 2023 at 5:08 AM Richard Shann wrote: > In the following snippet the text is displaced vertically upwards if > the commenting out is removed, i.e. a note appears with more than one > leger line later on the staff. > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< > \version "2.24"

Re: Height of markup entered on a Dynamics Staff

2023-03-29 Thread Jean Abou Samra
Le mercredi 29 mars 2023 à 13:07 +0100, Richard Shann a écrit : > In the following snippet the text is displaced vertically upwards if > the commenting out is removed, i.e. a note appears with more than one > leger line later on the staff. > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< >

Re: temporarily overriding paper variables

2023-03-29 Thread Jean Abou Samra
Le mercredi 29 mars 2023 à 10:58 +, Werner LEMBERG a écrit : > ``` > > >> Alas, it *still* doesn't work as expected.  Obviously, I have > >> simplified the code example too much: adding a `ChordNames` context > >> prevents alignment.  Note that the top skyline of the chord symbol > >> doesn't

Re: temporarily overriding paper variables

2023-03-29 Thread David Kastrup
Jean Abou Samra writes: > Le mercredi 29 mars 2023 à 10:58 +, Werner LEMBERG a écrit : >> ``` >> >> >> Alas, it *still* doesn't work as expected.  Obviously, I have >> >> simplified the code example too much: adding a `ChordNames` context >> >> prevents alignment.  Note that the top skyline

Re: temporarily overriding paper variables

2023-03-29 Thread Werner LEMBERG
>> >> Alas, it *still* doesn't work as expected.  Obviously, I have >> >> simplified the code example too much: adding a `ChordNames` context >> >> prevents alignment.  Note that the top skyline of the chord symbol >> >> doesn't show anything suspicious. > > I am not yet sure if this is a bug or n

Anybody else playing with GPT4 and Lilypond?

2023-03-29 Thread Saul Tobin
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 n

Re: Anybody else playing with GPT4 and Lilypond?

2023-03-29 Thread Nate
Hah yes. It once said \begn{music} and i said "are you making this up?" "I'm sorry, you're correct. The start tag should be \begin{lilypond}. Its super handy but you have to watch it. It can be a pathological liar. I asked it how to do something on the Akai Mini Play and it said to use this button

Re: Anybody else playing with GPT4 and Lilypond?

2023-03-29 Thread Alexandre Loomis
> given some of the other impressive things it can do I think that's been exaggerated. It's very good at generating plausible-sounding text responses to prompts, everything else looks cherry-picked. On Wed, Mar 29, 2023 at 3:54 PM Nate wrote: > Hah yes. It once said \begn{music} and i said "are

Re: Anybody else playing with GPT4 and Lilypond?

2023-03-29 Thread Kenneth Wolcott
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 genera

Re: Anybody else playing with GPT4 and Lilypond?

2023-03-29 Thread Kenneth Wolcott
Correction: I don't think I'm using ChatGPT4, I'm using https://chat.openai.com/chat. Ken On Wed, Mar 29, 2023 at 4:06 PM Kenneth Wolcott 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 childr

Re: Anybody else playing with GPT4 and Lilypond?

2023-03-29 Thread Nate
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 th

Re: Anybody else playing with GPT4 and Lilypond?

2023-03-29 Thread Saul Tobin
I think you may have that impression based on GPT3.5. GPT4 is already being used to generate working non-trivial computer programs based only on a brief text description. On Wed, Mar 29, 2023 at 3:58 PM Alexandre Loomis wrote: > > given some of the other impressive things it can do > > I think t

Re: Anybody else playing with GPT4 and Lilypond?

2023-03-29 Thread Saul Tobin
A practical follow up question: what is currently the largest repertoire of publicly available Lilypond scores? Ideally, something like the complete Bach chorales or Mozart piano sonatas. On Wed, Mar 29, 2023 at 3:43 PM Saul Tobin wrote: > I've seen some examples of other people succeeding in ge

Re: Anybody else playing with GPT4 and Lilypond?

2023-03-29 Thread Kenneth Wolcott
I'm currently using "ChatGPT Mar 14 Version." Ken On Wed, Mar 29, 2023 at 5:15 PM Saul Tobin wrote: > > A practical follow up question: what is currently the largest repertoire of > publicly available Lilypond scores? Ideally, something like the complete Bach > chorales or Mozart piano sonatas

Re: Anybody else playing with GPT4 and Lilypond?

2023-03-29 Thread kieren
Hi Saul, A practical follow up question: what is currently the largest repertoire of publicly available Lilypond scores? Ideally, something like the complete Bach chorales or Mozart piano sonatas. Mutopia? Kieren.

Re: Anybody else playing with GPT4 and Lilypond?

2023-03-29 Thread Curt McDowell
I use chat.openai.com quite a bit for LilyPond. It almost never gives a correct or directly useful answer, but often gives me ideas where I can continue with LilyPond docs to figure out a solution. It's definitely good at explaining how code fragments work if you paste them in. This is a very s

bookOutputName still gets "-1" suffix added to SVG file names

2023-03-29 Thread Jeff Olson
I've got to generate a thousand+ cropped SVG files with specified file names from one lilypond compilation, so I'm wrapping each score in a \book with its own \bookOutputName as in this MWE: \version "2.24.1" #(ly:set-option 'backend 'cairo) #(ly:set-option 'separate-page-formats 'svg) #(ly:set-o

Re: Anybody else playing with GPT4 and Lilypond?

2023-03-29 Thread Mike Blackstock
re. "Anybody else playing with GPT4 and Lilypond?" I'm very much interested in exploring its use to generate graded sight-reading material. My own instrument is classical guitar and we're not the best sight-readers[1]... it would be nice to have daily sight-reading exercises generated for practice

Re: bookOutputName still gets "-1" suffix added to SVG file names

2023-03-29 Thread Jean Abou Samra
Le mercredi 29 mars 2023 à 22:56 -0600, Jeff Olson a écrit : > I've got to generate a thousand+ cropped SVG files with specified file names > from one lilypond compilation, so I'm wrapping each score in a \book with > its own \bookOutputName as in this MWE: > > \version "2.24.1" > #(ly:set-o