Re: How to auto print empty measures?
On 2018-12-28 3:45 pm, Reggie wrote: Again you don't understand the first post. He wants a finale sibelius pre engraving blank bar layout. I am aware of all your code aaron but thanks though :)) not neccsarry I am very aware of what OP is talking about, and what you describe is not it. OP desires that LilyPond automatically extend staves to match the length of another longer staff. That is, one may have a series of instruments of varying lengths of music, but one desires that all of them terminate at the same moment, even if that means adding in space. All a user needs to do is manually insert the desired amount of space on lines that are too short. As I showed, this can be done in a way that does not require one to care how much or how little music each staff has. -- Aaron Hill ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to auto print empty measures?
Am Sa., 29. Dez. 2018 um 00:58 Uhr schrieb Thomas Morley : > > Am Fr., 28. Dez. 2018 um 22:28 Uhr schrieb Philip Bergwerf > : > > > > When working with Lilypond I want Lilypond to print the empty measures from > > every instrument, like how Denemo is doing by default. For example: instr. 1 > > has 10 measures of music. I want lilypond to print the empty measures of all > > staffs in the project. Is there a way to reach this? How? > > > > Cheers, Philip Bergwerf > > No idea why you want this... > > Probably: > Or even: skp = #(define-music-function (mus)(ly:music?) #{ \new Staff \new Devnull $mus #}) > skp = > #(define-music-function (mus)(ly:music?) > #{ > \new Staff > << > \new Devnull $mus > #(skip-of-length mus) > >> > #}) > > \skp > \relative { > \time 3/4 > d'2 c4 > \break > \time 2/4 > e2 > \bar "||" > } > > > Works at Voice level only. Ofcourse spacing will be completely different. > > > Cheers, > Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to auto print empty measures?
> Again you don't understand the first post. He wants a finale sibelius pre > engraving blank bar layout. I am aware of all your code aaron but thanks > though :)) not neccsarry Well, THAT is so trivial to achieve that I, like many others, apparently did not understand the OPs request. For the record: It is documented how that is done and there is (or used to be) an example in the snippet repository. Last not least in this thread there have been several solutions to the OPs problem already. Kind regards Michael ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to auto print empty measures?
Aaron Hill wrote > On 2018-12-28 2:01 pm, Reggie wrote: >> Kieren and David I think you don't understand I believe the poster >> wanted to >> see blank music ahead of engraving like the other program software >> does. Not >> simple to just hide and unfold that's not quite the same thing. > > LilyPond prints precisely as much music as you provide. If you only > input a few notes, then that is all you will (and should) get. > > If you require additional empty space, simply use the spacer rest. For > instance, "s1*10" will result in the space equivalent to ten whole > notes. > > You can use simultaneous music to make this process very clear. > Consider: > > ><< \new Staff \repeat unfold 4 \relative c' { c4 d e f | g a b c } > \new Staff << \relative c' { c8 d e f g } \\ { s1*8 } >> >> > > > Here we have a second staff with only five quavers for the time being, > and we would like the staff to extend as long as the eight measures > above. The << \\ >> construct makes it easy to independently specify > the notes for display as well as the desired overall duration. > > > -- Aaron Hill > > ___ > lilypond-user mailing list > lilypond-user@ > https://lists.gnu.org/mailman/listinfo/lilypond-user Again you don't understand the first post. He wants a finale sibelius pre engraving blank bar layout. I am aware of all your code aaron but thanks though :)) not neccsarry -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to auto print empty measures?
Am Fr., 28. Dez. 2018 um 22:28 Uhr schrieb Philip Bergwerf : > > When working with Lilypond I want Lilypond to print the empty measures from > every instrument, like how Denemo is doing by default. For example: instr. 1 > has 10 measures of music. I want lilypond to print the empty measures of all > staffs in the project. Is there a way to reach this? How? > > Cheers, Philip Bergwerf No idea why you want this... Probably: skp = #(define-music-function (mus)(ly:music?) #{ \new Staff << \new Devnull $mus #(skip-of-length mus) >> #}) \skp \relative { \time 3/4 d'2 c4 \break \time 2/4 e2 \bar "||" } Works at Voice level only. Ofcourse spacing will be completely different. Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to auto print empty measures?
On 2018-12-28 2:01 pm, Reggie wrote: Kieren and David I think you don't understand I believe the poster wanted to see blank music ahead of engraving like the other program software does. Not simple to just hide and unfold that's not quite the same thing. LilyPond prints precisely as much music as you provide. If you only input a few notes, then that is all you will (and should) get. If you require additional empty space, simply use the spacer rest. For instance, "s1*10" will result in the space equivalent to ten whole notes. You can use simultaneous music to make this process very clear. Consider: << \new Staff \repeat unfold 4 \relative c' { c4 d e f | g a b c } \new Staff << \relative c' { c8 d e f g } \\ { s1*8 } >> >> Here we have a second staff with only five quavers for the time being, and we would like the staff to extend as long as the eight measures above. The << \\ >> construct makes it easy to independently specify the notes for display as well as the desired overall duration. -- Aaron Hill ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to auto print empty measures?
On 12/28/2018 2:22 PM, Philip Bergwerf wrote: When working with Lilypond I want Lilypond to print the empty measures from every instrument, like how Denemo is doing by default. For example: instr. 1 has 10 measures of music. I want lilypond to print the empty measures of all staffs in the project. To clarify, is this the effect you want? % BEGIN \version "2.19.80" \score { << \new Staff = "Instr1" { \repeat unfold 40 { c'4 } } \new Staff = "Instr2" { \repeat unfold 10 { R1 } } >> } % END And you want the second staff to fill with empty measures (skips) or rests without having to specify how many? -- Karlin High Missouri, USA ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to auto print empty measures?
Kieren MacMillan wrote > Hi Philip, > >> When working with Lilypond I want Lilypond to print the empty measures >> from >> every instrument, like how Denemo is doing by default. For example: >> instr. 1 >> has 10 measures of music. I want lilypond to print the empty measures of >> all >> staffs in the project. Is there a way to reach this? How? > > There are many possible ways to accomplish what you want. One would be to > omit / hide / remove all grobs/engravers that are being used: > > \version "2.19.80" > > \layout { > \context { > \Staff > \remove "Ledger_line_engraver" > \hide NoteHead > } > } > > { > \repeat unfold 10 { c'1 } > } > > There are probably more efficient and elegant ways. > > Hope this helps! > Kieren. > > > Kieren MacMillan, composer > ‣ website: www.kierenmacmillan.info > ‣ email: > info@ > > > ___ > lilypond-user mailing list > lilypond-user@ > https://lists.gnu.org/mailman/listinfo/lilypond-user Kieren and David I think you don't understand I believe the poster wanted to see blank music ahead of engraving like the other program software does. Not simple to just hide and unfold that's not quite the same thing. -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to auto print empty measures?
Philip Bergwerf wrote > When working with Lilypond I want Lilypond to print the empty measures > from > every instrument, like how Denemo is doing by default. For example: instr. > 1 > has 10 measures of music. I want lilypond to print the empty measures of > all > staffs in the project. Is there a way to reach this? How? > > Cheers, Philip Bergwerf > > > > -- > Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html > > ___ > lilypond-user mailing list > lilypond-user@ > https://lists.gnu.org/mailman/listinfo/lilypond-user I too wanted this but failed to understand how to do it in lilypond so i am curious to see how you do. Also I think it's silly that Lily cannot auto fill measures either that way. Like if you enter input 4 4 time. You input one Quarter note and an eighth note and want to auto fill measure with engraved correctly blank rests like finale And sibelius it doesn't. You have to always do all rests yourself. I don't think what you are asking is available in lilypond but I wish you the best. -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to auto print empty measures?
Philip Bergwerf writes: > When working with Lilypond I want Lilypond to print the empty measures > from every instrument, like how Denemo is doing by default. For > example: instr. 1 has 10 measures of music. I want lilypond to print > the empty measures of all staffs in the project. Is there a way to > reach this? How? That's what LilyPond does by default anyway, so just remove whatever you do that stops it from doing so. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to auto print empty measures?
Hi Philip, > When working with Lilypond I want Lilypond to print the empty measures from > every instrument, like how Denemo is doing by default. For example: instr. 1 > has 10 measures of music. I want lilypond to print the empty measures of all > staffs in the project. Is there a way to reach this? How? There are many possible ways to accomplish what you want. One would be to omit / hide / remove all grobs/engravers that are being used: \version "2.19.80" \layout { \context { \Staff \remove "Ledger_line_engraver" \hide NoteHead } } { \repeat unfold 10 { c'1 } } There are probably more efficient and elegant ways. Hope this helps! Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
How to auto print empty measures?
When working with Lilypond I want Lilypond to print the empty measures from every instrument, like how Denemo is doing by default. For example: instr. 1 has 10 measures of music. I want lilypond to print the empty measures of all staffs in the project. Is there a way to reach this? How? Cheers, Philip Bergwerf -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Jianpu
Thank you for the workaround. Sent from my iPhone > On Dec 27, 2018, at 2:44 PM, Thomas Morley wrote: > > > >> Am Do., 27. Dez. 2018 um 21:03 Uhr schrieb MING TSANG : >> Dear Paul and David >> >> I don't know the code. Appreciate if either one of you can help to resolve >> the tie problem for jianpu. > > Hi, > > my knowledge about Jianpu is zero. > Though, how _should_ it look? Like the attached png? > If so why not replacing the Tie with a Slur? At least this was how I created > the image. > > Cheers, > Harm > > > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Possible bug with tempo mark spacing
Hi Malte, > That sounds like a really special case: MarkLine context AND hidden Staff AND > this staff contains notes (why is it hidden then?) AND Y-offset is set AND > extra-spacing-width is set … That "really special case" includes >50% of my choral writing, which comprises >50% of my composition and engraving projects. =) 1. I use a MarkLine context 100% of the time. 2. That MarkLine context has Y-offset and extra-spacing-width set in its definition. 3. In a choral score containing both divisi and combined staves, it is essentially guaranteed that there will be at least one (and likely multiple) hidden Staff contexts which contain notes. > I’m not sure, maybe it’s expected behaviour in many cases and only your case > is so special that it looks buggy even if it’s consistent. I’ve considered it a bug [for several years], and simply worked around it. I’m glad someone else has found it and reported it — I have always been under too much pressure to try to create a MWE [i.e., backing out and compressing into a single file my very extensive \include hierarchy]. > Using \markLengthOn instead of \override MetronomeMark.extra-spacing-width = > #'(0 . 0) works for me. Would that help in your use case? I’ve always used that (or the manual equivalent), injected via the edition-engraver. Hopefully it works for Saul as well. Cheers, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Possible bug with tempo mark spacing
It's not that special of a case. Hiding a staff containing notes and using a MarkLine are normal techniques for managing a large ensemble score. >From property-init.ly: markLengthOn = { \override Score.MetronomeMark.extra-spacing-width = #'(0 . 1.0) \override Score.RehearsalMark.extra-spacing-width = #'(-0.5 . 0.5) % Raise as much as four staff-spaces before pushing notecolumns right \override Score.MetronomeMark.extra-spacing-height = #'(4 . 4) \override Score.RehearsalMark.extra-spacing-height = #'(4 . 4) } So it appears the relevant difference is setting some positive extra-spacing-height when setting extra-spacing-width. On further testing with ledger lines and placing a staff above the MarkLine, the right setting seems to be MetronomeMark.extra-spacing-height = #'(4 . 0), rather than #'(4 . 4). I still wonder if there is a bug in the interaction with hidden staves. Staves shouldn't be affecting spacing on systems where they are dead. On Fri, Dec 28, 2018 at 6:47 AM Malte Meyn wrote: > > > Am 28.12.18 um 04:54 schrieb Saul Tobin: > > > > When using a context like MarkLine for tempo marks, if the staff > > immediately below the MarkLine is hidden but contains rhythmic activity, > > and if BOTH Y-offset and extra-spacing-width are overridden for > > MetronomeMark, the first rhythmic column will stretch to the width of > > the tempo mark. > > That sounds like a really special case: MarkLine context AND hidden > Staff AND this staff contains notes (why is it hidden then?) AND > Y-offset is set AND extra-spacing-width is set … > > > > > Is this a bug? > > I’m not sure, maybe it’s expected behaviour in many cases and only your > case is so special that it looks buggy even if it’s consistent. > > Using \markLengthOn instead of \override > MetronomeMark.extra-spacing-width = #'(0 . 0) works for me. Would that > help in your use case? > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Possible bug with tempo mark spacing
Am 28.12.18 um 04:54 schrieb Saul Tobin: When using a context like MarkLine for tempo marks, if the staff immediately below the MarkLine is hidden but contains rhythmic activity, and if BOTH Y-offset and extra-spacing-width are overridden for MetronomeMark, the first rhythmic column will stretch to the width of the tempo mark. That sounds like a really special case: MarkLine context AND hidden Staff AND this staff contains notes (why is it hidden then?) AND Y-offset is set AND extra-spacing-width is set … Is this a bug? I’m not sure, maybe it’s expected behaviour in many cases and only your case is so special that it looks buggy even if it’s consistent. Using \markLengthOn instead of \override MetronomeMark.extra-spacing-width = #'(0 . 0) works for me. Would that help in your use case? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user