Re: Disable all padding and collision around markup

2024-05-19 Thread Kieren MacMillan
Hi Knute, >> There are ways to "disable the padding" (a.k.a. have the spacing engine >> ignore the TextScript). However, it might be just as easy — or maybe >> even easier? — to simply tweak the X-offset and Y-offset rather than >> using extra-offset: > The extra-offset happens late in the

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 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 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: Footnotes for the entire bar

2024-05-16 Thread Kieren MacMillan
Hi there, > I want to create footnotes which attach to a specified bar or just a > particular time Did you try attaching it to a mark? e.g. %%% SNIPPET BEGINS \version "2.25.11" \paper { tagline = ##f } fn_ossia = #(define-music-function (os music) (pair? ly:music?) #{ \once \override

Re: Scoop (jazz notation)

2024-05-14 Thread Kieren MacMillan
Hi Tim, > I have been looking for a way to write "scoops", a fairly common effect in > saxophone jazz. Have you searched the list archive? e.g., https://lists.gnu.org/archive/html/lilypond-user/2024-04/msg00125.html Hope that helps! Kieren. __ My

Re: Naming lines of music

2024-05-14 Thread Kieren MacMillan
Hi Giles, > The \mark command is centred. Can text be formatted to be left aligned (and > smaller)? Is there an initialisation parameter I can change to set its > default alignment? I can’t test what v2.18 does (that’s a very old version!), but 2.25.11 essentially** left-aligns the mark: %%%

Re: strange chord

2024-05-12 Thread Kieren MacMillan
Hi Werner, I mean… technically, it’s correct… but yuck. If I were customizing the name, I would probably have it say Em(addb4). At the very least it should say Emsusb4. — Kieren __ My work day may look different than your work day. Please do not feel

Re: Solving espressivo problem

2024-05-11 Thread Kieren MacMillan
Hi Mats, > On May 11, 2024, at 11:51 AM, Mats Bengtsson wrote: > I would rather do something like the following I started down that path, but when I saw that the output was I realized it would take far too much manual tweaking to make it visually attractive, whereas my \esp version gives

Re: Solving espressivo problem

2024-05-11 Thread Kieren MacMillan
Hi Morten, Here’s one approach: %%% SNIPPET BEGINS \version "2.25.11" esp = \markup \lower #1 \scale #'(1.375 . 1) \musicglyph #"scripts.espr" stuff = \relative { \time 4/4 r4 b'4 a2-\tweak self-alignment-X #-1.25 _\esp ~ a2 b4 4( c1)-\tweak self-alignment-X #-0.5 _\esp

Re: Spacing of chords on a chord lead sheet

2024-05-10 Thread Kieren MacMillan
Hi Raphael, > However, the chord names are mono-spaced; they are not spaced according to > their durations. So that if, for instance, I have {ef2 ef4:maj7 ef4:7} then > each symbol occupies the same amount of space on the line. The first chord > does not occupy double the space of the other

Re: Crammed ChordNames

2024-05-10 Thread Kieren MacMillan
Hi Pierre-Luc, >> I don’t know… but if you figure out what’s causing it, ***please*** tell me, >> because I also often (and “randomly”) get ChordName collisions like this in >> my scores, and my workflow is rarely (read: NEVER) luxurious enough for me >> to do anything except

Re: Crammed ChordNames

2024-05-10 Thread Kieren MacMillan
Hi Pierre-Luc, > Why am I so often, (and so randomly) getting crammed ChordNames in Staves ? I don’t know… but if you figure out what’s causing it, ***please*** tell me, because I also often (and “randomly”) get ChordName collisions like this in my scores, and my workflow is rarely (read:

Re: [basic question] how to disable text spanners for the lower staff of a PianoStaff

2024-05-10 Thread Kieren MacMillan
Hi James, > I've got a piano staff (for guzheng, just notating on two staves), and an > "accel." text spanner in a \global var. Don’t forget to post MWEs, so people who want to help don’t have to conjure code themselves. :) > Some magic incantation I'm missing... Not sure why your

Re: Spacing in mensural notation

2024-05-07 Thread Kieren MacMillan
Hi Giles, > I am new to Lilypond Welcome! > I would like to remove the space from around the notes and bunch them up like > in the original. I tried a couple of things I found that looked relevant - > they're commented out in my snippet - and "\compressEmptyMeasures" but to no > avail .

Re: how difficult would it be to have “auto-correct spacing” (even for just a single measure)?

2024-05-06 Thread Kieren MacMillan
Hi all, I found something that seems to work!! Hope this helps someone else. Best, Kieren. %%% SNIPPET BEGINS \version "2.25.11" \language "english" \layout { line-width = 3.5\in ragged-right = ##f } accidentalNoWidth = \tweak Accidental.extra-spacing-width #empty-interval \etc \markup

Re: how difficult would it be to have “auto-correct spacing” (even for just a single measure)?

2024-05-05 Thread Kieren MacMillan
Hi Valentin, > if you want you could tell Lilypond to ignore Accidentals in spacing In concept, I love this idea… However it doesn’t work 100%: %%% SNIPPET BEGINS \version "2.25.11" \language "english" \layout { line-width = 3.5\in ragged-right = ##f } ignoreH = \propertyTweak

Re: how difficult would it be to have “auto-correct spacing” (even for just a single measure)?

2024-05-05 Thread Kieren MacMillan
Hi Jean, > There might be ways to reduce the importance > of accidentals in the spacing problem I’ve tried a couple of different ways, but they are all pretty “destructive” (e.g., the accidentals are ignored entirely, so they end up on top of each other and the noteheads). Hopefully I can find

Re: how difficult would it be to have “auto-correct spacing” (even for just a single measure)?

2024-05-04 Thread Kieren MacMillan
Hi Werner, > You are aware of https://lsr.di.unimi.it/LSR/Item?id=1154 ? Oh! I vaguely recall that. Thanks for the reminder. I believe I applied it to my score, but it didn‘t make a change in m7. It might be because of the accidentals…? (See modified snippet acting as MWE, below.)

how difficult would it be to have “auto-correct spacing” (even for just a single measure)?

2024-05-04 Thread Kieren MacMillan
Hi all, It is difficult to put into words how happy I am using Lilypond. I had to use Sibelius for a project last year, and it was pure torture. As the old saying [almost] goes: “They’ll have to pry Lilypond out of my cold, dead hands!” Exhibit A: I’m in data-entry mode (i.e., not concerned

Re: The demise of ly:multi-measure-rest::percent

2024-05-03 Thread Kieren MacMillan
Hi Richard, >> is there a reason you don't use \repeat percent in the first place ? > It's easier for users of Denemo to have a single piece of LilyPond > syntax at the place they want to see the "%" How is this \repeat percent 2 { c c c c } not “a single piece of Lilypond syntax at the

Re: slurs problem with voices

2024-05-01 Thread Kieren MacMillan
Hi Robert, > I tried different approaches but cannot get that slur. \version "2.25.14" \language "english" global = { \key ef \minor \time 3/4 } \relative c' { \clef treble \global << { bf'4 cf2 \tweak staff-position #5.1 ~ | 8 8 r8 r8 } \\ { d4 d2( | \hideNotes ef8) }

Re: Frescobaldi?

2024-04-29 Thread Kieren MacMillan
Hi all, > Fortunately for me, I'm using lualatex already, so that worked. I do indeed > lose point-and-click, but it's good to know that if frescobaldi stops working > I at least have a backup. I’ve been considering moving fully to *lula*tex ever since Urs demonstrated his lyluatexmp

Re: Frescobaldi?

2024-04-28 Thread Kieren MacMillan
Hi, > unfortunately, as I noted above, the problem seems to be that frescobaldi > depends on a now-deprecated version of qtwebengine, and without updating it > we'll eventually reach a point where it no longer runs. I understood that. I was responding in particular to Jean’s comment > NB: I

Re: Frescobaldi?

2024-04-28 Thread Kieren MacMillan
Hi all, >> If there is busy work that needs to be done on the project, I can do that, >> but I also don't own a Mac. I own a bunch of Macs. In fact, right here in my studio I have two late-2014 Mac Minis with fresh Monterey installs which are completely unused. I also have a *really*

Re: PianoPedalBracket.to-barline doesn't always work as expected

2024-04-21 Thread Kieren MacMillan
Hi Werner, >> Might I suggest that “to-barline” is potentially >> misleading/confusing…? > I suggest you file an issue. https://gitlab.com/lilypond/lilypond/-/issues/6709 Cheers, Kieren. __ My work day may look different than your work day. Please do

Re: score with dynamic beats

2024-04-12 Thread Kieren MacMillan
Hi Raphael, > I note that in one solution one uses \remove and in the other \omit to > achieve the same thing. > > Is there any prospect of moving to a situation where only one operator is > used to achieve a result, possibly by having a preferred and deprecated > options first? This is a

Re: PianoPedalBracket.to-barline doesn't always work as expected

2024-04-12 Thread Kieren MacMillan
Hi Mats, > Exactly the same feature might also be useful for hairpins and other spanner > types Indeed! I’ll be sure to make the issue I submit a general spanner issue… Best, Kieren. __ My work day may look different than your work day. Please do

Re: score with dynamic beats

2024-04-12 Thread Kieren MacMillan
Hi Gian Paolo, > how to write a score without time signature and bars placed on request? Just remove the Time_signature_engraver: \version "2.25.11" \language "english" \layout { indent = 0 ragged-right = ##f \context { \Staff \remove Time_signature_engraver } } { \key d

Re: Overriding default text of \f, \p, etc.

2024-04-12 Thread Kieren MacMillan
Hi all, >> I want to override the default text markup used with commands such as \f, >> \p, \mf, etc. >> However, trying to define f = #(make-dynamic-script ...) doesn't work >> because Lilypond interprets f as a note-name. >> Additionally, how would I be able to change the text while

Re: PianoPedalBracket.to-barline doesn't always work as expected

2024-04-10 Thread Kieren MacMillan
Hi all, Might I suggest that “to-barline” is potentially misleading/confusing…? On the other hand: end-at-barline, for a pedal coded for release on a note **just after** a barline, might be more clearly descriptive of the current behaviour; and extend-to-barline, for a pedal coded for

Re: organizing shared libraries

2024-04-04 Thread Kieren MacMillan
Hi Tom, > Sort of answering my own question, but I figure that you don't get > much out of creating scheme modules directly, unless they can live > entirely outside of the lilypond world. Generally it seems better to > create shared libraries somewhere and include them with > `--include/-I`. At

Re: Snippet: Adding indicators to staves which split after a break

2024-03-25 Thread Kieren MacMillan
Hi Kevin, > I have two questions about this snippet: You forgot to include the snippet or a link! :) But I assume you mean https://lilypond.org/doc/v2.25/Documentation/snippets/vocal-music_003a-adding-indicators-to-staves-which-get-split-after-a-break > The easy question. The fourth line of

Re: nested \set ?

2024-03-25 Thread Kieren MacMillan
Hi Werner, > LilyPond provides `\temporary` and `\revert` to set a grob property > temporarily, and afterwards the value of the grob property is the same > as before. > > Is there a similar possiblity for `\set` (or something usable in > Scheme)? I guess not, but I couldn't find this documented

Re: ragged-bottom and spacing for individual pages

2024-03-20 Thread Kieren MacMillan
Hi Paul, > 1. How can I cause an individual page other than the last page of a score to > have ragged-bottom? As far as I know, you can’t… To fake that behaviour, I usually just inject an appropriately-sized blank markup below the last system I want on a given page (attached to anything in

Re: Time measurement

2024-03-15 Thread Kieren MacMillan
Hi Jean, > To get 2-digit precision on the number of seconds, you can simply replace > > (format #f "~as" (round rest)) > > with > > (format #f "~,2fs" rest) > > in the format-time function. > > For seconds:frames at 24 frames/second, replace format-time with > > (define (format-time

Re: Time measurement

2024-03-15 Thread Kieren MacMillan
Hi Lukas, I love that we have two custom engravers to compare and learn from! Thank you so much for this solution — looking forward to analyzing it when I have a moment. Best, Kieren. > On Mar 14, 2024, at 5:54 PM, Lukas-Fabian Moser wrote: >> “This sounds like a job for… Custom Engraver!!”

Re: Time measurement

2024-03-15 Thread Kieren MacMillan
Hi Jean, As always… remarkable. One question: How hard would it be to have this output more precise timings (e.g., 1/4 or 1/10th or 1/100th of a second, or SMPTE timecode in minutes:seconds:frames)? I could imagine this being *very* useful for film/video/media composers. Thanks! Kieren. >

Re: Time measurement

2024-03-14 Thread Kieren MacMillan
Hi Matthew, > Is there any easy way to find out the time in seconds from the start of a > score to a specified point, corresponding to the timing of the MIDI > output? I can count measures and do math on the tempo, but that's > less than ideal in the face of multiple tempo changes. Another idea

Re: Question about voltas and repeats

2024-03-12 Thread Kieren MacMillan
Hi Lucas, I was told by people with a far deeper understanding of Lilypond’s than mine that trying to abstract the volta map is undesireable — it should be explicitly included in every music expression that it intersects with. Cheers, Kieren. > On Mar 12, 2024, at 7:00 PM, Lucas Cavalcanti

Re: Omit TupletNumber problem

2024-03-12 Thread Kieren MacMillan
Hi Ralph, > I cannot figure out how to revert or reverse "\omit TupletNumber". "\once > \omit TupletNumber" does, in fact omit only the next tuplet number. However, > if I use "\omit TupletNumber", it omits all folowing tuplet numbers, and I > cannot find a command to restore the tuplet

Re: Question regarding ChordNames

2024-03-12 Thread Kieren MacMillan
Hi John, > I've got a guitar leadsheet that displays the guitar chord G# as Ab. That’s definitely weird… On my machine, this displays G# as G# and Ab as Ab: \version "2.25.11" \language "english" gsharp = \chordmode { gs1 } aflat = \chordmode { af1 } << \new ChordNames { \gsharp } \gsharp

Re: Schenkerian slurs and framework

2024-03-07 Thread Kieren MacMillan
Hi Ben, > I read the 2005 article in the Linux journal about making schenkerian graphs, > and I feel like it covered everything except one type of slur. I think I've > heard it called a swan slur before. It's a slur that hooks around a note. In > this picture it's the slur connecting the e

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

Re: Make D.S. and Coda objects RED

2024-03-03 Thread Kieren MacMillan
Hi Laurie, > When I copied your layout block into my score (2.25.12) I get this error > error: syntax error, unexpected SYMBOL, expecting '=' > CodaMark >color = "tomato" Sorry… didn’t test. Should have been \layout { \context { \Score \compressEmptyMeasures

Re: extracting a single “vocal line” (including lyrics) from multiple variables

2024-03-02 Thread Kieren MacMillan
Hi Simon, > you can quote lyrics perfectly well. It’s just that of course the quoting > logic is based on durations, so I think explicit durations are unavoidable Ah! That makes sense. Despite the extra work, it’s probably QUITE worth it in my larger projects. Thanks! Kieren.

Re: Make D.S. and Coda objects RED

2024-03-01 Thread Kieren MacMillan
Hi all, > I put them in the "global" section of my creation: > > global = { > \time 2/2 > \tempo 4=200 > \compressEmptyMeasures\override MultiMeasureRest.expand-limit = #2 > \override Score.CodaMark.color = "tomato" > \override Score.SegnoMark.color = "tomato" > \override

Re: extracting a single “vocal line” (including lyrics) from multiple variables

2024-02-29 Thread Kieren MacMillan
Hi Simon, > huge respect for the kind of projects you are doing :) Thanks — I need all the [psychological] help I can get! LOL > Answering these questions is difficult because they can depend a lot on the > specifics of the music and any solution can become cumbersome because of only > a

Re: Moving turn above slur

2024-02-27 Thread Kieren MacMillan
Hi Ralph, > I cannot figure out how to move the turn above the slur in the following MWE: %%% \version "2.24.2" \language "english" tune = \relative c'' { c8.-\tweak avoid-slur #'outside \turn[( d16) f8. g16] a8.[ f16 g8.( a16]) | } \score { \tune } %%% Hope that helps! Kieren.

extracting a single “vocal line” (including lyrics) from multiple variables

2024-02-27 Thread Kieren MacMillan
Hi all, So… In the musical I’m currently co-writing (and solo-engraving!), I’ve got a bunch of different variables for the various vocal lines, e.g. Frogs_Sammy_notes = { … } Frogs_Sammy_lyrics = \lyricmode { … } Frogs_Michael_notes = { … } Frogs_Michael_lyrics = \lyricmode { … }

Re: Rousseau's boustrophedon notation [but OT, really]

2024-02-24 Thread Kieren MacMillan
Hi Aaron, Rather incredibly, I had never heard of the word “boustrophedon” and this is the second reference in just under a week! The first time was when someone asked me (last week) whether there was a perfect rhyme for “anthropomorphic” — the only one I could find was “boustorphic” (which

Re: 5th anniversary conference? :)

2024-02-23 Thread Kieren MacMillan
Hi Mike! > I live in Toronto, in the Annex. I'd love to help organize something here if > there's interest. I'm right > close to the University of Toronto campus. 1. Let’s keep this discussion going, and see if it actually gains traction! 2. I teach in the Annex (Randolph College) three

Re: Brackets (and more) in text spanners?

2024-02-20 Thread Kieren MacMillan
Hi, > I want to set a text spanner with an ending bracket. https://lilypond.org/doc/v2.25/Documentation/snippets/expressive-marks_003a-creating-text-spanners Hope that helps! Kieren __ My work day may look different than your work day. Please do not

Re: small notes for different lyrics

2024-02-18 Thread Kieren MacMillan
Hi Robert, > adding smalls notes or different rhythms for different lyrics. Just add a > second voice and change the note’s sizes? Or is it there a proper way to do > so? Looks like nobody answered this, so let me give you one solution (which is exactly what you suggested in your question):

Re: 5th anniversary conference? :)

2024-02-15 Thread Kieren MacMillan
Hey all, >> I was just waxing nostalgic about that fabulous Salzburg conference in 2020, >> and noted that in Jan 2025 — just under a year from now! — it will have been >> five years since we got together, talked music/notation, and raised [more >> than] a few pints together. >> Any chance for

Re: How to to a Lyrics extender line?

2024-02-14 Thread Kieren MacMillan
Hi Michael, Why not verseC = \lyricmode { \repeat unfold 4 { \skip 8 } lu __ _ \markup \null \repeat unfold 3 { \skip 8 } lu __ _ } ? Hope that helps! Kieren __ My work day may look different than your work day. Please do not

5th anniversary conference? :)

2024-02-13 Thread Kieren MacMillan
Hello, Pond! I was just waxing nostalgic about that fabulous Salzburg conference in 2020, and noted that in Jan 2025 — just under a year from now! — it will have been five years since we got together, talked music/notation, and raised [more than] a few pints together. Any chance for a repeat?

Re: Rest space in between fugue's voices

2024-02-10 Thread Kieren MacMillan
Hi George, [n.b. I’ve cc'ed the list, as per standard practice in the Lilypond community.] > Thank you very much! It worked perfectly just by inserting "\tweak X-offset > #1" before the 16th rest in my original code Oh, great! I didn’t think to try only that tweak. > I didn't quite understand

Re: Rest space in between fugue's voices

2024-02-10 Thread Kieren MacMillan
Hi George, > Currently, I am transcribing Bach's Fantasia and Fugue in a minor (BWV 904), > but I am dealing with a rest collision between the fugue voices on measure > 69. Specifically, on the 4th beat I have not found a way to give distance > between the a' from the alto and the 16th rest

Re: [large/complex projects] where should transpositions go?

2024-02-07 Thread Kieren MacMillan
Hi Martin, > For quite a long time now I'm relying heavily on openlilylib's auto-transpose > module. In my experience it does play nicely together with the > edition-engraver. Oh, goodness… I think you may have shared this on the list before, but I didn’t quite understand how cool and

Re: Score overruns page. Bug or something I did?

2024-02-06 Thread Kieren MacMillan
Hi Jakob, In m25, T1 has 5 beats. Is that correct? – Kieren

Re: [large/complex projects] where should transpositions go?

2024-01-30 Thread Kieren MacMillan
Hi Simon, > I’d like to share two approaches I’ve developed for such issues. Thanks for all this! > Firstly, I couldn’t take time to study your setup and how that makes these > approaches viable or not—sorry for that. No worries — I recognize it’s a lot for anyone to try to wrap their head

Re: [large/complex projects] where should transpositions go?

2024-01-29 Thread Kieren MacMillan
Hi Valentin, I’m… a bit gobsmacked. > I think with large projects it is a good idea to establish a nice data flow. Agreed. > Basically your code does different things. For one thing you have musical > data, > for another thing you have formatting of said data, and then you also have >

Re: [large/complex projects] where should transpositions go?

2024-01-29 Thread Kieren MacMillan
Hi Timothy, > If I have understood Kieren correctly, he wants the option to configure his > score with a part either sung by a tenor voice at written pitch, or a treble > voice one octave higher. Correct. > The attached files illustrate a couple of suggestions that might help. > • Set

[large/complex projects] where should transpositions go?

2024-01-27 Thread Kieren MacMillan
Hi all, So… At the bottom of this email, I’ve included a somewhat-M W E of something I’m wrestling with around all this stuff. You’ll see I have a ScoreMarks.ily file (one of many \includes, but needed here because the structure of the vc and pc are slightly different!), a notes.ily file (with

Re: [large/complex projects] conditional header values and/or book name

2024-01-27 Thread Kieren MacMillan
Hi Sam, Thanks for these thoughts! > I'm not sure if this fits under your umbrella of having a single top level > file, but what about this? > > song-FV.ly > definedVariables = data > \include song.ily > > song-SV.ly > definedVariables = data > \include song.ily > > song.ily

Re: [large/complex projects] conditional header values and/or book name

2024-01-23 Thread Kieren MacMillan
Hi Timothy, > How about setting up some Scheme variables that are later used to build > variants of the score? OOO I like this! There are some further complications coming up that might render this unfeasible/impractical… but it’s a great suggestion, and I can definitely see where to use it

[large/complex projects] conditional header values and/or book name

2024-01-22 Thread Kieren MacMillan
Hi all, I have a big engraving use case — I’m neck-deep in an example of it right now! — and I’m hoping to do some brainstorming towards an optimal structure/toolchain/workflow, so any thoughts are appreciated. One of the things I do most often is compose for musical theatre. Because of the

Re: Question about \include options

2024-01-08 Thread Kieren MacMillan
Hi John, On the main webpage (https://lilypond.org/doc/v2.23/Documentation/web/index), when you use the search box (in the top nav bar), and type #f (no quotes or anything), do you not get the “Types of Properties” link within the first few hits (it’s the third when I search)? Thanks, Kieren.

Re: Question about \include options

2024-01-08 Thread Kieren MacMillan
Hi all, > A pity, since this is clearly explained on > https://lilypond.org/doc/v2.24/Documentation/learning/types-of-properties.html That’s the first hit when I search! :) K __ My work day may look different than your work day. Please do not feel

Re: Question about \include options

2024-01-08 Thread Kieren MacMillan
Hi John, > My larger concern is with the ability to find these details with limited > knowledge about LP; as a relative novice. I wrote a longer reply to the list > about this but, in short, I wouldn't have likely found this bit about #t #f > without referrals. Seems I should have been able

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 %

Re: Manually control note spacing?

2024-01-05 Thread Kieren MacMillan
Hi Robert, > Don't worry, found out how to do it: > > \version "2.18.2" > \header {tagline = ""} > { >\numericTimeSignature >\textLengthOn >\override Staff.padding = #3 >\time 4/4 >a'4\mordent -\tweak staff-padding #4 ^"Mordent" >a'4\upmordent -\tweak staff-padding #4

Re: Unable to align lyric to rests (with MWE)

2024-01-03 Thread Kieren MacMillan
Aloha John, > Here's the one I've been working on. Maybe it's just wrong. At the very least, it’s lazy and unclear engraving. The convention in a case like this is something closer to the following: \version "2.25.10" global = { \time 4/4 \key b \major \tempo 4=80 } mel = \relative

Re: Unable to align lyric to rests (with MWE)

2024-01-02 Thread Kieren MacMillan
Hi John, > But, ... I don't really see why it should. There are many songs for which > the vocal precedes the melody. I don’t know of a single one. A rest is literally musical silence — how can it have a “vocal” on it? Now, of course, you could have non-sung syllables… but that is not

Re: Unable to align lyric to rests (with MWE)

2024-01-02 Thread Kieren MacMillan
Hi John, > I need to attach the word to the rest so the rest of the lyrics align > properly. Right. (Certainly it would be *VERY* unusual to actually attach a lyric to a rest!) > I don't think shifting it will do the job (although I'll try it). Just to clarify: I gave you an adjusted snippet

Re: Unable to align lyric to rests (with MWE)

2024-01-02 Thread Kieren MacMillan
Aloha! > I'm struggling to align some lyrics and the problem seems to be that I cannot > find any way to align syllables to rests. Do you want to attach the syllable(s) to the rest(s), or simply nudge the syllable left a little (e.g., to relax the lyric spacing that follows)? If the latter,

Re: set global priority order (lyric and dynamic)

2023-12-26 Thread Kieren MacMillan
Hi Cordelia, > how can i change the global order of apparition ? > I need to have the lyric before the dynamics; I thought I could make it with > priority but I cannot figure out where I’m wrong. It is generally accepted practice (cf. Elaine Gould, etc.) to place dynamics above the staff for

Re: Staff Centre Vertical Alignment on page?

2023-12-19 Thread Kieren MacMillan
Hi Stefano, It would really help if you provided a minimal working example (MWE), so those of us with an impulse to try to assist you don’t have to try to invent one ourselves… Thanks, Kieren. > On Dec 18, 2023, at 10:47 PM, Stefano Antonelli > wrote: > On Tue, 2023-12-12 at 16:10 -0800,

Re: Voices, shifting and stem direction

2023-12-17 Thread Kieren MacMillan
Hi Jakob, > Does anyone know how to align VoiceOne (green) further left to match the > horizontal position of VoiceFour (red)? You could switch the \voiceTwo and \voiceFour commands… but that creates an even less pleasing result [IMO]. There are also ways to tweak the horizontal position of

Re: error I can’t figure out

2023-12-16 Thread Kieren MacMillan
Hi Jean, > See https://lists.gnu.org/archive/html/lilypond-user/2023-11/msg00152.html Indeed, updating the center-on-word code fixed it. Thanks! Kieren. __ My work day may look different than your work day. Please do not feel obligated to read or

error I can’t figure out

2023-12-16 Thread Kieren MacMillan
Hi all, I recently upgraded to 2.25.10 (MacPorts). I’m trying to compile what should be a fairly simple document, and am getting the following error(s): In

Re: property-defaults.fonts not working

2023-12-16 Thread Kieren MacMillan
Hi Jean, >> What is the minimum x for it to work as documented? > It's 6. See > https://gitlab.com/lilypond/lilypond/-/commit/1346d30d183e38cb693c7d61f2ac76785130e449 Thanks — sorry for the noise. Works great with x=10 (which is the current MacPorts version). Kieren

Re: property-defaults.fonts not working

2023-12-16 Thread Kieren MacMillan
Hi Jean, > What's the exact value of x in 2.25.x? Well, it’s currently 2, but anticipating that might be [part of?] the problem, I launched an upgrade of lilypond (MacPorts) a few minutes ago. What is the minimum x for it to work as documented? Thanks, Kieren.

property-defaults.fonts not working

2023-12-16 Thread Kieren MacMillan
Hi all, I was excited to try the new font-switching mechanism(s) in 2.25.x, but they don’t seem to be having any effect at all on my output…? I used examples, cut-and-pasted from the online documentation, e.g. \paper { property-defaults.fonts.serif = "Linux Libertine O"

Re: Dynamics [pl|sp]acing weirdness

2023-12-15 Thread Kieren MacMillan
Hi MIchael, > While that works, wrapping that combo isn't required all the time. E.g. when > you have > dynamicsA = { > s2. s4\mf\< | s2 s2\f | > } That’s because this version does not use \after, which is a music function that expects a single musical expression as its first parameter. >

Re: Dynamics [pl|sp]acing weirdness

2023-12-15 Thread Kieren MacMillan
Hi Michael, > I've come across some placing or spacing weirdness with dynamics. > In the attached example \dynamicsA is what I tried to code, aka the \< starts > directly after the \mf. What I expected is what you see in \dynamicsB. > However it seems as if the combo \mf\< does use some musical

Re: Changing staff-staff-spacing from page to page

2023-12-14 Thread Kieren MacMillan
Hi Knute, > Le mardi 10 octobre 2023 à 09:41 -0700, Knute Snortum a écrit : >> Is there a way to change staff-staff-spacing in different pages in the same >> piece? > Unfortunately not. You have to chose settings that work well for the whole > score (or, if you must, resort to hidden markups

Re: Hide chords

2023-12-05 Thread Kieren MacMillan
Hi Jan, [p.s. Always cc the list when responding!] > Thanks ! I’ve looked at that section of the documentation but couldn’t find a > solution. Does \temporary \omit Score.ChordName not work? Cheers, Kieren. __ My work day may look different

Re: Hide chords

2023-12-05 Thread Kieren MacMillan
Hi Jan, > What is the recommended method to “hide” chord names for a couple of measures? Depends on exactly what you mean by “hide”… :) Read: for more information. Hope that helps! Kieren.

Re: spacing puzzle

2023-12-04 Thread Kieren MacMillan
Hi David, Have you looked at all the spacing parameters? https://lilypond.org/doc/v2.23/Documentation/notation/flexible-vertical-spacing-paper-variables#list-of-flexible-vertical-spacing-paper-variables In particular: top-system-spacing the distance from the top of the printable area (i.e., the

Re: Relative rhythms across bars for time changes?

2023-11-18 Thread Kieren MacMillan
Hi all, When I was in high school, there was a boy named Kenny Wong who was a video game god. Didn’t matter what the game was — Asteroids, Galaga, Ms. Pac-Man, Robotron, you name it — he had the high score on every console in every arcade within a 10 km radius of our school. Whenever we were

Re: Relative rhythms across bars for time changes?

2023-11-18 Thread Kieren MacMillan
Hi all, > Thanks, Michael - that's a really nice solution. Agreed! Although I personally still think \rhythm is cleaner: \version "2.25.10" tempoChange = #(define-music-function (alignValue firstNote secondNote) (number? ly:duration? ly:duration?) #{ \tweak self-alignment-X

Re: Relative rhythms across bars for time changes?

2023-11-18 Thread Kieren MacMillan
Hi all (including -dev!), > There may be a way to do it with a MetronomeMark — I just don’t know it. I > was surprised to find that I couldn’t make the following (or similar) work: And now I find this: Apparently I “offered an extra bounty

Re: Relative rhythms across bars for time changes?

2023-11-18 Thread Kieren MacMillan
Hi Alasdair, > The sort of notation I want is in this snippet: > https://lilypond.org/doc/v2.24/Documentation/snippets/rhythms#rhythms-creating-metronome-marks-in-markup-mode > (b) is there an easier way than the markup given in the snippet? Try the [relatively recent] \rhythm function:

Re: Separation of the musical notation.

2023-11-16 Thread Kieren MacMillan
Hi all, > No idea how to do it with Lilypond, may-be other people have an idea. \version "2.25.2" teststaff = \new Staff \repeat unfold 12 c''4 test = \new ChoirStaff << \teststaff \teststaff \teststaff >> \markup { \fill-line { \score { \test } \score { \test } } } > As for me, I

Re: fill page

2023-11-09 Thread Kieren MacMillan
Hi David, > I have a page of music but it is a bit short on the page. I remember a long > time ago that there was something involving padding (I think) as well as some > opposing function that, when combined, would space out the systems to fill > the page to the bottom margin. I've been

Re: Alignment of lyrics

2023-11-02 Thread Kieren MacMillan
Hi Johannes, >> As a workaround, I could use "\once \override LyricText.self-alignment-X = >> #LEFT" - but I'd like to understand the logic and whether there is a more >> elegant way... > > The logic is that a syllable is centered, except when it starts a melisma, in > which case it is

Re: zero horizontal space between note heads

2023-10-29 Thread Kieren MacMillan
Hi Werner, > If I set `packed_spacing`, it's getting a little bit tighter, but > there is still horizontal whitespace between the note heads, and I > still don't know where it comes from. What happens if you set the Beam X-extent to point-stencil (or whatever)? – Kieren

Re: automatic accidentals in subsequent measure(s) of *a different staff* in a PianoStaff context

2023-09-06 Thread Kieren MacMillan
Hi all, >> Haven't you been dreaming about your First Patch™ for quite a while? Why, yes… yes I have! > You mean, in a dozen years? My immediate reactions was “wait wut i actually made three commits at some point?” LOL >> I mean, this would just be a matter of adding the style to the >>

  1   2   3   4   5   6   7   8   9   10   >