Last Modified: 9/28/2023
Last Compiled: 9/28/2023
This program automatically generates a chord chart for the songs being played on a given week at my church. More songs can be added to the src/songs/ folder following the format outlined below. Ensure that the program (WorshipList.exe) is in the same folder as the src/ folder before running.
Each song is stored as a text file with chords represented as Roman numerals, where "I" corresponds to the first chord of the scale, "II" to the second, etc. Lower case numerals denote minor chords. The program then automatically translates these numerals to standard chords, depending on the key specified.
The song files also contain some custom symbols that are shorthand for some important functions, as follows:
Keyword | Output |
---|---|
| | "|" |
x# | "x#" eg. "x2" |
new | Splits a line into two lines, preserving tab stops |
same | Denotes that two sections should appear on the same line |
/ | Denotes a chord over a bass note |
sus | Denotes a suspended chord |
( | "(" and denotes beginning of small text |
) | ")" and denotes end of small text |
Some assumptions for how the song files are formatted:
- The first line in the file is the title of the song, properly formatted. (eg. "Lion and the Lamb")
- Each section (chorus, verse, bridge, etc.) is on a new line, with the first entry being the entry name and a colon. (eg. "V/Ch:")
- The longest section name (currently) is the length of "Bridge 2:" when implemented in Word.
- Any chords wrapped in parentheses are meant to have a smaller text size.