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 #’first-time-only \arpeggio  e8      |
       d8      cs      b       cs4->           b8      |
   }   \new Voice { \voiceTwo
       fs8     g       fs      e4.-\tag #’first-time-only \arpeggio            |
       fs4.                    gs                      |
  }
  >> |
       a8      a       gs      g       fs      e       |
   }

   upperStaff =   \relative c' {
       a4 a a
       \barsSixToEight

       b4 b b
       % Somehow suppress \arpeggio here:
       \removeWithTag #’(first-time-only) \barsSixToEight
   }

Hope this helps!
Kieren.
_______________________

Kieren MacMillan, composer
www:  <http://www.kierenmacmillan.info>
email:  i...@kierenmacmillan.info


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to