lilypond-user
[Top][All Lists]
Advanced

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

Re: Problem of chords with lilypond 2.10.33 under debian lenny


From: Marc Hohl
Subject: Re: Problem of chords with lilypond 2.10.33 under debian lenny
Date: Thu, 09 Jul 2009 10:25:51 +0200
User-agent: Thunderbird 2.0.0.22 (X11/20090608)

Le Piaf schrieb:
Hello everybody !

I just discover lilypond and want to make, in one page, a list of some chords with their names above.
In order to do so, I tried to use \chordnames.
I got two problems :

First, not all the alterations are visible before each chord, because lilypond considers that some alterations have been showed before.

I tried #(set-accidental-style 'forget) but it seems to have strange behaviour (second and "invisible" staff above the one where the chords are, but a key is showed)...

Secondly, I want to have one "type" of chord on each mesure. For example, every "c" (major, 6, 7, minor, and diminued) in the same mesure.
Then, every "des", etc.
What kind of \time command should I use ?
Is there another (and simple) way to do that ?

Could you help me to do that ?

I hope you'll understand my english.
Please answer in very simple words, or in french if you can (in private then)

I join a example of my try : the ".ly" file.

Thanks !

Le Piaf
If you use invisible bar lines and whole notes, you don't have to fiddle
with accidentals:

[snip]

% Accords
\version "2.10.33"
\header { title = "Accords" }

accords =
{
 \chordmode
 {
    \time 4/4
c1:maj7 \bar "" c:6 \bar "" c:7 \bar "" c:m7 \bar "" c:dim \break cis:maj7 \bar "" cis:6 \bar "" cis:7 \bar "" cis:m7 \bar "" cis:dim \break des:maj7 \bar "" des:6 \bar "" des:7 \bar "" des:m7 \bar "" des:dim \break d:maj7 \bar "" d:6 \bar "" d:7 \bar "" d:m7 \bar "" d:dim \break dis:maj7 \bar "" dis:6 \bar "" dis:7 \bar "" dis:m7 \bar "" dis:dim \break ees:maj7 \bar "" ees:6 \bar "" ees:7 \bar "" ees:m7 \bar "" ees:dim \break e:maj7 \bar "" e:6 \bar "" e:7 \bar "" e:m7 \bar "" e:dim \break f:maj7 \bar "" f:6 \bar "" f:7 \bar "" f:m7 \bar "" f:dim \break fis:maj7 \bar "" fis:6 \bar "" fis:7 \bar "" fis:m7 \bar "" fis:dim \break ges:maj7 \bar "" ges:6 \bar "" ges:7 \bar "" ges:m7 \bar "" ges:dim \break g:maj7 \bar "" g:6 \bar "" g:7 \bar "" g:m7 \bar "" g:dim \break gis:maj7 \bar "" gis:6 \bar "" gis:7 \bar "" gis:m7 \bar "" gis:dim \break aes:maj7 \bar "" aes:6 \bar "" aes:7 \bar "" aes:m7 \bar "" aes:dim \break a:maj7 \bar "" a:6 \bar "" a:7 \bar "" a:m7 \bar "" a:dim \break bes:maj7 \bar "" bes:6 \bar "" bes:7 \bar "" bes:m7 \bar "" bes:dim \break b:maj7 \bar "" b:6 \bar "" b:7 \bar "" b:m7 \bar "" b:dim \break
 } % chordmode
} % accords

\score
{
 <<
   \new ChordNames \accords
   \new Staff \accords
 >>

 \layout{}

} %score

[snip]

You can add a \paper block saying

\paper {
 indent = 0
}

to make the first line as long as the following.

Marc

Marc




reply via email to

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