LilyPond

来自 Arch Linux 中文维基

LilyPond 是一款免费的制谱软件。 它的输入是 LilyPond 音乐写作格式的纯文本文件,其输出是PostScript或PDF。

安装[编辑 | 编辑源代码]

安装 lilypond 包。

前端[编辑 | 编辑源代码]

  • Denemo — 支持键盘、MIDI 与音频输入,使用 C 语言编写。
http://denemo.org/ || denemoAUR
  • Frescobaldi — Provides music view with two-way point & click, MIDI capturing and playback, written in Python with PyQt.
https://www.frescobaldi.org/index.html || frescobaldi

使用方法[编辑 | 编辑源代码]

创建一个这样的测试文档:

test.ly
{
 c' e' g' e'
}

若要编译它,请输入:

$ lilypond test.ly

It will create test.pdf and test.ps files that contain your score.

LilyPond provides musicxml2ly(1) to convert MusicXML to the LilyPond format.

For more information, see info lilypond, lilypond(1) and the documentation.

文本编辑器支持[编辑 | 编辑源代码]

LilyPond comes with modes for Emacs and Vim, see the documentation.

For Vim see the filetype plugin /usr/share/vim/vimfiles/ftplugin/lilypond.vim for the available key mappings.

Emacs lilypond-mode[编辑 | 编辑源代码]

lilypond package installs some Emacs files including /usr/share/emacs/site-lisp/lilypond-mode.el.

To use lilypond-mode, firstly M-x load-library <RET> lilypond-mode <RET> then again M-x lilypond-mode <RET>.

NeoVim[编辑 | 编辑源代码]

nvim-lilypond-suite is a plugin for writing LilyPond scores with asynchronous make, midi/MP3 player, "hyphenation" function for lyrics, fast syntax highlighting... This repository also contains an ftplugin for LaTeX files which allows embedded LilyPond syntax highlighting, and makeprg which support lilypond-book or lyluatex-gitAUR package out of the box.

另见[编辑 | 编辑源代码]