1* Music
 2
 3This is just a repository of music I've transcribed and arranged (maybe even
 4written 👀) over the years. Download archives containing PDFs of everything from
 5the [[https://git.nixnet.services/Amolith/music/releases][releases]] page.
 6
 7* ~.cho~
 8These are [[https://www.chordpro.org/][ChordPro]] files and must be "compiled" with the ~chordpro~
 9command or pasted into an online editor (if any exist).
10
11Check [[https://www.chordpro.org/chordpro/chordpro-installation/][the documentation]] for [[https://www.chordpro.org/chordpro/chordpro-install-on-windows/][Windows]] and [[https://www.chordpro.org/chordpro/chordpro-install-on-macos/][macOS]] installation guides; I
12have no idea what the best route is because I don't run either
13full-time. For Linux, I recommend using the version from your
14distribution's package manager. Arch Linux has it under ~chordpro~ and
15Debian has it under ~chordii~.
16
17Once installed, you can simply run ~chordpro file.cho~ and it will spit
18out a nicely styled PDF in the current working directory.
19
20** Configuration
21
22I have no idea how to configure the application on any platform other
23than Linux and that is accomplished by putting a JSON file in
24~~/.config/chordpro/chordpro.json~. The following is my config and it uses
25[[https://www.jetbrains.com/lp/mono/][JetBrains Mono]] because I find that to be a very readable typeface from
26further away. You'll of course need to edit all of the values so they
27fit your environment though.
28
29#+BEGIN_SRC json
30{
31    "pdf" : {
32        "fontdir" : ["/home/amolith/.fonts/JetBrains/"],
33        "fontconfig" : {
34            "mono" : {
35                ""           : "JetBrainsMono-Regular.ttf",
36                "bold"       : "JetBrainsMono-Bold.ttf",
37                "italic"     : "JetBrainsMono-Italic.ttf",
38                "bolditalic" : "JetBrainsMono-Bold-Italic.ttf",
39            },
40        },
41        "chorus" : {
42            "bar" : {"width"  :  1,},
43        },
44        "fonts" : {
45            "title" : { "description" : "mono bold 23", },
46            "chord" : { "description" : "mono bold 13", },
47            "text" : { "description" : "mono 13", },
48            "comment" : { "description" : "mono 13", },
49        },
50    },
51}
52#+END_SRC
53
54* ~.ly~
55
56These are [[https://lilypond.org/][LilyPond]] files! LilyPond is /much/ more complicated than
57ChordPro and will require some getting used to. I recommend just reading
58through their official docs if you want to get set up and compile
59anything found here.
60
61If you're using Emacs and ~LilyPond.el~, you can simply run ~C-c C-c RET~ to
62compile the PDF then ~C-c C-s~ to view it. If you /want/ to use Emacs and
63~LilyPond.el~, you can reference [[https://git.nixnet.services/Amolith/dotfiles/src/branch/master/dotfiles/plain/emacs/.emacs.d/configuration.org#headline-62][the related section of my Emacs config
64file]].