Suppress command (\arpeggio) in music variable

2014-12-25 Thread Joel C. Salomon
I've got a bit of music that repeats -- except there's an arpeggio that's only there the first time. I've defined a music variable thus: barsSixToEight = { \new Voice { \voiceOne d'8 cs d fs4-\arpeggio e8 | d8 cs b cs4- b8

Re: Suppress command (\arpeggio) in music variable

2014-12-25 Thread Kieren MacMillan
Hi Joel, As indicated, I do not want the arpeggio in the second repetition. Is there a way to achieve what I'm trying to do? Something along the lines of \barsSixToEight \override Arpeggio.stencil = ##f \barsSixToEight \revert Arpeggio.stencil (or some similar variant) should work.

Re: Suppress command (\arpeggio) in music variable

2014-12-25 Thread Ted Lemon
On Dec 25, 2014, at 10:50 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: \override Arpeggio.stencil = ##f \barsSixToEight \revert Arpeggio.stencil This will prevent it showing up in the output, but it'll still show up in the midi, won't it?

Re: Suppress command (\arpeggio) in music variable

2014-12-25 Thread David Nalesnik
Hi, On Thu, Dec 25, 2014 at 10:01 AM, Ted Lemon mel...@fugue.com wrote: On Dec 25, 2014, at 10:50 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: \override Arpeggio.stencil = ##f \barsSixToEight \revert Arpeggio.stencil This will prevent it showing up in the output, but it'll

Re: Suppress command (\arpeggio) in music variable

2014-12-25 Thread Joel C. Salomon
On 12/25/2014 10:50 AM, Kieren MacMillan wrote: As indicated, I do not want the arpeggio in the second repetition. Is there a way to achieve what I'm trying to do? Something along the lines of \barsSixToEight \override Arpeggio.stencil = ##f \barsSixToEight \revert Arpeggio.stencil

Re: Suppress command (\arpeggio) in music variable

2014-12-25 Thread Kieren MacMillan
Hi, This will prevent it showing up in the output, but it'll still show up in the midi, won't it? Hmmm… I think it probably will. So maybe use tags instead? e.g. (warning: UNTESTED CODE!): barsSixToEight = { \new Voice { \voiceOne d'8 cs d fs4--\tag

Re: Suppress command (\arpeggio) in music variable

2014-12-25 Thread Joel C. Salomon
On Thu, Dec 25, 2014 at 11:37 AM, David Nalesnik david.nales...@gmail.com wrote: This should do the trick then: \version 2.19.15 That worked; thank you. --Joel ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Suppress command (\arpeggio) in music variable

2014-12-25 Thread David Nalesnik
On Thu, Dec 25, 2014 at 10:49 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi, This will prevent it showing up in the output, but it'll still show up in the midi, won't it? Hmmm… I think it probably will. So maybe use tags instead? e.g. (warning: UNTESTED CODE!):

Re: Suppress command (\arpeggio) in music variable

2014-12-25 Thread David Nalesnik
Joel. On Thu, Dec 25, 2014 at 12:06 PM, David Nalesnik david.nales...@gmail.com wrote: I can't test it with the example the OP has given, since it doesn't compile. Ah, I see the note about changing the language of the example on GitHub. --David