Re: Setting Gregorian chant: Note spacing for two note neumes seem to depend on length of lyric text

2024-10-14 Thread Matthew Fong
Dear LilyPonders, It appears Aaron is no longer taking emails. I'd appreciate a bit of insight from you all on what is preventing his code from working with LyricText.self-alignment-X. Many thanks, Matt On Mon, Oct 14, 2024 at 3:10 PM Matthew Fong wrote: > Dear Aaron, > > I hop

Re: Setting Gregorian chant: Note spacing for two note neumes seem to depend on length of lyric text

2024-10-14 Thread Matthew Fong
11:32 AM Aaron Hill wrote: > On 2020-10-05 10:35 am, Matthew Fong wrote: > > Hello Aaron, > > > > Thank you for your help. That does make sense to me and works out quite > > well -- I don't yet have a grasp how various commands and settings are > > actuall

Re: Parenthesize a group of notes with a square bracket

2024-10-07 Thread Matthew Fong
Thank you, Trevor and Mats, for the insights! On Sun, Oct 6, 2024 at 1:20 PM Mats Bengtsson wrote: > In LSR, you can also find https://lsr.di.unimi.it/LSR/Item?id=377 > >/Mats > On 2024-10-06 21:52, Trevor Bača wrote: > > > > On Thu, Oct 3, 2024 at 2:24 PM Matthe

Parenthesize a group of notes with a square bracket

2024-10-03 Thread Matthew Fong
Dear LilyPonders, I've been trying to combine two solutions in the LSR, but I haven't been able to figure out how. I want *square brackets* for parenthesizing a group of notes 1/ Parenthesize a group of notes using a Scheme function https://lsr.di.unimi.it/LSR/Item?id=902 2/ Using brackets inste

issue with duration-lines from tied notes

2024-09-10 Thread Matthew Burns
nfused with. I found two parts of a piece I wrote of a tiei to a note with a duration line. All examples work as expected without being tied to. If anyone can let me know why this happens I'd be interested. I think now I've done this I can work around it, but it's a bit annoying.

Re: \after syntax?

2024-02-22 Thread Matthew Pierce
Thanks to all for the assist! The new-coder mistake I had made was in mentally attaching the \after function to the entire measure, instead of the note in question. Best, Matt From: Michael Werner Sent: Wednesday, February 21, 2024 12:41 PM To: Matthew Pierce

\after syntax?

2024-02-21 Thread Matthew Pierce
Hello all, For hairpin positioning within a whole note, the Manual gives the syntax \relative { \after 2 \< c'1 } Is there an effective \after syntax for hairpin positioning within NON-whole notes, such as the second note in this (intuitive but) nonviable expression? \relative { \af

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 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 using a Scheme variable in a function

2024-01-06 Thread Matthew Fong
d 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-

Re: Help using a Scheme variable in a function

2024-01-06 Thread Matthew Fong
attfong On Sat, Jan 6, 2024 at 3:21 PM Matthew Fong wrote: > 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

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) #(define

Re: Not sure how to construct an example--need to mark repeat signs underneath, without wrapping to next line

2023-03-07 Thread Matthew Probst
Oh, I was operating on old/incorrect info on how to do this. That works perfectly, thanks! On Tue, Mar 7, 2023 at 10:45 AM Jean Abou Samra wrote: > Le mardi 07 mars 2023 à 10:29 -0600, Matthew Probst a écrit : > > I'm not quite sure how to construct an example--I'm working

Not sure how to construct an example--need to mark repeat signs underneath, without wrapping to next line

2023-03-07 Thread Matthew Probst
I'm not quite sure how to construct an example--I'm working on my scoring for rock/funk band, and I have everything under control due to the great help I've received here. One final sticking point is that I like to mark repeat signs underneath with a "2x" or "4x". I've been using tweaked \marks:

Re: Wondering if there's a way to not just hide N.C symbols, but have them not erase "current" chord.

2023-02-24 Thread Matthew Probst
e vendredi 17 février 2023 à 19:03 -0600, Matthew Probst a écrit : > > This is indeed the first time I'm really understanding adding properties > to notes with music functions, and it makes much more sense to me now that > I'm deeper in this than it did in the past. > > Good t

Re: Wondering if there's a way to not just hide N.C symbols, but have them not erase "current" chord.

2023-02-17 Thread Matthew Probst
06 PM Jean Abou Samra wrote: > Le vendredi 17 février 2023 à 16:58 -0600, Matthew Probst a écrit : > > One last question regarding this: > >- Given that now I have a way to not have to set the N.C. symbol to >the empty string, is there a way to preserve a method of using

Re: Wondering if there's a way to not just hide N.C symbols, but have them not erase "current" chord.

2023-02-17 Thread Matthew Probst
ing a variable or function to wrap it? That would be nice to know, but not absolutely necessary. Thanks yet again. On Fri, Feb 17, 2023 at 4:48 PM Jean Abou Samra wrote: > Le vendredi 17 février 2023 à 16:39 -0600, Matthew Probst a écrit : > > I'm working on charts/scores for a

Re: Wondering if there's a way to not just hide N.C symbols, but have them not erase "current" chord.

2023-02-17 Thread Matthew Probst
me immeasurable time that would have been taken manually writing out parts in /notemode. On Fri, Feb 17, 2023 at 4:48 PM Jean Abou Samra wrote: > Le vendredi 17 février 2023 à 16:39 -0600, Matthew Probst a écrit : > > I'm working on charts/scores for a full rock/funk band perform

Wondering if there's a way to not just hide N.C symbols, but have them not erase "current" chord.

2023-02-17 Thread Matthew Probst
I'm working on charts/scores for a full rock/funk band performance, and I am wondering whether there's an easy way to do what I'm looking for. I understand chordmode and nodemode, and I understand how to set up separate voices to show the chordnames and a pitch squashed rhythmic notation of hte ch

Re: flat symbol in text?

2023-01-06 Thread Matthew Pierce
ypond-user-bounces+piercello=hotmail@gnu.org on behalf of David Kastrup Sent: Tuesday, January 3, 2023 11:52 AM To: Matthew Pierce Cc: lilypond-user@gnu.org Subject: Re: flat symbol in text? Matthew Pierce writes: > How might I display the text "Bb Major," but with the fla

Re: flat symbol in text?

2023-01-03 Thread Matthew Pierce
That worked, thank you! I will play with the syntax and learn from it. -M From: Rip _Mus Sent: Tuesday, January 3, 2023 9:15 AM To: Matthew Pierce Cc: Jean Abou Samra ; Lilypond-User Mailing List Subject: Re: flat symbol in text? Hello, try instrumentName

Re: flat symbol in text?

2023-01-03 Thread Matthew Pierce
a Sent: Tuesday, January 3, 2023 8:53 AM To: Matthew Pierce ; lilypond-user@gnu.org Subject: Re: flat symbol in text? > Le 03/01/2023 15:45 CET, Matthew Pierce a écrit : > > > How might I display the text "Bb Major," but with the flat symbol instead of > a lower ca

flat symbol in text?

2023-01-03 Thread Matthew Pierce
How might I display the text "Bb Major," but with the flat symbol instead of a lower case "b"? Thanks to all, Matt

Re: extension fingerings, key sigs

2022-12-20 Thread Matthew Pierce
_ From: William Rehwinkel Sent: Tuesday, December 20, 2022 7:28 PM To: Matthew Pierce; lilypond-user@gnu.org Subject: Re: extension fingerings, key sigs Dear Matt, This snippet should answer both of your questions, let me know if you have any other questions about this. Depending on exactl

extension fingerings, key sigs

2022-12-20 Thread Matthew Pierce
I am writing a scale page for my cello students. Since each line is a new scale, each line has a new key signature. Two basic questions: How do I keep the new key signature from also appearing at the end of the previous line? Also, how can I write { 1 x 2 4 } in the fingering font, adding an "

Re: using snippets

2022-09-09 Thread Matthew Pierce
"Re-positioning note heads on the other side of the stem." But if you could show me instead how to slur from one polyphonic voice to another within the same staff, my stated problem would go away. 8-) (replying to all this time) From: lilypond-user on behalf

using snippets

2022-09-09 Thread Matthew Pierce
I have found a snippet function I would like to try, lilypond-user@gnu.org But I have no idea how to access the code. Any guidance would be gratefully accepted.

String roman numerals in 2.22.2

2022-08-01 Thread Matthew Pierce
New LilyPond user here, hello everyone. Fantastic tool. Anyone got a method for roman numeral string indications on artificial harmonics in 2.22.2? This code \romanStringNumbers \set stringNumberOrientations = #'(down) 8-1-4\2 gave me an 8th note with a diamondhead [c] above notehead [g]

Re: ANN: Frescobaldi 3.2

2022-05-05 Thread Matthew Probst
Just to clarify--if the pageview thingy is now required to be installed first, does that mean that a future packaged Windows version might have that plus the appropriate verison of Python packaged with it? I'm fine waiting for that, but wanted to know. On Thu, May 5, 2022 at 12:41 AM Wilbert Bere

Re: Inter-staff bar line for ChoirStaff?

2022-03-18 Thread Matthew Fong
Dear Valentine and Jean, Many thanks for the help and documentation. I think once upon a time Aaron or someone else gave me the link. Good to have it again. mattfong On Fri, Mar 18, 2022 at 3:08 PM Valentin Petzel wrote: > Hello Matthew, > > and or can be done by (or ...), like (or

Re: Inter-staff bar line for ChoirStaff?

2022-03-18 Thread Matthew Fong
Hello Valentin, Awesome. I've been wanting to learn more Scheme! I just need to figure out OR statements to get a final bar! Many thanks, mattfong On Thu, Mar 17, 2022 at 7:11 PM Valentin Petzel wrote: > Hello Matthew, > > if you want you can even automatise this: > &

Re: Inter-staff bar line for ChoirStaff?

2022-03-17 Thread Matthew Fong
Dear Jean, Grazie mille! This is exactly what I was looking for: [image: Screen Shot 2022-03-17 at 16.43.13.png] Many thanks, mattfong On Thu, Mar 17, 2022 at 3:55 PM Jean Abou Samra wrote: > > > Le 17/03/2022 à 23:22, Matthew Fong a écrit : > > Hello Jean, > > > >

Re: Inter-staff bar line for ChoirStaff?

2022-03-17 Thread Matthew Fong
n Thu, Mar 17, 2022 at 3:07 PM Jean Abou Samra wrote: > > > Le 17/03/2022 à 23:03, Matthew Fong a écrit : > > Dear LilyPonders, > > > > I'm using ChoirStaff to typeset some SATB vocal music, but for clarity > > to the singers, I wanted to extend the double bar

Inter-staff bar line for ChoirStaff?

2022-03-17 Thread Matthew Fong
Dear LilyPonders, I'm using ChoirStaff to typeset some SATB vocal music, but for clarity to the singers, I wanted to extend the double bar so that it is also in between the bar lines. The ChoirStaff doesn't allow this per LilyPond documentation ( https://lilypond.org/doc/v2.23/Documentation/notati

Re: Cannot eliminate layout block in score block?

2022-03-13 Thread Matthew Fong
Hello David, Many thanks for explaining that. Makes complete sense now! mattfong On Sat, Mar 12, 2022 at 9:35 PM David Wright wrote: > On Sat 12 Mar 2022 at 20:14:41 (-0800), Matthew Fong wrote: > > Hello Lilypond friends, > > > > I am working on a polyphone piece of

Cannot eliminate layout block in score block?

2022-03-12 Thread Matthew Fong
Hello Lilypond friends, I am working on a polyphone piece of music which employs a ChoirStaff, and proceeded to make a local layout block in the score a global one. The include to make a *global* layout block works just fine, but if I eliminate the layout block in the score block itself, the musi

Re: Notehead substitution and Slur overrides

2022-03-09 Thread Matthew Fong
custom. Many thanks, mattfong On Wed, Mar 9, 2022 at 3:28 PM Jean Abou Samra wrote: > Le 09/03/2022 à 17:13, Matthew Fong a écrit : > > Dear Jean and LilyPond friends, > > > > My apologies for not initially including this, and it took time to get > > this reduction;

Re: Notehead substitution and Slur overrides

2022-03-07 Thread Matthew Fong
Dear Jean, My apologies for not including code. I will get an example out shortly, along with the quilismaPathGreciliae. Many thanks, mattfong On Sun, Mar 6, 2022 at 11:06 PM Jean Abou Samra wrote: > Le 04/03/2022 à 05:17, Matthew Fong a écrit : > > Hello everyone, > >

Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac

2022-02-09 Thread Matthew Fong
Hello Jesse, On the Mac, to place fonts in the typical location (~/Library/Fonts), you need to modify the /opt/local/etc/fonts/local.conf file. I am using MacPorts, which puts /etc in /opt/local; HomeBrew may place it elsewhere. The modification is as follows: In the section, add *~/Library/Fo

Re: How to add a horizontal line after every third verse?

2021-10-16 Thread Matthew Fong
closer to the lower ones. > > But you should be able to simply remove the line to fix the warning. > > Cheers, > Valentin > > 16.10.2021 20:39:00 Matthew Fong : > > Dear Colin and Valentin, > > Confirmed solution works. Also have the same warning. > > >

Re: How to add a horizontal line after every third verse?

2021-10-16 Thread Matthew Fong
finities should only decrease" > > But even so it works well > > Thank you > === > Colin Baguley > co...@baguley.net > === > > > On Sat, 16 Oct 2021 at 08:52, Valentin Petzel wrote: > >> Hel

Re: How to add a horizontal line after every third verse?

2021-10-15 Thread Matthew Fong
s really good - thank you so much. > === > Colin Baguley > co...@baguley.net > === > > > On Thu, 14 Oct 2021 at 23:28, Valentin Petzel wrote: > >> Hello Matthew, >> >> Just for instruction: To use my

Re: How to add a horizontal line after every third verse?

2021-10-14 Thread Matthew Fong
Thank you all. I will give both options a try and report back. All the best, mattfong On Thu, Oct 14, 2021 at 1:25 PM Valentin Petzel wrote: > Hello Colin, hello Matthew, > > Consider this method I created for Kira a week ago. > > Cheers, > Valentin

Re: considering getting a new mac that has the new M chip; does Lilypond install/run ok?

2021-09-24 Thread Matthew Fong
Hello Kenneth, I've installed LilyPong from MacPorts, along with MacTeX on my M1 MacMini. Alas, it's no faster than my 2019 iMac for compilation. But far more energy efficient, and no fans at full speed when compiling hundreds of files for PDF output. It's a wonderful computing experience. mattf

64 bit lilypond on MacOs

2021-09-19 Thread Matthew Lewis
there was a thread back in February 2021 that recommended Macports for accessing >2.20.0 on MacOS Catalina and beyond. https://www.mail-archive.com/lilypond-user@gnu.org/msg143420.html I'd also recommend using Docker: https://hub.docker.com/r/jeandeaual/lilypond mlewis

Re: Adjusting horizontal space from notehead to bar line

2021-08-23 Thread Matthew Fong
Dear Aaron, Brilliant! That was what was missing! Many thanks, mattfong On Mon, Aug 23, 2021 at 6:23 PM Aaron Hill wrote: > On 2021-08-23 4:03 pm, Matthew Fong wrote: > > Hello Hans, LilyPonders, > > > > Thank you! I added the line to my Staff context, and eve

Re: Adjusting horizontal space from notehead to bar line

2021-08-23 Thread Matthew Fong
mattfong On Mon, Aug 23, 2021 at 11:52 AM Hans Aikema wrote: > > > On 23 Aug 2021, at 17:42, Matthew Fong wrote: > >  > Hello fellow Lilyponders, > > I'm looking around the documentation on NoteHead to Barline spacing, and > I'm not finding much? Any point

Adjusting horizontal space from notehead to bar line

2021-08-23 Thread Matthew Fong
Hello fellow Lilyponders, I'm looking around the documentation on NoteHead to Barline spacing, and I'm not finding much? Any pointers will be helpful. My goal is to add a bit more space from the first note to the last Barline, for every measure. It seems a bit too close even with the staff size a

Re: Can I switch off automatic repetition of spanner text?

2021-05-12 Thread Matthew Munro
Many thanks, Jean and Leo (and in advance any other repliers). This is a big help. Best to all.

Can I switch off automatic repetition of spanner text?

2021-05-12 Thread Matthew Munro
noticed (in Ravel) that there is another method for spanning text: breaking up the words into letters or groups of letters, to make the words last throughout the span. Does Lilypond have any facility for this? Best wishes, Matthew

Re: Is there a way to prevent tied notes from triggering multiple note names with \context NoteNames?

2021-04-09 Thread Matthew Probst
I tried Jean's solution and it seems to work perfectly. Need to try Phil's solution too.

Re: Is there a way to prevent tied notes from triggering multiple note names with \context NoteNames?

2021-04-09 Thread Matthew Probst
Samra wrote: > > Le 09/04/2021 à 17:15, Matthew Probst a écrit : > > I've been using Lilypond to create lead sheets for a band that I'm in, > > and it works great for that. Between that and a website I use for > > generating simple chord charts, we're covered fo

Is there a way to prevent tied notes from triggering multiple note names with \context NoteNames?

2021-04-09 Thread Matthew Probst
I've been using Lilypond to create lead sheets for a band that I'm in, and it works great for that. Between that and a website I use for generating simple chord charts, we're covered for our notation purposes. I have some less skilled note readers in the band--they can read rhythm notation, and g

Re: Extracting pitch of first note, then assign duration

2021-03-08 Thread Matthew Fong
Hello Silvain, That's super interesting -- thank you for your link. I will take time to read through your code. When I have access to a piano sometime, I think Bach will certainly make the list. Many thanks, mattfong

Re: Writing Scheme in Lilypond to control glyph used for custom custos function

2021-03-08 Thread Matthew Fong
staff-pos)) 1 0) Many thanks, mattfong On Mon, Mar 8, 2021 at 2:55 AM Thomas Morley wrote: > Am Mo., 8. März 2021 um 02:26 Uhr schrieb Matthew Fong >: > > > > Hello everyone, > > > > > > I'm writing a function that places a custos after the double bar t

Writing Scheme in Lilypond to control glyph used for custom custos function

2021-03-07 Thread Matthew Fong
Hello everyone, I'm writing a function that places a custos after the double bar to give singers an indication of the pitch of their next note. Usually, custos are are used within a piece, but in chant, I have verses that are part of new scores, and it is helpful to indicate the pitch of the firs

Re: Extracting pitch of first note, then assign duration

2021-03-07 Thread Matthew Fong
tencil ##f $(first (music-pitches noteList)) 4 #} ) Many thanks, mattfong On Sun, Mar 7, 2021 at 11:54 AM Lukas-Fabian Moser wrote: > Hi Matthew, > > Am 07.03.21 um 20:03 schrieb Matthew Fong: > > I am in the process of writing a note replacement function that allows > > me to

Extracting pitch of first note, then assign duration

2021-03-07 Thread Matthew Fong
Hello everyone, I am in the process of writing a note replacement function that allows me to place a custos anywhere I might need. I am stuck on writing a function that extracts the pitch of the first note, given a list of notes, and then forcing a duration of 1/4. Any pointers would be appreciat

Re: Setting Gregorian chant: Note spacing for two note neumes seem to depend on length of lyric text

2020-12-12 Thread Matthew Fong
Hello Aaron, everyone, I finally resolved this issue without the use of any additional hacks. It was necessary to set \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/4) This 'squishes' everything together. Many thanks, mattfong On Wed, Oct 21, 2020 at 8:07

Re: Scheme help request: How can else of an if-statement be made to do nothing?

2020-12-11 Thread Matthew Fong
Hello Aaron, This makes sense, and the let statement is something I was missing (!) mattfong On Fri, Dec 11, 2020 at 12:54 PM Aaron Hill wrote: > On 2020-12-11 12:30 pm, Matthew Fong wrote: > > Hello Aaron, > > > >> .< Oh boy, that is *simple*. I went off the deep

Re: Scheme help request: How can else of an if-statement be made to do nothing?

2020-12-11 Thread Matthew Fong
syntax. Many thanks, mattfong On Fri, Dec 11, 2020 at 12:07 PM Aaron Hill wrote: > On 2020-12-11 10:43 am, Matthew Fong wrote: > > Hello everyone, > > > > Resurrecting an old thread. I've been trying my hand in Scheme > > programming, > > via small examples on the

Re: Scheme help request: How can else of an if-statement be made to do nothing?

2020-12-11 Thread Matthew Fong
Hello everyone, Resurrecting an old thread. I've been trying my hand in Scheme programming, via small examples on the project I'm working on. I wanted to extend the variable list to this function Harm wrote, to take an extra boolean variable, which is pretty trivial. The boolean is meant to chang

Re: Stanza Collision

2020-12-06 Thread Matthew Fong
Hello Fr Samuel, It sounds like we are solving almost the same issue with note entry, and Aaron Hill created a function which basically scales note values so that they group together nicely. And the clutter from manual scaling is removed entirely. However, I am using fixed time (1/4). And to 'for

Re: Controlling bar to note spacing on final measure

2020-12-05 Thread Matthew Fong
7;(-1 . 0) \bar "||" } Many thanks, mattfong On Sat, Dec 5, 2020 at 8:04 AM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Matthew, > > > Would there be a programmatic way to control the spacing of the final > bar to the final note? > > If

Controlling bar to note spacing on final measure

2020-12-05 Thread Matthew Fong
Hello everyone, Would there be a programmatic way to control the spacing of the final bar to the final note? At the moment, I just use s4 or s4. just to add a tiny bit of space so it doesn't feel as cramped. I do have the following override enabled to compact the spacing of the notes for chant, wh

Re: Control of score visibility based on variables

2020-12-05 Thread Matthew Fong
-condition (add-score score))) But I'm really no Scheme expert. Still hacking my way through. Many thanks, mattfong On Thu, Dec 3, 2020 at 8:45 AM Lukas-Fabian Moser wrote: > Hi Matthew, > > Am 03.12.20 um 01:50 schrieb Matthew Fong: > > ... and I will have use of question? Di

Re: Control of score visibility based on variables

2020-12-02 Thread Matthew Fong
... and I will have use of question? Didn't know about that! On Wed, Dec 2, 2020 at 1:49 PM Matthew Fong wrote: > Hello Wim and Lukas, > > Many thanks for chiming in. I do like the cleaner solutions. At some point > in the future, I will turn my work over to someone else

Re: Control of score visibility based on variables

2020-12-02 Thread Matthew Fong
Hello Wim and Lukas, Many thanks for chiming in. I do like the cleaner solutions. At some point in the future, I will turn my work over to someone else, and they get to figure out some of these details! mattfong On Wed, Dec 2, 2020 at 5:16 AM Lukas-Fabian Moser wrote: > Hi Matthew, >

Re: Control of score visibility based on variables

2020-12-01 Thread Matthew Fong
Dec 1, 2020 at 7:15 AM Matthew Fong wrote: > Hello Vaughan, > > Many thanks for this. I haven't read up using books. This seems like it > will do the trick! > > > mattfong > > On Mon, Nov 30, 2020 at 8:22 PM Vaughan McAlley > wrote: > >> On Tue, 1 Dec 20

Re: Control of score visibility based on variables

2020-12-01 Thread Matthew Fong
Hello Vaughan, Many thanks for this. I haven't read up using books. This seems like it will do the trick! mattfong On Mon, Nov 30, 2020 at 8:22 PM Vaughan McAlley wrote: > On Tue, 1 Dec 2020 at 04:08, Matthew Fong wrote: > > > > Hello everyone, > > > > I hav

Control of score visibility based on variables

2020-11-30 Thread Matthew Fong
Hello everyone, I have multiple scores in my LilyPond file, and I was wondering if there is a programmatic way to selectively hide and show scores based on variables, or would this have to be done at the note and lyrics level? Many thanks, mattfong

Re: Line spacing (leading) of verses in a hymn

2020-11-27 Thread Matthew Fong
Hello Aaron, This is clear now. Many thanks! And works really well. mattfong On Fri, Nov 27, 2020 at 5:10 PM Aaron Hill wrote: > On 2020-11-27 4:28 pm, Matthew Fong wrote: > > Hello Aaron, > > > > With respect to the scale factor of 5 that you are using. Is that >

Re: Line spacing (leading) of verses in a hymn

2020-11-27 Thread Matthew Fong
Hello Aaron, With respect to the scale factor of 5 that you are using. Is that depending on staff size? I'm using #(layout-set-staff-size 18) at the moment. Many thanks, mattfong On Fri, Nov 27, 2020 at 4:11 PM Matthew Fong wrote: > Hello Aaron, > > That did the trick, setti

Re: Line spacing (leading) of verses in a hymn

2020-11-27 Thread Matthew Fong
Hello Aaron, That did the trick, setting the minimum-distance. I haven't been using these settings, but clearly they interact. Will play around some more. Many thanks, mattfong On Fri, Nov 27, 2020 at 3:09 PM Aaron Hill wrote: > On 2020-11-27 2:56 pm, Matthew Fong wrote: > &g

Line spacing (leading) of verses in a hymn

2020-11-27 Thread Matthew Fong
Hello everyone! I hope everyone who celebrated Thanksgiving had a wonderful time. My question is how is the line spacing (leading) controlled for the verses in a hymn? The specifications I have are a 10pt font for the lyrics, with a 12pt leading (text baseline to text baseline spacing). I've atta

Re: Setting Gregorian chant: Note spacing for two note neumes seem to depend on length of lyric text

2020-10-21 Thread Matthew Fong
, Oct 21, 2020 at 3:30 PM Aaron Hill wrote: > On 2020-10-20 12:07 pm, Matthew Fong wrote: > > I've been a little puzzled by a LilyPond layout issue. I apologize in > > advance for the long example, so I have included the input .ly files, > > and > > sample out

Re: Scheme: Syntax for storing a variable in an alist

2020-10-18 Thread Matthew Fong
Oct 18, 2020 at 10:13 PM Aaron Hill wrote: > On 2020-10-18 5:36 pm, Matthew Fong wrote: > > Hello everyone, > > > > I am likely in over my head with nesting pairs. I read the > > documentation > > link from Jean, and I don't completely understand the

Re: Scheme: Syntax for storing a variable in an alist

2020-10-18 Thread Matthew Fong
(55 . "ee") (66 . "ff"))) (3 quote ((77 . "gg") (88 . "hh") (99 . "ii") guile> (car b) (1 quote ((11 . "aa") (22 . "bb") (33 . "cc"))) guile> (cdr b) ((2 quote ((44 . "dd") (55 . "ee") (6

Re: Scheme: Syntax for storing a variable in an alist

2020-10-18 Thread Matthew Fong
actic sugar, likely because I may not understand how nested pairs work. dictHymnValue = #(ly:assoc-get 'ID dictHymn.HymnOne "error") \markup \dictHymnValue Many thanks, mattfong On Sun, Oct 18, 2020 at 3:35 PM David Kastrup wrote: > Jean Abou Samra writes: > > > Le 18/10/2020

Re: Scheme: Syntax for storing a variable in an alist

2020-10-18 Thread Matthew Fong
-10-18 12:42 pm, Matthew Fong wrote: > > Hello everyone, > > > > I am having a bit of an issue storing a variable in an alist, and I was > > wondering if you all could point out what I am doing wrong. If I write > > the > > string directly, there's no issu

Scheme: Syntax for storing a variable in an alist

2020-10-18 Thread Matthew Fong
Hello everyone, I am having a bit of an issue storing a variable in an alist, and I was wondering if you all could point out what I am doing wrong. If I write the string directly, there's no issue retrieving it ... my-alist = #'((1 . "A") (2 . "B") (3 . "C")) value = #(ly:assoc-get 2 my-alist "

Re: Scheme help request: How can else of an if-statement be made to do nothing?

2020-10-17 Thread Matthew Fong
Thanks for the pointer, Harm. Matt On Sat, Oct 17, 2020 at 13:14 Thomas Morley wrote: > Am Sa., 17. Okt. 2020 um 22:09 Uhr schrieb John Schlomann > : > > > > Harm, > > > > You used a function or macro called add-text. I can't seem to find it in > any LilyPond or Guile manual. What is that? > >

Re: Scheme help request: How can else of an if-statement be made to do nothing?

2020-10-17 Thread Matthew Fong
wrote: > Am Sa., 17. Okt. 2020 um 19:39 Uhr schrieb Jean Abou Samra < > j...@abou-samra.fr>: > > > > Hi, > > > > Le 17/10/2020 à 19:27, Matthew Fong a écrit : > > > > > Hello Richard, > > > > > > I just discovered your explana

Re: Scheme help request: How can else of an if-statement be made to do nothing?

2020-10-17 Thread Matthew Fong
34 -0700, Matthew Fong wrote: > > Hello everyone, > > > > No less than 10 minutes after, I discovered I skipped the section on > > cond. That solves everything! > > I think you are missing something here: the if macro in Scheme does not > require an else expression > &g

Re: Scheme help request: How can else of an if-statement be made to do nothing?

2020-10-17 Thread Matthew Fong
Hello everyone, No less than 10 minutes after, I discovered I skipped the section on cond. That solves everything! Many thanks, mattfong On Sat, Oct 17, 2020 at 9:27 AM Matthew Fong wrote: > Hello everyone, > > I've been digging into guile/scheme and LilyPond, and it doesn&#

Scheme help request: How can else of an if-statement be made to do nothing?

2020-10-17 Thread Matthew Fong
Hello everyone, I've been digging into guile/scheme and LilyPond, and it doesn't appear that else-statements can be empty. Any pointers would be appreciated in advance. For the example below, I would prefer the else-statement here to do nothing, rather than print an empty markup: \markup { "" },

Re: Markup in left and right margins

2020-10-15 Thread Matthew Fong
Hello Aaron, Wowsers -- I am dense. That completely makes sense. And it is simple! Many thanks, mattfong On Thu, Oct 15, 2020 at 6:46 PM Aaron Hill wrote: > On 2020-10-15 6:03 pm, Matthew Fong wrote: > > Many thanks for the solution of translation. I'm toying around with it

Re: Markup in left and right margins

2020-10-15 Thread Matthew Fong
e #90 "This is a test" } Many thanks, mattfong On Thu, Oct 15, 2020 at 3:23 AM Aaron Hill wrote: > On 2020-10-15 2:53 am, Andrew Bernard wrote: > > Hi Matthew, > > > > A good question. But I would have thought that margins are exactly > > that - margins. I do

Markup in left and right margins

2020-10-14 Thread Matthew Fong
Hello everyone, Would anyone know if there is a way to add mark-up in the left and right margins of the page. There are footnotes and headers for the bottom and top of the page, respectively. For example, I might want to add notes in the margins, rather than in the music. Many thanks, mattfong

Re: No ledger for custodes beyond 5-line staff

2020-10-13 Thread Matthew Fong
Thank you, Aaron! This definitely works-around the bug. Looking forward to a fix in future LilyPond versions. On Tue, Oct 13, 2020 at 2:11 AM Werner LEMBERG wrote: > > >> I was engraving a piece of chant in modern notation recently, and > >> discovered that none of the custodes will draw a ledge

Re: Gregorian chant/Mensural notation: No ledger for custodes beyond 5-line staff

2020-10-12 Thread Matthew Fong
Hi everyone, I posted this to bug-lilyp...@gnu.org. I tried the code snippet at lilybin.com, and both versions there produce the same result as the latest stable version 2.20. Many thanks, mattfong On Sat, Oct 10, 2020 at 9:50 AM Matthew Fong wrote: > Hello fellow LilyPonders, > &

Gregorian chant/Mensural notation: No ledger for custodes beyond 5-line staff

2020-10-10 Thread Matthew Fong
Hello fellow LilyPonders, I was engraving a piece of chant in modern notation recently, and discovered that none of the custodes will draw a ledger for middle C (C4) or A5, notes beyond the 5-line staff. These notes do occur in chant and polyphony. Is there a workaround for this? Or have I missed

How to run Lilypond programatically from Python instead of calling the Lilypond executable to generate sheet music?

2020-10-09 Thread Matthew Moisen
-lilypond> if anyone wants to answer. Best regards, Matthew

Re: Setting Gregorian chant: Note spacing for two note neumes seem to depend on length of lyric text

2020-10-08 Thread Matthew Fong
Hello Aaron, Thanks for pointing out the many ways LilyPond can accomplish something. Going to play around with those options! Many thanks, mattfong On Wed, Oct 7, 2020 at 6:11 PM Aaron Hill wrote: > On 2020-10-07 11:03 am, Matthew Fong wrote: > > I suppose I could also use mark

Re: Setting Gregorian chant: Note spacing for two note neumes seem to depend on length of lyric text

2020-10-07 Thread Matthew Fong
e markup on the note if it's a graphical articulation? Many thanks, mattfong On Wed, Oct 7, 2020 at 10:06 AM Aaron Hill wrote: > On 2020-10-07 8:44 am, Matthew Fong wrote: > > Hello Aaron, > > > > I did find an issue with your syllable function. It seems to swallow up

Re: Setting Gregorian chant: Note spacing for two note neumes seem to depend on length of lyric text

2020-10-07 Thread Matthew Fong
'4.\( \melisma c'' b'\tenuto \melismaEnd } Many thanks, mattfong On Mon, Oct 5, 2020 at 12:48 PM Matthew Fong wrote: > Holy smokes. This is a thing of beauty. > > Thank you Aaron! Not everything notation can be automated away, and I'm > fine with the flexibility t

Re: Setting Gregorian chant: Note spacing for two note neumes seem to depend on length of lyric text

2020-10-05 Thread Matthew Fong
Holy smokes. This is a thing of beauty. Thank you Aaron! Not everything notation can be automated away, and I'm fine with the flexibility this offers. Many thanks, mattfong On Mon, Oct 5, 2020 at 11:32 AM Aaron Hill wrote: > On 2020-10-05 10:35 am, Matthew Fong wrote: > &g

Re: Setting Gregorian chant: Note spacing for two note neumes seem to depend on length of lyric text

2020-10-05 Thread Matthew Fong
ack to thread...) > > On 2020-10-05 9:07 am, Matthew Fong wrote: > > I'm dissecting your syllable code and have a question for you: How do I > > create a similar list using a slur instead of a melisma? I found this > > documentation, but not sure how to use it > >

Re: Setting Gregorian chant: Note spacing for two note neumes seem to depend on length of lyric text

2020-10-04 Thread Matthew Fong
accomplish the same thing in LilyPond, but understanding the internals sees to be key. I just have to start loving to write some scheme! Many thanks, mattfong On Sun, Oct 4, 2020 at 5:13 PM Aaron Hill wrote: > On 2020-10-04 2:17 pm, Matthew Fong wrote: > > (I apologize if I've p

Setting Gregorian chant: Note spacing for two note neumes seem to depend on length of lyric text

2020-10-04 Thread Matthew Fong
Hello LilyPonders, I am setting Gregorian chant in modern notation, using rhw example from the LilyPond online documentation on transcribing Gregorian chant located at http://lilypond.org/doc/v2.20/Documentation/notation/working-with-ancient-music_002d_002dscenarios-and-solutions I have two quest

  1   2   3   >