[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parenthesizing chord names
From: |
jpeters |
Subject: |
Re: Parenthesizing chord names |
Date: |
Sun, 1 Mar 2009 22:13:29 -0800 (PST) |
This works very well....
Kieren MacMillan wrote:
>
> Hi all,
>
> This may be the easiest solution?
>
> \version "2.12.2"
>
> #(define (left-parenthesis-ignatzek-chord-names in-pitches bass
> inversion context)
> (markup #:line ("( " (ignatzek-chord-names in-pitches bass inversion
> context))))
>
> #(define (right-parenthesis-ignatzek-chord-names in-pitches bass
> inversion context)
> (markup #:line ((ignatzek-chord-names in-pitches bass inversion
> context) " )")))
>
> LPC = { \set chordNameFunction = #left-parenthesis-ignatzek-chord-
> names }
> RPC = { \set chordNameFunction = #right-parenthesis-ignatzek-chord-
> names }
> NPC = { \unset chordNameFunction }
>
> chordset = \chordmode
> {
> c1:7 g1:7
> \LPC a1:7 \NPC f1:7
> c1:7 \RPC g1:7 \NPC
> c1:7 g1:7
> }
>
> \score
> {
> \new ChordNames \chordset
> }
>
> Hope this helps!
> Kieren.
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
--
View this message in context:
http://www.nabble.com/Parenthesizing-chord-names-tp22268521p22282735.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.