lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Acciaccatura Inside Arpeggio


From: Ted Stanion
Subject: Re: Acciaccatura Inside Arpeggio
Date: Wed, 19 Mar 2008 19:02:34 -0700

Thank you!  That works brilliantly.

Ted

On Wed, Mar 19, 2008 at 5:03 PM, Neil Puttock <address@hidden> wrote:
> Hi Ted,
>
>  Here's one way of doing it, using a hidden grace note:
>
>  \version "2.11.42"
>  \paper { ragged-right = ##t }
>  \score {
>         \new Staff \relative c'' {
>                 %a note to improve layout for this snippet
>                 g
>                 %polyphonic section
>                 << {
>                         %the acciaccatura, with slur to g
>                         \acciaccatura a8\arpeggio
>                         %override to ignore "note clashing column" error
>                         \once \override NoteColumn #'ignore-collision = ##t
>                         %to prevent slur joining b have to remove d & b
>                         g8.
>                 }
>                 %a new voice for the hidden grace note
>                 \new Voice { \voiceTwo
>                         %an invisible gracenote with arpeggio to join up with 
> the acciaccatura above
>                         \hideNotes \grace a,8\arpeggio
>                         %the rest of the chord. By scaling a dotted crotchet, 
> saves having
>  to remove stencil for flag
>                         %cf. \oneVoice \once \override Stem #'flag-style = 
> #'no-flag <b d>8.
>                         \unHideNotes \oneVoice <b d>4.*1/2
>                 } >> f'16
>         }
>         \layout {
>                 \context {
>                         %allow arpeggios to be connected between different 
> voices on a stave
>                         \Staff
>                         \consists Span_arpeggio_engraver
>                         connectArpeggios = ##t
>                 }
>         }
>  }
>
>  If it's OK for the slur to be above, it's a bit simpler:
>
>  \version "2.11.42"
>  \paper { ragged-right = ##t }
>  \score {
>         \new Staff \relative c'' {
>                 g
>                 << {
>                         \slurUp
>                         \acciaccatura a8\arpeggio
>                         <g d b>8.
>                 }
>                 \new Voice { \voiceTwo
>                         \hideNotes \grace a,8\arpeggio
>                 } >> f'16
>         }
>         \layout {
>                 \context {
>                         \Staff
>                         \consists Span_arpeggio_engraver
>                         connectArpeggios = ##t
>                 }
>         }
>  }
>
>  Regards,
>  Neil
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]