Re: need help building a Scheme function

2024-06-22 Thread David Kastrup
Lukas-Fabian Moser writes: > Elaborating on David's explanation, it might be instructive to study the > output of: > > \version "2.25.9" > > mappingFunction = > #(define-music-function (music) (ly:music?) >(music-map > (lambda (m) > (ly:message "Considering music:\n~a\n-\n"

Re: need help building a Scheme function

2024-06-22 Thread David Kastrup
Lukas-Fabian Moser writes: > But: Whether you use music-map or map-some-music, your helper function > (your lambda) is expected to return the new music into which the given > argument m should be transformed. So in any case, your lambda function > should return music - in the trivial case, it

Re: need help building a Scheme function

2024-06-21 Thread Lukas-Fabian Moser
ype of music objects in our recursion and then, in each case, declaring the job done, i.e. not recursing any further. (The actual difference should be very small, since also music-map can't help but stop recursing at note-events, since these don't contain other music objects.) But: Whether you use m

Re: need help building a Scheme function

2024-06-21 Thread Kieren MacMillan
Hi Lukas, > Elaborating on David's explanation, it might be instructive to study the > output of: > [snip] > In short: music-map really considers every music object in a music tree. That was instructive — thanks! Kieren. __ My work day may look

Re: need help building a Scheme function

2024-06-21 Thread Lukas-Fabian Moser
Hi Kieren, I’m a little confused that the output of %%% SNIPPET BEGINS \version "2.25.11" adjustPitch = #(define-music-function (pitchIn pitchOut music) (ly:pitch? ly:pitch? ly:music?) (music-map (lambda (m) (ly:message "Pitch is: ~a" (ly:music-property m 'pitch)) m)

Re: need help building a Scheme function

2024-06-21 Thread Kieren MacMillan
Hi David, > To say something is "optimal", you have to state your objective. I guess the immediate objective was to output [in the log] a list of pitches given the 'music' input. > music-map is used for changing music, and you don't appear to do any > useful changes to the music. In fact, you

Re: need help building a Scheme function

2024-06-21 Thread David Kastrup
Kieren MacMillan writes: > Hi all, > > Thank you for the rapid-iteration non-isochronous Scheme class! :) > > Before I do the next step, is this optimal at this point? > > %%% SNIPPET BEGINS > \version "2.25.11" > > adjustPitch = > #(define-music-function (pitchIn pitchOut music) (ly:pitch?

Re: need help building a Scheme function

2024-06-21 Thread Kieren MacMillan
Hi all, Thank you for the rapid-iteration non-isochronous Scheme class! :) Before I do the next step, is this optimal at this point? %%% SNIPPET BEGINS \version "2.25.11" adjustPitch = #(define-music-function (pitchIn pitchOut music) (ly:pitch? ly:pitch? ly:music?) (music-map (lambda

Re: need help building a Scheme function

2024-06-21 Thread Kieren MacMillan
Hi David, > If you want to only look at note events, you need to check for them > yourself. music-map is not discriminating. Ah! Lovely Socratic lesson. :) Thanks, Kieren. __ My work day may look different than your work day. Please do not feel

Re: need help building a Scheme function

2024-06-21 Thread David Kastrup
Kieren MacMillan writes: > Hi again, > > I’m a little confused that the output of > > %%% SNIPPET BEGINS > \version "2.25.11" > > adjustPitch = > #(define-music-function (pitchIn pitchOut music) (ly:pitch? ly:pitch? > ly:music?) >(music-map > (lambda (m) > (ly:message "Pitch is:

Re: need help building a Scheme function

2024-06-21 Thread Kieren MacMillan
Hi Timothy, > Your lambda function for the mapping returns the value of ly:message, which > is #. You need to return some music. Changing the lambda > function to > (lambda (m) > (ly:message "Pitch is: ~a" (ly:music-property m 'pitch)) m) > maps the music to itself without any changes.

Re: need help building a Scheme function

2024-06-21 Thread Kieren MacMillan
Hi again, I’m a little confused that the output of %%% SNIPPET BEGINS \version "2.25.11" adjustPitch = #(define-music-function (pitchIn pitchOut music) (ly:pitch? ly:pitch? ly:music?) (music-map (lambda (m) (ly:message "Pitch is: ~a" (ly:music-property m 'pitch)) m) music))

Re: need help building a Scheme function

2024-06-21 Thread Timothy Lanfear
On 21/06/2024 17:36, Kieren MacMillan wrote: Hi Lukas! All right… already back for more specific help. I struggled with map-some-music, and failed. Scanned through Jean’s [amazing] “Extending” docs — yes, yes, I need to RTM on that one, page-by-page! — and found an example with music-map, so

Re: need help building a Scheme function

2024-06-21 Thread Kieren MacMillan
Hi Lukas! All right… already back for more specific help. I struggled with map-some-music, and failed. Scanned through Jean’s [amazing] “Extending” docs — yes, yes, I need to RTM on that one, page-by-page! — and found an example with music-map, so tried that instead. Also failed. %%% SNIPPET

Re: need help building a Scheme function

2024-06-21 Thread Kieren MacMillan
Hi L-F! >> Is map-some-music the correct next move? > Yes. Thanks! > I take it you're only asking for confirmation you're on the right track? :-) Correct. I’ll try to ask more specific questions when I need more than confirmation. > So I only suggest use the ly:pitch? predicate for

Re: need help building a Scheme function

2024-06-21 Thread Lukas-Fabian Moser
Hi Kieren, Am 21.06.24 um 16:39 schrieb Kieren MacMillan: %%% SNIPPET BEGINS \version "2.25.11" adjustPitch = #(define-music-function (pitchIn pitchOut music) (ly:music? ly:music? ly:music?) (ly:message "Pitch is: ~a" (ly:pitch-notename (ly:music-property pitchIn 'pitch))) music)

need help building a Scheme function

2024-06-21 Thread Kieren MacMillan
Hey list! Trying to work up to being a bigger and better contributor to The ’Pond. Found and copied that “transpose major to minor” scale function in the previous thread I contributed to, but (a) don’t really know if it’s the best way to do what the OP wanted, (b) thought it might be overkill

Re: Scheme help

2024-05-24 Thread David Kastrup
Valentin Petzel writes: > Hello Kevin, > > When you call a music expression like \music Lilypond will allways pass a > copy > of that music object. Thus some music functions assume it is safe to modify > the original music object. So when you do > > \keepWithTag ... #music > > you will first

Re: Scheme help

2024-05-24 Thread Kevin Pye
Thanks Valentin, I'll incorporate your suggestions. I doubt I'd have worked out the problems at my level of Scheme programming without your help. I'll probably have more questions in the future. Kevin. On Fri, 24 May 2024, at 17:17, Valentin Petzel wrote: > Hello Kevin, > > When

Re: Scheme help

2024-05-24 Thread Valentin Petzel
Hello Kevin, When you call a music expression like \music Lilypond will allways pass a copy of that music object. Thus some music functions assume it is safe to modify the original music object. So when you do \keepWithTag ... #music you will first remove everything tagged without v1, then

Scheme help

2024-05-23 Thread Kevin Pye
So after 56 years of programming I've at last got around to writing some Lisp, and of course it doesn't work. I'm trying to define a routine repeat-verses which would be used like \repeat-verses 3 \music which would have the effect of \keepWithTag #'v1 \music \keepWithTag #'v2 \music

Re: Cry for help - lost plot ....

2024-05-18 Thread Kieren MacMillan
Hi Giles, > Just like that? Just like that! Wow! Eventually, one gets tired of how often Lilypond wows you… Nice to see you’re not there yet. ;) — K __ My work day may look different than your work day. Please do not feel obligated to read or

Re: Cry for help - lost plot ....

2024-05-18 Thread Giles Boardman
Just like that? Just like that! Wow! From: Kieren MacMillan Sent: 18 May 2024 18:45 To: Giles Boardman Cc: Aaron Hill ; Lilypond-User Mailing List Subject: Re: Cry for help - lost plot Hi Giles, > though being able to put multiple columns side by s

Re: Cry for help - lost plot ....

2024-05-18 Thread Giles Boardman
rious". From: David Wright Sent: 18 May 2024 18:24 To: Giles Boardman Cc: Aaron Hill ; lilypond-user@gnu.org Subject: Re: Cry for help - lost plot On Sat 18 May 2024 at 16:46:43 (+), Giles Boardman wrote: > Thanks for getting back to me Aaron and throw

Re: Cry for help - lost plot ....

2024-05-18 Thread Kieren MacMillan
Hi Giles, > though being able to put multiple columns side by side without them thinking > they were continuous music would be even more awesome, and very elegant imho Like this? %%% SNIPPET BEGINS \version "2.24.3" \layout { \context { \Score \override RehearsalMark.padding = #3

Re: Cry for help - lost plot ....

2024-05-18 Thread Giles Boardman
: Cry for help - lost plot Hi Giles, Are you looking for something like this? %%% SNIPPET BEGINS \version "2.24.3" \paper { score-system-spacing.padding = #6 } \layout { indent = 0 ragged-right = ##f \context { \Score \override RehearsalMark.padding = #3 }

Re: Cry for help - lost plot ....

2024-05-18 Thread David Wright
> different line - this will help me enormously with proof-reading. > > What I see in the preview without the score block is just what I want, for > this part of my process - is there no (simple) way to embed it in a score > block to get it into a pdf and also into a midi file? Would

Re: Cry for help - lost plot ....

2024-05-18 Thread Kieren MacMillan
Hi Giles, Are you looking for something like this? %%% SNIPPET BEGINS \version "2.24.3" \paper { score-system-spacing.padding = #6 } \layout { indent = 0 ragged-right = ##f \context { \Score \override RehearsalMark.padding = #3 } } \score { { \mark "ON079-1a-_01" \key

Re: Cry for help - lost plot ....

2024-05-18 Thread Giles Boardman
Thanks for getting back to me Aaron and throwing me a rope I understand the two models you describe. I thought I was going for the second i.e. a single sequential part, but I want to put each section on a different line - this will help me enormously with proof-reading. What I see

Re: Cry for help - lost plot ....

2024-05-18 Thread Paul Hodges
, if you want each line to remain independent. Paul From: Aaron Hill To: Giles Boardman Cc: Sent: 18/05/2024 17:18 Subject: Re: Cry for help - lost plot On 2024-05-18 8:49 am, Giles Boardman wrote: > \score { > > … music … > >   \layout

Re: Cry for help - lost plot ....

2024-05-18 Thread Aaron Hill
On 2024-05-18 8:49 am, Giles Boardman wrote: \score { … music … \layout { } \midi { } } Please, someone help me while I still have a little hair left to pull out on a later occasion :-} \score basically expects just one "music". You are providing many "musics".

Cry for help - lost plot ....

2024-05-18 Thread Giles Boardman
9/8 a''8 b''8 c'''8 b''8 c'''8 d'''8 c'''8 b''8 a''8 } Interpreting music... Preprocessing graphical objects... Interpreting music... MIDI output to `document.mid'... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Converting to `document.pdf'... fatal error: failed files: "c:\\users\\acer\\appdata\\local\\temp\\frescobaldi-cahb3r\\tmpdto4tu\\document.ly" Exited with return code 1. Now I get one solitary line on my page and no green message. I tried removing all the curly braces from around my lines, but that doesn't help . Please, someone help me while I still have a little hair left to pull out on a later occasion :-}

Re: Help with Mac

2024-04-15 Thread Alejandro Castera
How kind of you, I thank you very much and I will take your advice, it will surely help me. I wish you all the best! > El 15 abr 2024, a las 3:09 p.m., Maurits Lamers via LilyPond user discussion > escribió: > > Hi Alejandro, > > The DMG was a way to quickly install Lil

Re: Help with Mac

2024-04-15 Thread Alejandro Castera
How kind of you, I thank you very much and I will take your advice, it will surely help me. I wish you all the best! > El 15 abr 2024, a las 3:07 p.m., Carl Sorensen > escribió: > > > > On Mon, Apr 15, 2024 at 2:26 PM Alejandro Castera <mailto:alexja...@yahoo.co

Re: Help with Mac

2024-04-15 Thread Maurits Lamers via LilyPond user discussion
Hi Alejandro, The DMG was a way to quickly install Lilypond, but it came with a few downsides. The biggest one was that Lilypond was bundled as part of the LilyPad editor app. This was what was started when you would doubleclick Lilypond.app. The LilyPad editor was a very barebones editor,

Re: Help with Mac

2024-04-15 Thread Carl Sorensen
On Mon, Apr 15, 2024 at 2:26 PM Alejandro Castera wrote: > Good afternoon, community. > > I've been using Lilypond on Mac for a long time, but for a few years now > they haven't released a new version to install in DMG format. There are > some packages to install via "ports" (which I haven't

Help with Mac

2024-04-15 Thread Alejandro Castera
Good afternoon, community. I've been using Lilypond on Mac for a long time, but for a few years now they haven't released a new version to install in DMG format. There are some packages to install via "ports" (which I haven't understood what they are) and using MacPorts or Homebrew (which I

Re: Help using a Scheme variable in a function

2024-04-13 Thread ming tsang
Hello Mathew Fong, I am very interested in this scheme variable in a function, however I have a hard time generating a working .ly with sample output. Thank you. -- ming (lyndon) tsang

Re: [HELP] RemoveAllEmptyStaves not working.

2024-03-06 Thread Lucas Cavalcanti
Hello, Kieren. Your suggestion did fix the issue. Thank you. Em qua., 6 de mar. de 2024 às 14:52, Kieren MacMillan < kie...@kierenmacmillan.info> escreveu: > Hi Lucas, > > > I've used the RemoveAllEmptyStaves command to remove (obviously) the > unnecessary staffs. However, the drumkit doesn't

Re: [HELP] RemoveAllEmptyStaves not working.

2024-03-06 Thread Kieren MacMillan
Hi Lucas, > I've used the RemoveAllEmptyStaves command to remove (obviously) the > unnecessary staffs. However, the drumkit doesn't get removed like it should. > The drumkit staff is independent by itself; it is not part of a group staff. > It is, however, a DrumStaff. > I've looked at the

[HELP] RemoveAllEmptyStaves not working.

2024-03-06 Thread Lucas Cavalcanti
he D.B was not removed because it was part of a section/group staff. Adding injury to the cause, I was not able comprehend the use of "Keep_alive" commands. Any help would be appreciated Lucas \version "2.24.3" \layout { \context { \Staff \RemoveAllEmptySt

Re: Help

2024-03-03 Thread Karlin High
On Sun, Mar 3, 2024 at 2:54 PM George wrote: > Thank you Karlin for the promptness with which you responded. I'm glad, but > unfortunately I can't benefit from your wonderful program because I use > Windows 7 and I don't have the resources for Windows 10. Anyway, thank you > and I wish you the

Re: Help

2024-03-02 Thread Karlin High
On Sat, Mar 2, 2024 at 7:48 PM George wrote: > I would like to know if your program can export as Picture and PDF. > Yes: PDF and PNG. See the Usage Manual for more options. < https://lilypond.org/doc/v2.24/Documentation/usage/command_002dline-usage#basic-command-line-options-for-lilypond >

Help

2024-03-02 Thread George
Hi, I congratulate you on your excellent creation. I am glad that it is still accessible to those who are passionate but without money. I would like to know if your program can export as Picture and PDF. Thank you. George

Re: Help with some lyrics gymnastics

2024-01-17 Thread Matthew Fong
Thank you again, Thomas. I'm going to try this out this week! Matt

Re: Help with some lyrics gymnastics

2024-01-15 Thread Thomas Richter
Hello again, a few more ideas: My solution uses the TextSpanner which works for two or more notes. But for a single note (syllable), a function like your lyricsWithOption is more suitable. The following draws the separating line in the proper length.

Re: Help with some lyrics gymnastics

2024-01-15 Thread Matthew Fong
Hello Thomas, That works splendidly. Thank you. The NullVoice is a new concept to me, and seems necessary here. I also found the same LSR example and was working through trying to understand it. Many thanks, mattfong

Re: Help with some lyrics gymnastics

2024-01-14 Thread Thomas Richter
On Fri, Jan 12, 2024 at 6:09 PM Matthew Fong wrote: I'm trying to replicate lyrics as shown in the red box (the Roman Missal in English), where 1/ Lyric options are *stacked* and separated by a horizontal line 2/ Lyrics without options are*vertically centered* relative to the

Re: Help with some lyrics gymnastics

2024-01-13 Thread David Wright
next line. > > Unfortunately, I cannot change just one portion of the vertical alignment > using VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding > > Any help is appreciated. Attached is my latest MWE. Sorry, but can you stop reposting the original with each iteration, p

Re: Help need with the "implicitBassFigures" command

2024-01-12 Thread Eef Weenink
ke care that at least there is a fifth in the chord. - Extension lines are a way to say” Next note has the same harmonic number” As soon things come on my path, what do not fit this shortlist, I have to add more rules. ☺ And now back to Wolf, General Bass. Thank you for your help. Regards, Eef

Re: Help need with the "implicitBassFigures" command

2024-01-12 Thread Richard Shann
On Thu, 2024-01-11 at 12:40 +, Eef Weenink wrote: > Thank you Richard > > You say: “ > You don't have to use 5 as the implicit figure:” > > Try: > - > >     \new FiguredBass \with { implicitBassFigures = #'(0) }    > \figuremode { >   \set figuredBassAlterationDirection = #RIGHT >  

Re: Help need with the "implicitBassFigures" command

2024-01-11 Thread Eef Weenink
, And if context = Staff, change every FiguredBass to Staff Thank you. Eef Van: Michael Werner Datum: donderdag, 11 januari 2024 om 12:15 Aan: Eef Weenink CC: lilypond-user@gnu.org Onderwerp: Re: Help need with the "implicitBassFigures" command Hi there, On Thu, Jan 11, 2024 at 5

Re: Help need with the "implicitBassFigures" command

2024-01-11 Thread Richard Shann
On Thu, 2024-01-11 at 10:43 +, Eef Weenink wrote: > Good day to all of you. > > I am working on a figured bass, and now it is needed to get an > extended line under two notes, not showing the number: > Afbeelding met lijn, Lettertype, ontvangst, tekst > > Automatisch gegenereerde

Re: Help need with the "implicitBassFigures" command

2024-01-11 Thread Michael Werner
Hi there, On Thu, Jan 11, 2024 at 5:49 AM Eef Weenink wrote: > \new FiguredBass \with { implicitBassFigures = #'(0) } > > %{if I set the implicitBass to 5, or other number, it works for the > whole passage%} > > \figuremode { > > \set figuredBassAlterationDirection = #RIGHT >

Help need with the "implicitBassFigures" command

2024-01-11 Thread Eef Weenink
Good day to all of you. I am working on a figured bass, and now it is needed to get an extended line under two notes, not showing the number: [Afbeelding met lijn, Lettertype, ontvangst, tekst Automatisch gegenereerde beschrijving] The line under the d and e have the meaning: Read as 5 and

Re: Help with correct pitch after function call within \relative

2024-01-08 Thread David Kastrup
Artur Dobija writes: > Dear Experts, > > I am working on writing my own function which combines several notes into > one custom symbol (ligature). > (For the context, I now about Mensural_ligature_engraver, but I want to > create something that will allow for more flexibility, as I try to

Re: Help with correct pitch after function call within \relative

2024-01-08 Thread David Kastrup
Artur Dobija writes: > Dear Lilypond-user, > I sent this mail to the wrong mail, I should have send it to > lilypond-user-requ...@gnu.org ! Sorry! No, you sent it to the right address. lilypond-user-request is the address for sending list server commands. Send it an Email w

Re: Help with correct pitch after function call within \relative

2024-01-08 Thread Artur Dobija
Dear Lilypond-user, I sent this mail to the wrong mail, I should have send it to lilypond-user-requ...@gnu.org ! Sorry! Best, Artur Dobija pon., 8 sty 2024 o 23:56 Artur Dobija napisał(a): > Dear Experts, > > I am working on writing my own function which combines several notes into > one custom

Help with correct pitch after function call within \relative

2024-01-08 Thread Artur Dobija
Dear Experts, I am working on writing my own function which combines several notes into one custom symbol (ligature). (For the context, I now about Mensural_ligature_engraver, but I want to create something that will allow for more flexibility, as I try to engrave symbols as close to one of

Re: Help with Measure Numbers

2024-01-07 Thread David Wright
On Mon 08 Jan 2024 at 01:45:32 (+), Karen Billings wrote: > I deleted the commented section, saved the file, and got the same behavior. I > used the file lilypond-8.22.1.mingw, downloaded on 8/8/21, to install > lilypond on this machine. Is that the correct install program? I don't see that

Re: Help with Measure Numbers

2024-01-07 Thread Karen Billings
2. Replace contents of the \Score block with a BarNumber.break-visibility statement     \context {       \Score       \override BarNumber.break-visibility = ##(#f #t #f)     } The odd thing is that the original "Bar_number_engraver" command worked fine with a single staf

Re: Help with Measure Numbers

2024-01-07 Thread David Wright
On Sun 07 Jan 2024 at 23:55:09 (+), Karen Billings wrote: > Thank you so much for the info, Kieren. > I followed your instructions and moved the bar numbering block >     \context {      \Score      \consists "Bar_number_engraver"      > barNumberVisibility = #(every-nth-bar-number-visible

Re: Help with Measure Numbers

2024-01-07 Thread Karen Billings
Thank you so much for the info, Kieren. I followed your instructions and moved the bar numbering block     \context {      \Score      \consists "Bar_number_engraver"      barNumberVisibility = #(every-nth-bar-number-visible 1)      \override BarNumber.break-visibility = #end-of-line-invisible 

Re: Help with Measure Numbers

2024-01-07 Thread Mario Moles
\override BarNumber.break-visibility = ##(#f #t #f) Il 07/01/24 23:19, Karen Billings ha scritto: Hi all - I'm currently using Lilypond 2.22.1 to set some handbell music, and I'm encountering a problem with measure numbering. I need all measures numbered in this score - for some reason, the

Re: Help with Measure Numbers

2024-01-07 Thread Kieren MacMillan
Hi Karen, > I need all measures numbered in this score - for some reason, the first > measure number in each line is being printed twice: Just add/configure the Bar_number_engraver at the Score level — see snippet below. Hope this helps! Kieren. % Version 1.0 % Last edit: January 7, 2024 %

Help with Measure Numbers

2024-01-07 Thread Karen Billings
Hi all - I'm currently using Lilypond 2.22.1 to set some handbell music, and I'm encountering a problem with measure numbering. I need all measures numbered in this score - for some reason, the first measure number in each line is being printed twice: Working file is attached. Thanks much!

Re: Help using a Scheme variable in a function

2024-01-06 Thread Matthew Fong
Ah ha! Thank you, David! \override #`(line-width . ,rubricsWidthSU) does indeed work. I have to be mindful of the environment I'm using the variable in. Many thanks, mattfong On Sat, Jan 6, 2024 at 3:43 PM David Kastrup wrote: > David Kastrup writes: > > > David Kastrup writes: > > > >>

Re: Help using a Scheme variable in a function

2024-01-06 Thread David Kastrup
David Kastrup writes: > David Kastrup writes: > >> Matthew Fong writes: >> >>> I tried the following inside the function, and all generate errors. I would >>> like to use the value of rubricsWidthSU in this override. >>> >>> \override #'(line-width . \rubricsWidthSU) >>> \override

Re: Help using a Scheme variable in a function

2024-01-06 Thread David Kastrup
David Kastrup writes: > Matthew Fong writes: > >> I tried the following inside the function, and all generate errors. I would >> like to use the value of rubricsWidthSU in this override. >> >> \override #'(line-width . \rubricsWidthSU) >> \override #'(line-width . #rubricsWidthSU) >> \override

Re: Help using a Scheme variable in a function

2024-01-06 Thread David Kastrup
Matthew Fong writes: > I tried the following inside the function, and all generate errors. I would > like to use the value of rubricsWidthSU in this override. > > \override #'(line-width . \rubricsWidthSU) > \override #'(line-width . #rubricsWidthSU) > \override #'(line-width . ,rubricsWidthSU)

Re: Help using a Scheme variable in a function

2024-01-06 Thread Matthew Fong
I tried the following inside the function, and all generate errors. I would like to use the value of rubricsWidthSU in this override. \override #'(line-width . \rubricsWidthSU) \override #'(line-width . #rubricsWidthSU) \override #'(line-width . ,rubricsWidthSU) Many thanks, mattfong On Sat,

Help using a Scheme variable in a function

2024-01-06 Thread Matthew Fong
Hello everyone, I'm feeling somewhat confounded by LilyPond Scheme variables. I've created some global variables that I want to use in functions so I change up some custom spacing only one (as these may vary with staff size) I defined the following #(define kOneStaffUnitInInches 0.0761)

Re: Help with music function

2023-12-18 Thread Mark Probert
Many thanks, Aaron. A clear and helpful answer! The “why” was simply an exercise in seeing if I could cleanup a LP file by using such syntactic sugar (to which the answer is no :-) ). Thanks again ..m. > On 19 Dec 2023, at 07:05, Aaron Hill wrote: > > On 2023-12-17 9:33 pm, Mark Probert

Re: Help with music function

2023-12-18 Thread William Rehwinkel via LilyPond user discussion
Dear Mark, I did this in a slightly different way...if you do \displayMusic c4\rest you can see how to represent a rest using the make-music procedure in scheme code. Modifying that a bit, I got % \version "2.25.6" %\displayMusic c4\rest = %(make-music %'RestEvent

Re: Help with music function

2023-12-18 Thread Aaron Hill via LilyPond user discussion
On 2023-12-17 9:33 pm, Mark Probert wrote: Hi. I'm struggling some with writing a music function for rests. Basically I want to be able to write something like \rel-rest( b', 1) Minor nit: Functions in LilyPond do not use parentheses and commas for arguments in this way. You need only

Help with music function

2023-12-17 Thread Mark Probert
Hi. I'm struggling some with writing a music function for rests. Basically I want to be able to write something like \rel-rest( b', 1) which would place a dotted quarter rest on the indicated pitch (the equivalent of b'1\rest I'm starting with rel-rest = #(define-music-function (pit dur)

Re: Help Needed to make chord chart over two pages

2023-08-27 Thread Michael Werner
On Sat, Aug 26, 2023 at 8:45 AM JacquelineUkulele-Guitar Grant < jackiemusicgr...@hotmail.com> wrote: > Hi All > Hi Jacqueline, > I am new to this Lilipond user help group, I aplopgize if I am breaking > any rules are guideline. > > I have been use Lilypond for a fe

Re: Help Needed to make chord chart over two pages

2023-08-26 Thread Stu McKenzie
On 2023-08-26 05:17, JacquelineUkulele-Guitar Grant wrote: Hi All I am new to this Lilipond user help group, I aplopgize if I am breaking any rules are guideline. I have been use Lilypond for a few year, even though I do not fully understand it. I am trying to make a Chord Chart

Help Needed to make chord chart over two pages

2023-08-26 Thread JacquelineUkulele-Guitar Grant
Hi All I am new to this Lilipond user help group, I aplopgize if I am breaking any rules are guideline. I have been use Lilypond for a few year, even though I do not fully understand it. I am trying to make a Chord Chart that goes over two pages, in what I call a "ukulele l

Re: Need help displaying note names in 2.22

2023-08-08 Thread Viktor Mastoridis
Dear all, Thank you very much for the time taken to comment on my problem. I tried all the suggestions one by one - the best solution was to upgrade to Lilypond 2.24 (much easier than I thought) and to use Jean's code below: \version "2.24.1" \layout { \context { \NoteNames

Re: Need help displaying note names in 2.22

2023-08-07 Thread Jean Abou Samra
Le lundi 07 août 2023 à 19:00 +0100, Viktor Mastoridis a écrit : > How do I upgrade to Lilypond 2.24 on Mint 21 (Ubuntu LTS 22.4) without braking > the system? Just follow the tutorial, it will not interfere with the system in any way.

Re: Need help displaying note names in 2.22

2023-08-07 Thread Viktor Mastoridis
On Sunday, 6 August 2023, Jean Abou Samra wrote: > Oops, except that this is not going to work in 2.22, since > \with-string-transformer is new in 2.24. > > However, 2.22 is not supported anymore, I would recommend upgrading to > 2.24 anyway. > How do I upgrade to Lilypond 2.24 on Mint 21

Re: Need help displaying note names in 2.22

2023-08-06 Thread Silvain Dupertuis
Le 06.08.23 à 16:59, David Kastrup a écrit : Strange... I tried a few things, but did not find a way to make it work. I noticed  2 things : 1. In this association table : chimenames = #`(     ("c" . "C")     ("cis" . "C♯")     ("d" . "D")     ("es" . "E♭") ) It only takes into account

Re: Need help displaying note names in 2.22

2023-08-06 Thread Jean Abou Samra
Oops, except that this is not going to work in 2.22, since \with-string- transformer is new in 2.24. However, 2.22 is not supported anymore, I would recommend upgrading to 2.24 anyway. signature.asc Description: This is a digitally signed message part

Re: Need help displaying note names in 2.22

2023-08-06 Thread Jean Abou Samra
Le dimanche 06 août 2023 à 18:36 +0200, Robin Bannister a écrit : > David Kastrup wrote: > > > > Note names have changed to use ♯ and ♭ characters, so you need to look > > up "c♯" instead of "cis". > > > I got no hits that way. That's because the sharp sign is printed with \markup

Re: Need help displaying note names in 2.22

2023-08-06 Thread Robin Bannister
David Kastrup wrote: Note names have changed to use ♯ and ♭ characters, so you need to look up "c♯" instead of "cis". I got no hits that way. An alternative is to add printAccidentalNames = #'lily to the NoteNames \with. And if I change the "es" lookup key to the more canonical "ees"

Re: Need help displaying note names in 2.22

2023-08-06 Thread Michael Werner
t the sharp/flat note names properly. > C# & Eb are not displayed. > Can you please help? > --- > > > \version "2.22.1" > chimenames = > #`( > ("c" . "C") > ("cis" . "C♯") >("

Re: Need help displaying note names in 2.22

2023-08-06 Thread David Kastrup
Silvain Dupertuis writes: > Strange... > I tried a few things, but did not find a way to make it work. > > I noticed  2 things : > > 1. In this association table : > chimenames = > #`( >     ("c" . "C") >     ("cis" . "C♯") >     ("d" . "D") >     ("es" . "E♭") > ) > It only takes into account

Re: Need help displaying note names in 2.22

2023-08-06 Thread Silvain Dupertuis
s in December 2022, and it worked well since. Today I noticed that I can't get the sharp/flat note names properly. C# & Eb are not displayed. Can you please help? --- \version "2.22.1" chimenames = #`(     ("c" . "C")     ("cis" . "

Need help displaying note names in 2.22

2023-08-05 Thread Viktor Mastoridis
Hello, I have been using the syntax below for several years; the last code update I did was in December 2022, and it worked well since. Today I noticed that I can't get the sharp/flat note names properly. C# & Eb are not displayed. Can you please help? --- \version &qu

Re: Help with satb.ly and repeated lyrics

2023-07-20 Thread Mark Probert
You wrote: > > use the alignBelowContext property to tell Lilypond where to put the Lyrics: > Thanks, Valentin! I see how that is used now (section 5.1.7). Much appreciated ..mark.

Re: Help with satb.ly and repeated lyrics

2023-07-20 Thread Valentin Petzel
Hello Mark, use the alignBelowContext property to tell Lilypond where to put the Lyrics: \version "2.24" SopranoMusic = \relative { \repeat volta 2 {a' a a a } } AltoMusic = \relative { f' f f f } TenorMusic = \relative { a a a a } BassMusic = \relative { f f f f } VerseOne = \lyricmode {

Help with satb.ly and repeated lyrics

2023-07-19 Thread Mark Probert
Hi. I am setting a hymn, using the satb.ly template, that has an A1A2B structure where there are different lyrics for A1 and A2 and the same music. My first attempt is: \version "2.24" SopranoMusic = \relative { \repeat volta 2 {a' a a a } } AltoMusic = \relative { f' f f f }

Re: TrillSpan help

2023-06-16 Thread Mark Probert
Thank you! ..m. > On 16 Jun 2023, at 19:40, Kieren MacMillan > wrote: > > Hi Mark, > >> Is there a way of finding out about the various objects and their names? > > https://lilypond.org/doc/v2.25/Documentation/internals/all-layout-objects > > Hope that helps! > Kieren. >

Re: TrillSpan help

2023-06-16 Thread Jean Abou Samra
Le vendredi 16 juin 2023 à 19:36 +1000, Mark Probert a écrit : > > Many thanks, Jean. > > I kinda knew there would be a simple solution, but I had trouble finding > “TrillSpanner.” Is there a way of finding out about the various objects and > their names? Sure. Method 1: you look at the

Re: TrillSpan help

2023-06-16 Thread Kieren MacMillan
Hi Mark, > Is there a way of finding out about the various objects and their names? https://lilypond.org/doc/v2.25/Documentation/internals/all-layout-objects Hope that helps! Kieren. __ My work day may look different than your work day. Please do not

Re: TrillSpan help

2023-06-16 Thread Mark Probert
Many thanks, Jean. I kinda knew there would be a simple solution, but I had trouble finding “TrillSpanner.” Is there a way of finding out about the various objects and their names? ..m. > On 16 Jun 2023, at 18:39, Jean Abou Samra wrote: > > Le vendredi 16 juin 2023 à 17:54 +1000, Mark

Re: TrillSpan help

2023-06-16 Thread Jean Abou Samra
Le vendredi 16 juin 2023 à 17:54 +1000, Mark Probert a écrit : > Hi. > > According to the manual "A hairpin ending on a downbeat will stop at > the preceding barline." By default, I've found this to be true of > \startTrillSpan \stopTrillSpan as well. > > With hairpins there is an override

TrillSpan help

2023-06-16 Thread Mark Probert
uded. Does there exist such a feature for trills? In the example note how the trill and the hairpin don't match. I am clearly missing something... Any help appreciated, and many thanks! .. mark. --- \version "2.24" tune = \relative c'' { \clef treble \time 4/4 \override Hairpin.to

Re: help me to install app

2023-06-09 Thread Jean Abou Samra
> Le 9 juin 2023 à 17:52, a...@daomauht.com a écrit : > >  > Hello everyone, I have downloaded for my windows. I really don't know where > to find the file to install please help me. > Welcome. Have you seen the tutorial? https://lilypond.org/doc/v2.24/Documentation/learning/installing

  1   2   3   4   5   6   7   8   9   10   >