I am creating a chord dictionary for 6-string guitar in standard tuning in latex as a default setting. I have a csv file with 7000-10,000 chords, with 6 columns containing the fret numbers (eg 4-3-2-x-4-x) and 6 columns containing the note names and 6 columns containing the intervals. I also have alternate tunings provided.
I would like you to be able to produce a latex piano diagram for each chord using the csv file. You may also use python if need be. Labels for the white notes should be provided below the keyboard, and the black notes should be provided above the keyboard. The chord should be named either above the keyboard or in the figure description.
You should also produce one diagram of a piano with all the notes showing, including sharps and flats, in black and white. I can provide jpeg examples of how it should look like.
The keys that are required in a given chord should be coloured using a hexadecimal provided colour, possibly with some grey added. I can provide some existing code with colours for a guitar fretboard for you to match styles with.
You should also create staff notation for a treble clef, for each chord, using the fret numbers in the csv and the provided tuning as your input. I can provide images that will help you map the notes from the guitar on the piano.
You can use existing packages as starting points to get you up and running quickly, however your computer program should be able to take the number of strings and tuning as input. If you want to use existing midi files as your input, there may be an option to use that as well, as I might be able to provide those if it helps.
Finally, I may need your assistance in finding a nice font that latex can use to show flat, sharp and natural sybols in-text in the latex document.