lilypond-user
[Top][All Lists]
Advanced

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

Re: [Fwd: Re: Powerchords (edited..]


From: Brett Duncan
Subject: Re: [Fwd: Re: Powerchords (edited..]
Date: Sat, 23 Apr 2005 08:33:12 +1000
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Jennifer Clark wrote:


Brett Duncan wrote:

You can overrider Lilypond's chord naming mechanism by adding the
following...


Thanks for your help Brett, much appreciated. I've tried the example you gave, but am getting the following error:-

/home/jen/scores/RockFord/notes.ly:7:3: error: syntax error, unexpected STRING,
expecting NOTENAME_PITCH or DRUM_PITCH or '>':
 <
  c g>1-\markup { \super "5" }

Is there somewhere in particular the statements you gave must go? I have them alongside all the \notes definitions. I am using lilypond 2.2.5.

Jennifer

Ah, in your earlier post you put that you were using version 2.5.2.

This should work:

/-----------------------------------------------
chExceptionMusic = \notes {
  <c g>1-\markup { \super "5" }}

% add to existing exceptions.
chExceptions = #(append
  (sequential-music-to-chord-exceptions chExceptionMusic #t)
  ignatzekExceptions)

someMusic = \chords {
      \set chordNameExceptions = #chExceptions
      f^3 g^3   %  -- that's f ^ 3 and g ^ 3; alt: f:sus g:sus
 }


\score {
  << \context ChordNames \someMusic
    \context Voice \someMusic
  >>
  }
-----------------------------------------------/

The only difference is that version 2.2.x requires "\notes" in that first line.

HTH

Brett




reply via email to

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