wiki/text.lilypond.html
2022-07-29 15:41:17 +00:00

23 lines
7.4 KiB
HTML

<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><title>Lilypond</title><script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script><script id="MathJax-script" async="" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script type="text/x-mathjax-config">
MathJax = {
tex: {
inlineMath: [ [&#x27;$&#x27;,&#x27;$&#x27;], [&#x27;\(&#x27;,&#x27;\)&#x27;] ],
displayMath: [ [&#x27;$$&#x27;,&#x27;$$&#x27;], [&#x27;[&#x27;,&#x27;]&#x27;] ]
},
options = {
processHtmlClass = &quot;math&quot;
}
}
</script><meta name="next-head-count" content="6"/><link rel="preload" href="/wiki/_next/static/css/52fc2ba29703df73922c.css" as="style"/><link rel="stylesheet" href="/wiki/_next/static/css/52fc2ba29703df73922c.css" data-n-g=""/><noscript data-n-css=""></noscript><link rel="preload" href="/wiki/_next/static/chunks/main-ae4733327bd95c4ac325.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/framework.9d524150d48315f49e80.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/commons.0e1c3f9aa780c2dfe9f0.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/pages/_app-8e3d0c58a60ec788aa69.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/940643274e605e7596ecea1f2ff8d83317a3fb76.4841a16762f602a59f00.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/pages/%5B%5B...slug%5D%5D-1aa198f87ede1cd0e1dc.js" as="script"/></head><body><div id="__next"><main><h1>Lilypond</h1><section class="post-metadata"><span>Date: <!-- -->2021-05-10 19:36:43 +08:00</span><span>Date modified: <!-- -->2021-07-22 14:34:36 +08:00</span></section><nav class="toc"><ol class="toc-level toc-level-1"><li class="toc-item toc-item-h1"><a href="/wiki/text.lilypond#notes-chords-and-scales" class="toc-link toc-link-h1">Notes, chords, and scales</a></li><li class="toc-item toc-item-h1"><a href="/wiki/text.lilypond#paper-configuration" class="toc-link toc-link-h1">Paper configuration</a></li></ol></nav><p>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.
</p><h1 id="notes-chords-and-scales">Notes, chords, and scales</h1><pre class="src-block"><code class="language-lilypond">&lt;&lt;lilypond-paper&gt;&gt;
{ c d e f g a b c&#x27; }
\relative d&#x27; { c d e f g a b c&#x27; }
</code></pre><p><img src="/wiki/assets/lang.lilypond/notes.png" placeholder="blur"/></p><pre class="src-block"><code class="language-lilypond">&lt;&lt;lilypond-paper&gt;&gt;
\chordmode { c1 d e f g a b c&#x27; }
</code></pre><p><img src="/wiki/assets/lang.lilypond/chords.png" placeholder="blur"/></p><h1 id="paper-configuration">Paper configuration</h1><pre class="src-block"><code class="language-lilypond">\paper {
indent=10\mm
oddFooterMarkup=##f
}
</code></pre></main></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"metadata":{"date":"\"2021-05-10 19:36:43 +08:00\"","date_modified":"\"2021-07-22 14:34:36 +08:00\"","language":"en","source":""},"title":"Lilypond","hast":{"type":"root","children":[{"type":"element","tagName":"nav","properties":{"className":"toc"},"children":[{"type":"element","tagName":"ol","properties":{"className":"toc-level toc-level-1"},"children":[{"type":"element","tagName":"li","data":{"hookArgs":[{"type":"element","tagName":"h1","properties":{"id":"notes-chords-and-scales"},"children":[{"type":"text","value":"Notes, chords, and scales"}]}]},"properties":{"className":"toc-item toc-item-h1"},"children":[{"type":"element","tagName":"a","properties":{"className":"toc-link toc-link-h1","href":"/text.lilypond#notes-chords-and-scales"},"children":[{"type":"text","value":"Notes, chords, and scales"}]}]},{"type":"element","tagName":"li","data":{"hookArgs":[{"type":"element","tagName":"h1","properties":{"id":"paper-configuration"},"children":[{"type":"text","value":"Paper configuration"}]}]},"properties":{"className":"toc-item toc-item-h1"},"children":[{"type":"element","tagName":"a","properties":{"className":"toc-link toc-link-h1","href":"/text.lilypond#paper-configuration"},"children":[{"type":"text","value":"Paper configuration"}]}]}]}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The LaTeX of music notation.\nIt is a formatting language for music notation that has to be compiled into various output formats.\nThe input file is a plain-text file making it very good with version control systems.\n"}]},{"type":"element","tagName":"h1","properties":{"id":"notes-chords-and-scales"},"children":[{"type":"text","value":"Notes, chords, and scales"}]},{"type":"element","tagName":"pre","properties":{"className":["src-block"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-lilypond"]},"children":[{"type":"text","value":"\u003c\u003clilypond-paper\u003e\u003e\n{ c d e f g a b c' }\n\\relative d' { c d e f g a b c' }\n"}]}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"img","properties":{"src":"/assets/lang.lilypond/notes.png"},"children":[]}]},{"type":"element","tagName":"pre","properties":{"className":["src-block"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-lilypond"]},"children":[{"type":"text","value":"\u003c\u003clilypond-paper\u003e\u003e\n\\chordmode { c1 d e f g a b c' }\n"}]}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"img","properties":{"src":"/assets/lang.lilypond/chords.png"},"children":[]}]},{"type":"element","tagName":"h1","properties":{"id":"paper-configuration"},"children":[{"type":"text","value":"Paper configuration"}]},{"type":"element","tagName":"pre","properties":{"className":["src-block"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-lilypond"]},"children":[{"type":"text","value":"\\paper {\n indent=10\\mm\n oddFooterMarkup=##f\n}\n"}]}]}]},"backlinks":[]},"__N_SSG":true},"page":"/[[...slug]]","query":{"slug":["text.lilypond"]},"buildId":"Ie9t5zutrXP6Of75Cb5xF","assetPrefix":"/wiki","nextExport":false,"isFallback":false,"gsp":true}</script><script nomodule="" src="/wiki/_next/static/chunks/polyfills-99d808df29361cf7ffb1.js"></script><script src="/wiki/_next/static/chunks/main-ae4733327bd95c4ac325.js" async=""></script><script src="/wiki/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js" async=""></script><script src="/wiki/_next/static/chunks/framework.9d524150d48315f49e80.js" async=""></script><script src="/wiki/_next/static/chunks/commons.0e1c3f9aa780c2dfe9f0.js" async=""></script><script src="/wiki/_next/static/chunks/pages/_app-8e3d0c58a60ec788aa69.js" async=""></script><script src="/wiki/_next/static/chunks/940643274e605e7596ecea1f2ff8d83317a3fb76.4841a16762f602a59f00.js" async=""></script><script src="/wiki/_next/static/chunks/pages/%5B%5B...slug%5D%5D-1aa198f87ede1cd0e1dc.js" async=""></script><script src="/wiki/_next/static/Ie9t5zutrXP6Of75Cb5xF/_buildManifest.js" async=""></script><script src="/wiki/_next/static/Ie9t5zutrXP6Of75Cb5xF/_ssgManifest.js" async=""></script></body></html>