music/README.org

59 lines
2.3 KiB
Org Mode
Raw Normal View History

2021-05-16 07:23:31 +00:00
* Music
This is just a repository of music I've transcribed and arranged (maybe
even written 👀) over the years. PDFs are not included so you'll have
to read on if you want to use any of the files here
* ~.cho~
These are [[https://www.chordpro.org/][ChordPro]] files and must be "compiled" with the ~chordpro~
command or pasted into an online editor (if any exist).
Check [[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
have no idea what the best route is because I don't run either
full-time. For Linux, I recommend using the version from your
distribution's package manager. Arch Linux has it under ~chordpro~ and
Debian has it under ~chordii~.
Once installed, you can simply run ~chordpro file.cho~ and it will spit
out a nicely styled PDF in the current working directory.
** Configuration
I have no idea how to configure the application on any platform other
than Linux and that is accomplished by putting a JSON file in
2021-05-25 19:42:30 +00:00
~~/.config/chordpro/chordpro.json~. The following is my config and it uses
2021-05-16 07:23:31 +00:00
[[https://www.jetbrains.com/lp/mono/][JetBrains Mono]] because I find that to be a very readable typeface from
further away. You'll of course need to edit all of the values so they
fit your environment though.
#+BEGIN_SRC json
{
"pdf" : {
"fontdir" : ["/home/amolith/.fonts/JetBrains/"],
"fontconfig" : {
"mono" : {
"" : "JetBrainsMono-Regular.ttf",
"bold" : "JetBrainsMono-Bold.ttf",
"italic" : "JetBrainsMono-Italic.ttf",
"bolditalic" : "JetBrainsMono-Bold-Italic.ttf",
},
},
"chorus" : {
"bar" : {"width" : 1,},
},
"fonts" : {
"title" : { "description" : "mono bold 23", },
"chord" : { "description" : "mono bold 13", },
"text" : { "description" : "mono 13", },
"comment" : { "description" : "mono 13", },
},
},
}
#+END_SRC
* ~.ly~
These are [[https://lilypond.org/][LilyPond]] files! Haven't gotten into LilyPond much yet but I
know Emacs ships with a LilyPond mode built in so I will likely use
that.