lilypond-user
[Top][All Lists]
Advanced

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

Re: Chord Charts - rhythm and chords


From: Reinhold Kainhofer
Subject: Re: Chord Charts - rhythm and chords
Date: Thu, 3 Jul 2008 15:07:09 +0200
User-agent: KMail/1.9.9

Am Donnerstag, 3. Juli 2008 schrieb Johan Vromans:
> Carl Sorensen <address@hidden> writes:
> > Here is an example.
>
> Very nice!
> Is there a way to avoid the naturals and sharps? They're rather
> meaningless.

You mean the key signature (and its cancellation)? That's easy: Simple create 
the staff context manually and remove the Key_engraver there:

mychords = \chordmode { c1:7 f }
  
myrhythm = {
  \key f \major
  \improvisationOn
  e8 f8 r8 b8 r8 b8 r8 b |
  c1
}

<<
  \new ChordNames {
    \mychords
    \transpose f c { \mychords }
  }
  
  \new Staff \with { \remove Key_engraver }
  <<
    \new Voice \with { \consists Pitch_squash_engraver } 
    \relative c'' {
      \myrhythm
      \transpose f c { \myrhythm }
    }
  >>
>>


Of equivalently (as long as all your staves should hide the key signature and 
all voices should use the Pitch_squash_engraver):

mychords = \chordmode { c1:7 f }
  
myrhythm = {
  \key f \major
  \improvisationOn
  e8 f8 r8 b8 r8 b8 r8 b |
  c1
}

\layout {
  \context { \Staff
    \remove Key_engraver   
  }
  \context { \Voice
    \consists Pitch_squash_engraver
  }
}    

<<
  \new ChordNames {
    \mychords
    \transpose f c { \mychords }
  }
  
  \relative c'' {
    \myrhythm
    \transpose f c { \myrhythm }
  }
>>


Cheers,
Reionhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/




reply via email to

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