Tremolos not working in cued voice
When inserting a cue which contains a tremolo, the note heads and stems are showing up but not the beams. Is it something I've done or missed out? I've made a (reasonably) tiny example: \version "2.16.2" cueVoice = \relative c'' { R2. \repeat tremolo 3 { b8 e } } mainVoice = \relative c'' { \time 3/4 \repeat tremolo 3 { b8 e } \new CueVoice {\set instrumentCueName = "cue"} \cueDuring "cue"#UP {R2. } \addQuote "cue"{ \cueVoice } } \score { \new Staff \mainVoice \layout { } } ___ Gez ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tremolos not working in cued voice
I thought I should post the output to make it clearer what the problem is... Gez On 12/05/2014 15:11, Gez wrote: When inserting a cue which contains a tremolo, the note heads and stems are showing up but not the beams. Is it something I've done or missed out? I've made a (reasonably) tiny example: \version "2.16.2" cueVoice = \relative c'' { R2. \repeat tremolo 3 { b8 e } } mainVoice = \relative c'' { \time 3/4 \repeat tremolo 3 { b8 e } \new CueVoice {\set instrumentCueName = "cue"} \cueDuring "cue"#UP {R2. } \addQuote "cue"{ \cueVoice } } \score { \new Staff \mainVoice \layout { } } ___ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tremolos not working in cued voice
Thanks for the tip, but I still can't get it to work. Here below is my new small example (the published png looks the same as before). I also tried adding tremolo-span-event but that caused: warning: unterminated chord tremolo Did I use the quotedCueEventTypes correctly? Gez %%% \version "2.18.0" cueVoice = \relative c'' { R2. \repeat tremolo 3 { b8 e } } \addQuote "cue"{ \cueVoice } mainVoice = \relative c'' { \set Score.quotedCueEventTypes = #'(note-event rest-event tie-event beam-event tuplet-span-event dynamic-event slur-event tremolo-repeated-music tremolo-event) \time 3/4 \repeat tremolo 3 { b8 e } \cueDuring "cue"#UP {R2. } } \score { \new Staff \mainVoice \layout { } } %% On 13/05/2014 17:30, Dominic wrote: Search the notation reference for "quotedCueEventTypes". I'm pretty sure if you add 'tremolo-event' to the list, it will work as you want it. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Why does removing Bar_engraver also removes clef?
I know this has been written about on the list before but the documentation has changed since then (I've checked pretty thoroughly). I'm looking for a way to write a load of short free-form pieces with automatic line breaks (so candenzaOn is not useful since it requires manual breaks). I'd like to inhibit the Bar_engraver in all the pieces in one book/ly file, rather than write an override in each melody. So far the workaround I've found uses a variable with override that I do have to insert in each score, but at least I can use the variable for other purposes as well. My minimal examples here show various scenarios I tried. If someone can confirm that it's all working as it's supposed to, then that's good to know, but I'd be really grateful if someone can also point me to where the documentation explains why removing the the Bar_engraver also removes the Clefs. Many thanks, Gez \version "2.18.0" thistest = { \override Staff.BarLine.stencil = ##f } \score { \relative c'{ \thistest \repeat unfold 40 { c1 } } \header { piece = "Using variable override stencil keeps clef engraved with automatic breaks" } } \score { \relative c'{ \cadenzaOn \repeat unfold 40 { c1 } } \header { piece = "Using cadenzaOn with no breaks sends line off edge of page" } } \score { \relative c'{ \cadenzaOn c c c c \break c c c c } \header { piece = "Using cadenzaOn and break alone does not break the line" } } \score { \relative c'{ \cadenzaOn c c c c \bar "" \break c c c c } \header { piece = "Using cadenzaOn with break after invisible bar does break line and engrave clef" } } \score { \layout { \context { \Staff \remove Bar_engraver } } \relative c'{ \repeat unfold 40 { c1 } } \header { piece = "Removing bar engraver creates automatic break but no clef is engraved" } } \score { \layout { \context { \Staff \remove Bar_engraver } } \relative c'{ c c c c \break c c c c } \header { piece = "Removing bar engraver also removes Clef even at added break" } } \score { \layout { \context { \Staff \remove Bar_engraver } } \relative c'{ c c c c \bar "" \break c c c c } \header { piece = "Removing bar engraver also removes Clef even at added invisible bar plus break" } } *** ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Why does removing Bar_engraver also removes clef?
On 14/11/2014 17:14, Marc Hohl wrote: Am 13.11.2014 um 23:29 schrieb Gez: I'd be really grateful if someone can also point me to where the documentation explains why removing the the Bar_engraver also removes the Clefs. I don't think that this is documented in the docs, but in the sources: In lily/clef-engraver.cc: 85/** 86 Generate a clef at the start of a measure. (when you see a Bar, 87 ie. a breakpoint) 88*/ 89void 90Clef_engraver::acknowledge_bar_line (Grob_info info) 91{ 92 Item *item = info.item (); 93 if (item && scm_is_string (get_property ("clefGlyph"))) 94create_clef (); 95} If there is not bar line to be acknowledged, the clef will not be printed. I don't know whether this is the desired behaviour as there are cases where you need the clef and line breaks, but no bar lines. HTH a bit, Thanks, Marc - that does help. Even if I'd thought to look in the sources I wouldn't have really grasped what that meant. For me, for this purpose, it isn't the desired behaviour. I wonder if there's a good reason for it? Anyway, at least now on the email list there's a note of the behaviour if anyone searches for it in future, So, to summarise - to remove bar lines and have automatic line breaking but retain the clef at the new line you can't use \context {Staff \remove Bar_engraver} (.e.g in layout, for a group of scores) - instead, you need to use \override Staff.BarLine.stencil = ##f which has to go in each score, but for batch overriding you can add the override to the score using a variable, which can of course be used for other purposes as well. --- \version "2.18.0" thistest = { \override Staff.BarLine.stencil = ##f } \score { \relative c'{ \thistest \repeat unfold 40 { c1 } } \header { piece = "Using variable override stencil keeps clef engraved with automatic line breaks" } } -- HTH someone! Gez ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user