Re: Positioning layout object between staves

2025-06-26 Thread Kyle Baldwin
Excerpt below. Works for all test cases I threw at it and it significantly less logic. I *think* I can see how to do this without an engraver but the last 4-5 days has been long enough. I think that in the unpure call I can do something like: - Get VerticalAxis Group (VAG) with ly:grob-get-ve

Re: Positioning layout object between staves

2025-06-20 Thread Kyle Baldwin
's where we are ; basing our offsets (ly:grob-set-parent! grob Y up-parent-parent) ; I believe the +1 is needed because of a reference point difference ; between the text and barlines, but I'm tired and this works (+ offset-center -1)

Re: Positioning layout object between staves

2025-06-19 Thread Kyle Baldwin
Kieren - Thank you. I'm on the search as well. Will update thread if I find it. -kwb > On Jun 18, 2025, at 11:28 AM, Kieren MacMillan > wrote: > > Hi Kyle, > > Okay, I see the issue(s) now… > > Attached, below, is a modified MWE (more M than yours, with some > optimizations). > > I kno

Re: Positioning layout object between staves

2025-06-18 Thread Kyle Baldwin
>> \layout { \pianoLayout } } \version "2.24.4" %% End snippet The problem I am running into is that the notes in the upper or lower voices offset the middle contexts. -kwb > On Jun 17, 2025, at 5:04 PM, Kieren MacMillan > wrote: > > Hi Kyle, >

Positioning layout object between staves

2025-06-17 Thread Kyle Baldwin
Hi all - I'm looking at improving my centering of MM rest numbers between staves. I have come across solutions like this: https://lists.gnu.org/archive/html/lilypond-user/2012-10/msg00293.html but the problem seems to be that it will always find the center of the Dynamics context which, if no

Re: Using markup-like functions outside of markup (layout/props)

2023-09-23 Thread Kyle Baldwin
Jean - Thank you again, I think I can fiddle with this and make this work. Just quickly though, is that to say that it's hard to inject the layout and props outside of a markup command/block? -kwb > On Sep 23, 2023, at 12:43 PM, Jean Abou Samra wrote: > > Take a look at > > https://list

Re: Using markup-like functions outside of markup (layout/props)

2023-09-23 Thread Kyle Baldwin
Jean - The part I care about is whether it starts on a left or right hand page. What I am doing is the following: - Compile lilypond score - Output meta data to a CSV file (I'm using scheme to write out variables like the title and such. This is where I would like to add the metadata about

Using markup-like functions outside of markup (layout/props)

2023-09-23 Thread Kyle Baldwin
Hello - I'm trying to use the `book-first-page` scheme function to write the first page to a file in order to do some automated score processing. `book-first-page` takes the layout and props arguments, however, I'm having a hard time wrapping my head around accessing the layout and props prope

Between context communication

2022-09-05 Thread Kyle Baldwin
Hello - I'm trying to write an engraver that works in this way. It listens for absolute-dynamic events and text script and hairpin/dynamic-text-spanner events with a custom event name (ExpressiveTextEvent) and do some formatting.  If the text is by itself, it's italicized and put below the sta

Re: Custom scheme engraver (Barline) problem

2022-07-25 Thread Kyle Baldwin
Jean - Merci! This is exactly what I needed. -kwb On Jul 24, 2022, 11:50 PM -0700, Jean Abou Samra , wrote: > > > > Le 25 juil. 2022 à 08:23, Kyle Baldwin a écrit : > > > > I'm trying to create a custom bar number engraver that will respond to > > couple

Custom scheme engraver (Barline) problem

2022-07-24 Thread Kyle Baldwin
I'm trying to create a custom bar number engraver that will respond to couple of different events, but wanted to initially try and clone the Bar number engraver in c to scheme. Everything seems to work the way I want it to, except for the positioning seems to be wrong. The numbers appear in line

Re: Extending Slur engraver

2022-06-08 Thread Kyle Baldwin
Ah – Perfect. Thank you. When I first learned lilypond it was around 2.18. I forgot this got added in the last couple of years. Thank you! From: Jean Abou Samra Date: Wednesday, June 8, 2022 at 1:06 PM To: Kyle Baldwin , lilypond-user@gnu.org Subject: Re: Extending Slur engraver Le 08/06

Extending Slur engraver

2022-06-08 Thread Kyle Baldwin
Hello – I’m looking at creating a new slur to be used as a “bowing-slur.” Essentially it would be a styled slur that can co-exist with the slur and phrasing slur grobs. Looking in the source code for the phrasing slur engraver, it looks like it just passes the information to the slur engraver

Extending Slur engraver

2022-06-08 Thread Kyle Baldwin
Hello – I’m looking at creating a new slur to be used as a “bowing-slur.” Essentially it would be a styled slur that can co-exist with the slur and phrasing slur grobs. Looking in the source code for the phrasing slur engraver, it looks like it just passes the information to the slur engraver

Custom bar numbering format

2018-07-06 Thread Kyle Baldwin
I'm trying to get Lilypond to replicate the way that I number scores personally. When I number my own scores, the bars that get numbers are 1) The first bar of every staff/system 2) Every 10 bars Regardless of location I can do these two things independently, but am having problems getting them

Hosting Lilypond

2006-09-22 Thread Kyle Baldwin
Hello - I am currently setting up a project to redo all of the Jazz lead sheets from all of the real books in Lilypond. To make them all look the same and to get rid of some of the hand written ones that would be much better off computer notated. Anyhow - I am interested in hosting the files

Tremolo Beamed Stems

2005-10-05 Thread Kyle Baldwin
I am trying to get a stem of a note in a sequence of 3 notes to be longer.  When ever I use the beamed-lengths it will change the stem of the first 2 beams but no the last one.  (The one I actully need to change because the tremolo runs into the note head.  While this is a known bug and I am using