Cyclic dependency error with change staff and trillSpan

2024-03-22 Thread Knute Snortum
Hi again, I am getting a cyclic dependency error with code that uses change staff and trillSpan. Here is as minimal an example as I could create: %%% \version "2.24.3" \language "english" staffUp = \change Staff = "upper" staffDown = \change Staff = "low

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 docume

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 Pro

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 (H

TrillSpan help

2023-06-16 Thread Mark Probert
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 (Hairpin.to-barline) that allows for the final note to be included. Does there

Re: vertical placement of trillspan and upbow

2023-03-06 Thread Kwetal
te to Lilypond 2.24, because the trillspan should stop just /before/ the acciaccatura... Current result (with Lily 2.22): Regards, Arjen

Re: vertical placement of trillspan and upbow

2023-03-05 Thread Mark Mathias
Thanks! On Sun, Mar 5, 2023 at 1:47 PM Jean Abou Samra wrote: > Le dimanche 05 mars 2023 à 13:43 -0500, Mark Mathias a écrit : > > My guess as to why the script-priority isn't a solution is that it decides > between competing scripts and the trill spanner isn't a script. Whereas > outside-staff-

Re: vertical placement of trillspan and upbow

2023-03-05 Thread Jean Abou Samra
Le dimanche 05 mars 2023 à 13:43 -0500, Mark Mathias a écrit : > My guess as to why the script-priority isn't a solution is that it decides > between competing scripts and the trill spanner isn't a script. Whereas > outside-staff-priority evaluates competing values of all objects of whatever >

Re: vertical placement of trillspan and upbow

2023-03-05 Thread Mark Mathias
anche 05 mars 2023 à 15:56 +0100, Arjen a écrit : > > Hello, > > I am trying to switch the vertical stacking order of the upbow symbol and > the trillspan in the following fragment by overriding the script-priority > of the upbow symbol. > The upbow symbol should be the topmo

Re: vertical placement of trillspan and upbow

2023-03-05 Thread Jean Abou Samra
Le dimanche 05 mars 2023 à 15:56 +0100, Arjen a écrit : > Hello, > > I am trying to switch the vertical stacking order of the upbow symbol > and the trillspan in the following fragment by overriding the script- > priority of the upbow symbol. > The upbow symbol sho

Re: vertical placement of trillspan and upbow

2023-03-05 Thread Mark Mathias
On Sun, Mar 5, 2023 at 9:56 AM Arjen wrote: > Hello, > > I am trying to switch the vertical stacking order of the upbow symbol and > the trillspan in the following fragment by overriding the script-priority > of the upbow symbol. > The upbow symbol should be the topmost. &g

vertical placement of trillspan and upbow

2023-03-05 Thread Arjen
Hello, I am trying to switch the vertical stacking order of the upbow symbol and the trillspan in the following fragment by overriding the script-priority of the upbow symbol. The upbow symbol should be the topmost. \version "2.22.1" \relative a'' {   g1\startTrillSpan (

Re: trillspan

2022-03-16 Thread Valentin Petzel
ot know > the proper word for it. But yes, your solution did work. I needed a bit > of tweaking because the TrillSpan jumped to the right a bit. But got it > fixed and it looks as needed. Thanks again. > > vriendelijke groet, Erik Appeldoorn > > -- Origineel bericht -- &g

Re[2]: trillspan

2022-03-16 Thread E Appeldoorn
THank you I knew the <> as a 'stay in this place' type of anchor. I do not know the proper word for it. But yes, your solution did work. I needed a bit of tweaking because the TrillSpan jumped to the right a bit. But got it fixed and it looks as needed. Thanks again. vr

Re: trillspan

2022-03-16 Thread Valentin Petzel
Hello Erik, \startTrillSpan is a post event, so you need to specify it after the note you want the trill to start on. You can use empty chords <> to circumvent this and kind of specify the span before the first note. You still won’t get any change, as trill spans are by default outside-staff g

trillspan

2022-03-16 Thread E Appeldoorn
I wanted to move a TrillSpann downwards to within the bar on the middle barline. I finaly came up with \once \override TrillSpanner.Y-offset = #-2 \startTrillSpan a4*5 \stopTrillSpan But got an error 'unbound TrillSpannEvent' and nothing has changed. So how do I move that TrillSpanner southward

Re: trillSpan question:

2022-01-30 Thread Kenneth Wolcott
ems to work. > > It's possible to add a little bit of syntactic sugar for this construction: > > \version "2.22" > > trillSpan = > #(define-music-function (mus) (ly:music?) > #{ > <>\startTrillSpan > #mus > <>\stopTrillS

Re: trillSpan question:

2022-01-30 Thread Lukas-Fabian Moser
Hi Ken, I implemented the trill span; it was not intuitive to me to end the trill span on the following note, but it seems to work. It's possible to add a little bit of syntactic sugar for this construction: \version "2.22" trillSpan = #(define-music-function

Re: trillSpan question:

2022-01-28 Thread Hans Åberg
> On 28 Jan 2022, at 01:03, Kenneth Wolcott wrote: > > I have trouble understanding how to implement the \startTrillSpan > and \stopTrillSpan. … > Another related question: what is the difference in the actual > performance of the two types? The trill symbol only applies to the note it is wr

Re: trillSpan question:

2022-01-27 Thread Kenneth Wolcott
Hi Kira; No problem! I do very much appreciate comments regarding the performance aspects of the music I try to engrave. I think I will write my own trill function for midi (not in Scheme/Guile :-) but in Perl) which will generate alternating 32nd notes or something like that which I can just

Re: trillSpan question:

2022-01-27 Thread Kira Garvie
😂 Sorry if I went overboard! I think you are probably asking too much from midi - the nuance won't be there. Have you considered consulting a different arrangement of the piece, and seeing what sort of trill is notated there? That specific notation that you used probably wasn't original to the piec

Re: trillSpan question:

2022-01-27 Thread Kenneth Wolcott
Hi Kira; Thank you for your elaboration on the performance aspects of the trill. I implemented the trill span; it was not intuitive to me to end the trill span on the following note, but it seems to work. I implemented articulate.ly on the piece and the trill sounds ***AWFUL*** It sounds l

Re: trillSpan question:

2022-01-27 Thread Kira Garvie
I can't speak to the Lilypond notation, but only to the actual score notation. When is this piece of music from? Different composers used various trill markings to mean different things, but the 16th notes, although they are notated normally, are probably part of the ornament. There isnt really a s

Re: trillSpan question:

2022-01-27 Thread Kenneth Wolcott
So, it appears that \stopTrillSpan being placed on the following note does not include the following note in the trill; I guess that was not obvious to me. The third question is that the trill does not appear in the midi output, but articulation.ly would implement it? Thanks again, Ken Wolcott

trillSpan question:

2022-01-27 Thread Kenneth Wolcott
Hi; I have trouble understanding how to implement the \startTrillSpan and \stopTrillSpan. I have two screenshots. The first is an obvious \trill, no span needed. The second requires the span, but I don't know how to place the \stopTrillSpan. I see the trill section in the Notation Re

Re: how to write an extended dim and cresc (text, not hairpins) , like a trillSpan?

2021-08-07 Thread Kenneth Wolcott
x-_005ccresc > > > > Regards, > > Mogens > > > > > > From: Kenneth Wolcott > Sent: August 7, 2021 14:15 > To: Lily Pond > Subject: how to write an extended dim and cresc (text, not hairpins) ,like a > trillSpan? > > > > Hi; > > > > How

Re: how to write an extended dim and cresc (text, not hairpins) , like a trillSpan?

2021-08-07 Thread Thomas Morley
Am Sa., 7. Aug. 2021 um 23:20 Uhr schrieb Aaron Hill : > > On 2021-08-07 2:14 pm, Kenneth Wolcott wrote: > > How to write an extended dim and cresc (text, not hairpins) ,like a > > trillSpan? > > [ . . . ] > > Where do I look in the manual for this long extension (spa

Re: how to write an extended dim and cresc (text, not hairpins) , like a trillSpan?

2021-08-07 Thread Kenneth Wolcott
Thank you, Aaron! On Sat, Aug 7, 2021 at 2:20 PM Aaron Hill wrote: > > On 2021-08-07 2:14 pm, Kenneth Wolcott wrote: > > How to write an extended dim and cresc (text, not hairpins) ,like a > > trillSpan? > > [ . . . ] > > Where do I look in the manual for this

Re: how to write an extended dim and cresc (text, not hairpins) , like a trillSpan?

2021-08-07 Thread Aaron Hill
On 2021-08-07 2:14 pm, Kenneth Wolcott wrote: How to write an extended dim and cresc (text, not hairpins) ,like a trillSpan? [ . . . ] Where do I look in the manual for this long extension (span?) of the expressive mark? Text spanners [1] should be what you need. [1]: http://lilypond.org

Re: how to write an extended dim and cresc (text, not hairpins) , like a trillSpan?

2021-08-07 Thread Kenneth Wolcott
BTW, I'm on Lilypond 2.22 (it looks like I see something different in 2.23 regarding dim and cresc being Lilypond commands now?) On Sat, Aug 7, 2021 at 2:14 PM Kenneth Wolcott wrote: > > Hi; > > How to write an extended dim and cresc (text, not hairpins) ,like a trillSpan? &g

Re: Bug in articulate.ly + TrillSpan + full-measure rests

2015-02-24 Thread H. S. Teoh
On Wed, Feb 25, 2015 at 08:58:07AM +1100, Peter Chubb wrote: [...] > BTW, articulate was developed as a hack for the Artemis robot > instrument challenge; changes in Lilypond since then mean that it's > rather out of date. Some of the functionality is now already in the > Lilypond C++ core (shorte

Re: Bug in articulate.ly + TrillSpan + full-measure rests

2015-02-24 Thread Peter Chubb
> "Davide" == Davide Liessi writes: Davide> Dear Peter, Il 24/02/15 06.48, Peter Chubb ha scritto: >> I had a brainstorm -- the problem is SkipMusic which isn't handled >> anywhere. But we can use a SkipEvent instead, and it all works!!! Davide> Alas it does not: I get the same barcheck fai

Re: Bug in articulate.ly + TrillSpan + full-measure rests

2015-02-24 Thread Davide Liessi
Dear Peter, Il 24/02/15 06.48, Peter Chubb ha scritto: > I had a brainstorm -- the problem is SkipMusic which isn't handled > anywhere. But we can use a SkipEvent instead, and it all works!!! Alas it does not: I get the same barcheck failures both in the minimal example I posted and in the real

Re: Bug in articulate.ly + TrillSpan + full-measure rests

2015-02-23 Thread Peter Chubb
> "Davide" == Davide Liessi writes: Davide> Dear Peter, Il 04/02/15 09.46, Peter Chubb ha scritto: >> Looks like the code that was added to do agogic accents (aka swing) >> expands MultiMeasureRestMusic and throws away any articulation >> events (like the end of the trill spanner) on the way.

Re: Bug in articulate.ly + TrillSpan + full-measure rests

2015-02-23 Thread Peter Chubb
> "Davide" == Davide Liessi writes: Davide> Dear Peter, Il 04/02/15 09.46, Peter Chubb ha scritto: >> Looks like the code that was added to do agogic accents (aka swing) >> expands MultiMeasureRestMusic and throws away any articulation >> events (like the end of the trill spanner) on the way.

Re: Bug in articulate.ly + TrillSpan + full-measure rests

2015-02-20 Thread Davide Liessi
Dear Peter, Il 04/02/15 09.46, Peter Chubb ha scritto: Looks like the code that was added to do agogic accents (aka swing) expands MultiMeasureRestMusic and throws away any articulation events (like the end of the trill spanner) on the way. The fix is probably to add the ariculations in at the

Re: Bug in articulate.ly + TrillSpan + full-measure rests

2015-02-04 Thread Peter Chubb
> "Noeck" == Noeck writes: Noeck> Hi Davide, >> I would expect \articulate to correctly handle trill spanners >> regardless to what \stopTrillSpan is attached to. Noeck> Yep, me too. That’s why I said: I don’t know how to fix it. Looks like the code that was added to do agogic accents (ak

Re: Bug in articulate.ly + TrillSpan + full-measure rests

2015-02-03 Thread Noeck
Hi Davide, > I would expect \articulate to correctly handle trill spanners regardless > to what \stopTrillSpan is attached to. Yep, me too. That’s why I said: I don’t know how to fix it. Joram ___ lilypond-user mailing list lilypond-user@gnu.org https

Re: Bug in articulate.ly + TrillSpan + full-measure rests

2015-02-03 Thread Davide Liessi
Dear Joram, Il 04/02/15 00.19, Noeck ha scritto: I don’t know how to fix it in articulate but adding <> and moving the \stopTrillSpan before the rest seems to work: Thanks, that is a nice workaround! However I believe this is a bug in articulate.ly. This means: The trill stops visually at th

Re: Bug in articulate.ly + TrillSpan + full-measure rests

2015-02-03 Thread Noeck
Hi Davide, I don’t know how to fix it in articulate but adding <> and moving the \stopTrillSpan before the rest seems to work: \version "2.19.15" \include "articulate.ly" mus = { b1 \startTrillSpan | <> \stopTrillSpan R1 | b2 r | } \new Staff \mus \articulate \mus This means: The trill st

Bug in articulate.ly + TrillSpan + full-measure rests

2015-02-03 Thread Davide Liessi
Dear all, I found a strange behaviour in the interaction of articulate.ly with TrillSpan and full-measure rests. This snippet: \version "2.19.15" \include "articulate.ly" \articulate { b1 \startTrillSpan | R1 \stopTrillSpan | b2 r | } gives a warning: barcheck f

Re: signed trills/trillspan to barline

2008-01-16 Thread Mats Bengtsson
ve an idea why this example doesn't work? I'm not even getting an error message. I can't find newer code online. Also, is there a way to extend the trillspan all the way to the barline? I found a post with this question, but no answer. Thanks, Ruth \version "2.11.28&

Re: signed trills/trillspan to barline

2008-01-16 Thread Mats Bengtsson
have an idea why this example doesn't work? I'm not even getting an error message. I can't find newer code online. Also, is there a way to extend the trillspan all the way to the barline? I found a post with this question, but no answer. Thanks, Ruth \version "2.1

Re: signed trills/trillspan to barline

2008-01-16 Thread Mats Bengtsson
center \musicglyph #"scripts.trill" \vcenter \teeny \flat } /Mats Ruth Roland wrote: Hi, There have been various posts regarding putting an accidental above a trill. Does anyone have an idea why this example doesn't work? I'm not even getting an error message. I can

signed trills/trillspan to barline

2008-01-15 Thread Ruth Roland
Hi, There have been various posts regarding putting an accidental above a trill. Does anyone have an idea why this example doesn't work? I'm not even getting an error message. I can't find newer code online. Also, is there a way to extend the trillspan all the way to the barl

Re: Multiple pitched trills, trillspan length

2007-09-10 Thread Kieren MacMillan
Hi Stefan, So now the first TrillSpan collides with the second. Is there a possibility to decimate the length of the trill span somehow? See <http://lists.gnu.org/archive/html/lilypond-user/2007-09/ msg00070.html>. Cheers, Kieren. ___ li

Multiple pitched trills, trillspan length

2007-09-10 Thread Stefan Kägi
pitchedTrill d8.\startTrillSpan f \pitchedTrill cis4\stopTrillSpan \startTrillSpan e d2\stopTrillSpan } \score { the known things... } So now the first TrillSpan collides with the second. Is there a possibility to decimate the length of the trill span somehow? Thx

RE: Barcheck and TrillSpan

2007-09-05 Thread Palmer, Ralph
Thanks again, Kieren! That worked. Ralph -Original Message- From: Kieren MacMillan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 1:19 PM To: Palmer, Ralph Cc: lilypond-user@gnu.org Subject: Re: Barcheck and TrillSpan Hi Ralph... > That works perfectly for the c

Re: Barcheck and TrillSpan

2007-09-05 Thread Kieren MacMillan
Hi Ralph... That works perfectly for the clef change at the beginning of the piece. Glad to hear it! Anyone have any ideas about the TrillSpan problem? What about: %%% BEGIN SNIPPET \version "2.11.23" \include "english.ly" \score { {

RE: Barcheck and TrillSpan

2007-09-05 Thread Palmer, Ralph
Thanks, Kieren - That works perfectly for the clef change at the beginning of the piece. Anyone have any ideas about the TrillSpan problem? Ralph -Original Message- From: Kieren MacMillan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 9:01 AM To: Palmer, Ralph Cc

Re: Barcheck and TrillSpan

2007-09-05 Thread Kieren MacMillan
Hi Ralph, I'm using a silent note (space holder?) to allow a different clef cue at the beginning of the piece, and it is causing a barcheck failure. The failure doesn't seem to produce any other problems, so should I just ignore it? Or is there a better structure to use to get my intended re

Barcheck and TrillSpan

2007-09-05 Thread Palmer, Ralph
Greetings - I'm getting there, and I'd like to thank all of you for the wonderful program and all the help! I'm running LilyPond 2.11.23 under Windows XP SP2. I'm including a snippet and the log from running the snippet. I'm using a silent note (space holder?) to allow a different clef cue at th

Re: trillspan issue - moving the trill mark slightly higher

2005-03-03 Thread Mats Bengtsson
rillSpan}{s2 s4 s8 s16 s32 s32\stopTrillSpan}>> | Using the skipnumbers you have here works, but the trill-line extends to the next note, actually slightly beyond the edge of the next note. By tweaking the numbers a little more I am able to make the trill line end just prior to the next

Re: trillspan issue - moving the trill mark slightly higher

2005-02-26 Thread Chip
the numbers a little more I am able to make the trill line end just prior to the next note, like this: <<{ a4-> c,2.->(\startTrillSpan}{s2 s4 s8. s16\stopTrillSpan}>> New question - the trillspan TR is colliding with the sharp # of a g# on the top line, and in another instance collides with a

Re: trillspan issue

2005-02-25 Thread Gilles
> Thanks for the hack, it doesn't work quite right. This is because you have to adapt the construct to the actual bar content. In << { music_a } { music_b } >> The duration must be equal in "music_a" and "music_b" or you'll have bar check failures (and/or the music will not look like you w

Re: trillspan issue

2005-02-25 Thread Graham Percival
On 25-Feb-05, at 12:49 AM, Gilles wrote: The following trick can be used to make the span stop very close to the bar: << { e1\startTrillSpan } { s2 s4 s8 s16 s32 s32\stopTrillSpan } >> If you want to save some space you could write { s2 s32\stopTrillSpan } Cheers, - Graham __

Re: trillspan issue

2005-02-25 Thread Chip
Gilles wrote: Hi. I am trying to use startTrillSpan and stopTrillSpan with a skip note of duration 0 to make it stop before the bar line, but that doesn't to work, the trill still continues across the barline and over the first note of the next bar. The following trick can be used to make the

Re: trillspan issue

2005-02-25 Thread Gilles
Hi. > I am trying to use startTrillSpan and stopTrillSpan with a > skip note of duration 0 to make it stop before the bar line, but that > doesn't to work, the trill still continues across the barline and over > the first note of the next bar. The following trick can be used to make the span

trillspan issue

2005-02-24 Thread Chip
I am using lilypond-2.4.2 on windoze for the first time (have 2.2 on my FreeBSD box). I am trying to use startTrillSpan and stopTrillSpan with a skip note of duration 0 to make it stop before the bar line, but that doesn't to work, the trill still continues across the barline and over the first