wiki/structured/text.lilypond.org
Gabriel Arazas c02b532e8f Update my notes on stuff
Some CLI tools, also forgot to commit to move the exercise solutions of
SICP where it should be. The usual hierarchy notebook update.
2021-05-31 23:37:32 +08:00

45 lines
886 B
Org Mode

#+title: Lilypond
#+date: "2021-05-10 19:36:43 +08:00"
#+date_modified: "2021-05-21 18:23:00 +08:00"
#+language: en
#+property: header-args:lilypond :exports both
The LaTeX of music notation.
It is a formatting language for music notation that has to be compiled into various output formats.
The input file is a plain-text file making it very good with version control systems.
* Notes, chords, and scales
#+begin_src lilypond :file notes.png
<<lilypond-paper>>
{ c d e f g a b c' }
\relative d' { c d e f g a b c' }
#+end_src
#+results:
[[file:assets/lang.lilypond/notes.png]]
#+begin_src lilypond :file chords.png
<<lilypond-paper>>
\chordmode { c1 d e f g a b c' }
#+end_src
#+results:
[[file:assets/lang.lilypond/chords.png]]
* Paper configuration
#+name: lilypond-paper
#+begin_src lilypond :exports none
\paper {
indent=10\mm
oddFooterMarkup=##f
}
#+end_src