Re: Manipulating lyrics with a music function

2021-10-08 Thread Aaron Hill
On 2021-10-08 8:24 pm, David F. wrote: macOS 10.14.6, Lilypond 2.22.1 The syntax for adding quotes to lyrics is a little cluttered, so I thought I’d whip up a couple of little helper functions to tidy things up. Two hours later I’m reaching out to the mailing list for help. The example below

Re: \transpose question

2021-10-08 Thread Mark Probert
Valentin wrote: > > How about this? > Wow! Thank you. That really is what I was after, and now I need to understand what you've done! Much appreciated .. mark.

Manipulating lyrics with a music function

2021-10-08 Thread David F.
macOS 10.14.6, Lilypond 2.22.1 The syntax for adding quotes to lyrics is a little cluttered, so I thought I’d whip up a couple of little helper functions to tidy things up. Two hours later I’m reaching out to the mailing list for help. The example below is failing in two ways. First, I

Re: \transpose question

2021-10-08 Thread Flaming Hakama by Elaine
> > > -- Forwarded message -- > From: Mark Probert > To: Lily Pond > Cc: > Bcc: > Date: Fri, 8 Oct 2021 10:36:37 +1100 > Subject: \transpose question > > Hi. > > A question on transpose: I understand that "\transpose distinguishes > between enharmonic pitches," however is there

Re: Applying rhythms

2021-10-08 Thread Mats Bengtsson
Often I find it even more useful to do the same with simple substitution functions, where you easily can apply not only a rhythmic pattern but also articulations and repeated notes, for example. Here's a simple example pattern = #(define-music-function (p1 p2 p3)    (ly:pitch? ly:pitch?

Re: Export from LilyPond to MusicXML (Thomas Morley)

2021-10-08 Thread Jan-Peter Voigt
> Am 08.10.2021 um 12:04 schrieb David Kastrup : > > Jan-Peter Voigt writes: > >> Hi all, >> >> probably what I am writing now is not new to most of you. About a year >> ago there was a discussion regarding the license of Lilypond, triggered >> by Urs' question about the future of OLL.

Re: Relative mode

2021-10-08 Thread Leo Correia de Verdier
By minimal we mean a piece of code that compiles clean, shows the behavior you want to show and is as short as possible, in this case it could be more like \version "2.22.1" { a'1 \break a'1 } And a solution could look like \version "2.22.1" { a'1 \break a'1 } \layout { indent = #0 } A hint

Re: Export from LilyPond to MusicXML (Thomas Morley)

2021-10-08 Thread David Kastrup
Jan-Peter Voigt writes: > Hi all, > > probably what I am writing now is not new to most of you. About a year > ago there was a discussion regarding the license of Lilypond, triggered > by Urs' question about the future of OLL. Again and again the > documentation was referred to, which says that

Re: Horizontal line between hymn verses

2021-10-08 Thread Valentin Petzel
Hello Kira, Aarons version uses the stencil of the stanza number, which means that it only works if there is a linenumber present (thus it won’t display after a line break. I’ve come up with a way to instead use a context that missuses the Clef stencil, which will print in every line and can

Re: Export from LilyPond to MusicXML (Thomas Morley)

2021-10-08 Thread Jan-Peter Voigt
Hi all, probably what I am writing now is not new to most of you. About a year ago there was a discussion regarding the license of Lilypond, triggered by Urs' question about the future of OLL. Again and again the documentation was referred to, which says that Lilypond is a compiler that

Re: Export from LilyPond to MusicXML (Thomas Morley)

2021-10-08 Thread Jan-Peter Voigt
Hello Peter, and all, I spotted the problem with the OLL export-solution in 2.22+: In api.scm ll. 278,279 the call to ly:grob-properties fails. In that acknowledger block the stem direction is recorded. I'll look how to fix that later. If you like to try it out, you can temporarily just delete or

Re: Change text size within " "?

2021-10-08 Thread Valentin Petzel
Hello Kira, Everything within the quotation marks is one markup atom, so there is no way to include font-sizes. But is there anything against title = \markup { something \smaller something} ? Cheers, Valentin signature.asc Description: This is a digitally signed message part.

Re: \transpose question

2021-10-08 Thread Valentin Petzel
Hi Mark, How about this? Here we basically pass along a list of numbers for each key. This contains informations about the enharmonic correctness: If the value is 0 the part is kept as is, if it is positive it is corrected upwards, if it is negative it is corrected downwards. Cheers,

Re: Export from LilyPond to MusicXML (Thomas Morley)

2021-10-08 Thread Jacques Menu
Hello Thomas, > Le 7 oct. 2021 à 22:51, Thomas Morley a écrit : > > Am Do., 7. Okt. 2021 um 13:32 Uhr schrieb Jean Abou Samra > : >> >> Harm, >> >> Le 07/10/2021 à 11:46, Thomas Morley a écrit : >>> Not sure Jan-Peter's approach is the best method ... >> >> What makes you think so? >> >>

Re: Horizontal line between hymn verses

2021-10-08 Thread Jacques Menu
Thanks Aaron, very useful! JM > Le 8 oct. 2021 à 03:24, Aaron Hill a écrit : > > On 2021-10-07 5:46 pm, Kira Garvie wrote: >> Hello all! >> I can't figure out how to get that horizontal line dividing the >> spanish from the english verses... any tips? >> Thank you! >> Kira > > Here is an