Sheet music in GNU Emacs


  • Use "Bravura Text" font for music symbols.
  • Use C-x 8 RET to enter music symbols.
  • G clef is U+1D11E . 
  • Staff is U+E01A .
  • Notes are U+1D15F and U+E1D6 .
  • Use display text properties to raise the symbols.
 (put-text-property (region-beginning) (region-end) 'display '(raise 0.1))
  • Save the file in enriched-mode to preserve the formatting. To display raise text property, add the following in .emacs .
(setq enriched-allow-eval-in-display-props t)

Comments

Popular posts from this blog

GNU Emacs as a Comic Book Reader

Mozilla Readability in GNU Emacs

Data Visualization with GNU Emacs