A A A TEST - Pavone 2024
4/4 (rubato) C
---
2024-12-21 pickok
This a test file to verify transpositions, format rules follows.
The file is an UTF-8 plain text with three parts:
- header
- body
- footer
HEADER
------
the file starts with a three lines header as follows (white spaces are relevant):
line 1:
TITLE - author (artist) year
Note: artist can be a famous performer the tune is best known for and can be omitted
authors can be more than one, separated by comma i.e. "Kern, Fields"
year must be four chars long e.g. 1969
line 2:
time (style) key
e.g.: 4/4 (swing) Bb
line 3:
an empty line
BODY
----
Contains the chord grids, with symbols separated by '|' (bars)
Other symbols can also be used (e.g. ':' for repetitions)
General rules follows
1) all valid keys are handled:
C/A- Db/Bb- D/B- Eb/C- E/C#- F/D- Gb/F#/Eb-/D#- G/E- Ab/F- A/F#- Bb/G- B/G#
2) all and only notes in valid keys are handled:
C, C#/Db, D, D#/Eb, E, E#/F, F#/Gb, G, G#/Ab, A, A#/Bb, B/Cb
3) double accident are NOT handled
if needed for transponing, the enharmonic equivalent notes are used
4) '[' and ']' are used for sections names and/or notes:
text inside is not interpred as music, so you can use them also for comments
be warned that all other text (outside the []) before the '---' line can be treated as music
if a note name (A B C D E F G) is recognized during transposition
5) common short chord symbols are rendered with similar UNICODE characters;
to easy typing the chart, the following keyboard shortcut can be applied:
-----+-----+------+---------
CHR -> SYM CODE CHORD
-----+-----+------+---------
^ Δ 0394 maj7
0 ø 00F8 -7b5
NB: - when found in the body of the song, the chars above will be replaced
with the equivalent symbols: use them deliberately!
- UNICODE musical symbols as ♭, ♮, ♯ are NOT recognized, and will be ignored
for transposition: use always plain '#' and 'b' for chord names
FOOTER
------
The musical section must end with a line containing three (or more) dashes, like this:
---
After that line anything can be written
to see the content of the file below the footer mark (and the full header as well)
the '...' button can be used.
SUMMARY FOR AI
--------------
GRID FORMATTING RULES
1. First line: Title (in uppercase) + " - " + Author(s) + " " + Year of composition
Example: ALL THE THINGS YOU ARE - Hammerstein/Kern 1939
2. Second line: Time signature + " (" + Style + ") " + Key
Example: 4/4 (swing) F-
3. Blank line: Leave a blank line.
4. Chord grid:
Use the chord symbols and bar lines ("|") as they appear in the lead sheet.
Replace:
- "maj7" with "^"
- "-7b5" with "0"
- "dim7" with "°"
Use a standard "b" for flat and a standard hash "#" for sharp.
5. Blank line: Leave a blank line.
6. Separation line:
Insert '---' as a delimiter.
7. Date and model:
Add a line with the date (format yyyy-mm-dd) and the model used.
Example: 2024-12-27 GPT-4
--------------
This is still a work in progress I'm still developing,
NO AI WERE HARMED DURING PRODUCION.
You can use the software and code at your risk under the terms of the
GNU General Public License version 3 or later.
Content files are licenced under the Attribution-ShareAlike 4.0 International deed,
any contribution will be appreciated.
You can write me at tilly@utillyty.eu
Attilio Pavone 12/21/2024
|