Hi Keith,

Save a copy of the file "pop-chords.ly" in the same directory that you want to use it. Alternatively, you can put a copy of the file into your LilyPond installation in .../usr/share/lilypond/current/ly (Linux, similar on Windows). After that, just do \include "pop-chords.ly" in the top of the file you want to use it in.

Also, you can have a look at some of the chord suffixes I've been fooling around with. Just run LilyPond on the file to see what the suffixes look like by themselves. I'm working on how to incorporate this into a file like "pop-chords.ly" and even make an expanded set of chord modifiers to use in \chordmode.

Best regards,

David

On 03/28/2010 04:53 PM, keith Luke wrote:
David,

I saw your post regarding pop-chords. I tried copying the file and running it through LilyPond, but I don't get any PDF file created. The only messages that shows in the log file are:

# -*-compilation-*-
Processing `C:/LilyPond Data/Pop-chords-test.ly'
Parsing...

Do you have an example of using pop-chords.ly <http://pop-chords.ly>? I'm working on an arrangement which has lots of altered chords and I would like to see if I can use "jazz nomenclature" rather than the LilyPond default.

Thanks,

Keith Luke

--
David Stocker
804-598-3762
http://notesettersinc.com

%{ This is a file that defines custom chord suffixes in the style of Hal Leonard Corp.'s Guitar Recorded Versions® Guitar/Vocal songbooks.

version history:
version 0.1 - mar 2010

%}

\version "2.13.16"

%power chord
\markup {
  \override #'(font-name . "Times LT Std") {
    "5"
  }
}

%major sixth
\markup {
  \override #'(font-name . "Times LT Std") {
    "6"
  }
}

%sus second and fourth
\markup {
  \override #'(font-name . "Times LT Std") {
    "sus" {
      \center-column
      \teeny { 
	{ \raise #0.75 "2" }
	{ \lower #-2.5 "4" }
      }
    }
  }
}

%minor seven, flat five
\markup {
  \override #'(font-name . "Times LT Std") {
    "m7"\hspace #-1 \raise #0.2 \flat \hspace #-1 "5"
  }
}

%minor
\markup {
  \override #'(font-name . "Times LT Std") {
    "m"
  }
}

%suspended 4th
\markup {
  \override #'(font-name . "Times LT Std") {
    "sus4"
  }
}

%suspended 2nd
\markup {
  \override #'(font-name . "Times LT Std") {
    "sus2"
  }
}

%add 9
\markup {
  \override #'(font-name . "Times LT Std") {
    "add9"
  }
}

%add 2
\markup {
  \override #'(font-name . "Times LT Std") {
    "add2"
  }
}

%minor, add 2
\markup {
  \override #'(font-name . "Times LT Std") {
    "m(add2)"
  }
}

%minor, add 4
\markup {
  \override #'(font-name . "Times") {
    "m(add4)"
  }
}

%minor, add 9
\markup {
  \override #'(font-name . "Times LT Std") {
    "m(add9)"
  }
}

%add 2nd and 4th
\markup {
  \override #'(font-name . "Times LT Std") {
    "add" {
    \center-column
      \teeny { 
	{ \raise #0.75 "2" }
	{ \lower #-2.5 "4" }
      }
    }
  }
}

%7th, sharp 9th - the "Hendrix" chord
\markup {
  \override #'(font-name . "Times LT Std") {
    "7"\hspace #-1 \raise #0.75 \sharp \hspace #-1"9"
  }
}

%minor 6th
\markup {
  \override #'(font-name . "Times LT Std") {
    "m6"
  }
}

%major 7th
\markup {
  \override #'(font-name . "Times LT Std") {
    "maj7"
  }
}

%major 9th
\markup {
  \override #'(font-name . "Times LT Std") {
    "maj9"
  }
}

%7th, no 3rd
\markup {
  \override #'(font-name . "Times LT Std") {
    "7(no 3rd)"
  }
}

%diminished
\markup {
  \override #'(font-name . "Times LT Std") {
    "°"
  }
}

%diminished 7th
\markup {
  \override #'(font-name . "Times LT Std") {
    "°7"
  }
}

%augmented
\markup {
  \override #'(font-name . "Times LT Std") {
    "⁺"
  }
}

%sus 2, add 11
\markup {
  \override #'(font-name . "Times LT Std") {
    \center-column
    \teeny {
      { \raise #0.75 "sus" }
      { \lower #-2.5 "add" }
    }
    \hspace #-0.2
    \center-column
    \teeny {
      { \raise #0.75 "2" }
      { \lower #-2.5 "11" }
    }
  }
}
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to