Chord Charter is a Java program that generates formatted musical chord charts, from raw input text provided by the user.
The following describes the data you may enter into the upper text area. Carriage returns in the text are respected, thus bars entered on the same line in the input text will be displayed on the same line in the HTML output.
[title: Air on the G String (in {D} Major)]| Attribute Example | Explanation |
|---|---|
[title: Happy Talk] |
Indicates the title of the chord chart, which will be centered at the top of the output. |
[subtitle: From "South Pacific"] |
Indicates one of possibly multiple subtitles, each of which appears on its own line in the output, centered beneath the title. |
[composer: Richard Rodgers] |
Indicates the composer. Is rendered at the top right of the output. |
[author: Oscar Hammerstein] |
Indicates the author or lyricist. Is rendered at the top left of the output. |
[copyright: Copyright 1949 by Rodgers and Hammerstein] |
The copyright notice. Is rendered centered at the bottom of the output. |
[first-bar-number: 1] |
The number of the first bar of the chord chart. If absent, then numbering starts with bar 1. If the music starts with a pickup bar, this value should be set to 0, so that the first full bar becomes bar number 1. |
[show-bar-numbers: false] |
Determines if bar numbers are to be displayed at all. Valid values are true (the default) and
false. |
[show-sections: false] |
Determines if section headings are to be displayed at all.
Valid values are true (the default) and
false. |
[section: Verse 2] |
Defines a named section of music, which starts with a particular bar. It must be placed within the appropriate bar. Is rendered as boxed text above the bar. |
[fifths-transposition: 0]Transpose by |
The number of fifths by which to transpose the entire chord chart. The default is 0. Transpositions are expressed in fifths, rather than semitones, because semitone transpositions of musical spellings are ambiguous (since multiple enharmonic spellings exist for each pitch class). For example, transposing C up by 1 semitone could result in either C# or Db. However, transposing C up by 7 fifths results in C#, whereas transposing C down by 5 fifths results in Db. You may use the dropdown list at the left to translate a desired musical interval into the number of fifths to enter in the attribute. |
[chord-font-size: 12] |
The font size of the chord symbols, in points. The default is 12. |
[line-spacing: 10] |
The vertical space between the musical systems, in pixels. The default is 0 (i.e., the systems are as close together as possible). |
[bar-left: (Piano enters)][bar-center: Fermata][bar-right: "Oklahoma..."]
|
Provides an "annotation" for the bar, which appears either left-justified, centered, or right-justified above the bar, according to the attribute name. May be used for performance directions, lyric cues, etc. It must be placed within the appropriate bar. If more than one is present within a bar, only the last one is recognized. |
/* and */. These delimiters and the text between them are ignored
by the program. This is particularly useful for temporarily hiding portions of the input
text from the program, without having to actually cut the text out.
Nested comments are not recognized. Thus, if the input text contains/* A /* B */ C *//* A /* B */C */C*/