Am Donnerstag, 3. Juli 2008 schrieb Johan Vromans:
> Carl Sorensen <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED], 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/
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user