[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Optional chords
From: |
Richard Shann |
Subject: |
Re: Optional chords |
Date: |
Fri, 28 Oct 2016 12:17:26 +0100 |
On Fri, 2016-10-28 at 11:56 +0100, Richard Shann wrote:
> On Fri, 2016-10-28 at 10:43 +0200, Herbert Liechti wrote:
> > Hi
> >
> >
> > In Jazz notation you find often chords symbol in parenthesis (see the
> > attached picture for an example). It this case it indicates what to
> > play when doing a turnaround in other cases it indicates an
> > alternative to the standard chords.
> >
> >
> > Is there a way to do that in lilypond? If found no hints in the
> > snippets and documentation. I use this quite often.
>
> \parenthesize <c' e' g'>4
>
> I got this from Denemo's output for the "Parenthesize Chord" command...
That doesn't do several chords in one parenthesis, I looked at
http://lsr.di.unimi.it/LSR/Snippet?id=902 and cooked up this example:
startParenthesis = {
\once \override ParenthesesItem.stencils = #(lambda (grob)
(let ((par-list (parentheses-item::calc-parenthesis-stencils grob)))
(list (car par-list) point-stencil )))
}
endParenthesis = {
\once \override ParenthesesItem.stencils = #(lambda (grob)
(let ((par-list (parentheses-item::calc-parenthesis-stencils grob)))
(list point-stencil (cadr par-list))))
}
%%%%%% Example:
\new ChordNames {
\override ParenthesesItem.font-size = #5
\startParenthesis \parenthesize <c e b>
d' e' f'
\endParenthesis \parenthesize g'
}
HTH
Richard
>
> Richard
>
> >
> >
> > Thanks and best regards
> > herbert
> > --
> > address@hidden, ThinX AG, Bielstrasse 69, CH-4500
> > Solothurn
> > Tel +41 (0)32 623 81 66, Mobile +41 (0)76 334 81 66,
> > http://www.thinx.ch
> >
> > _______________________________________________
> > lilypond-user mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user