m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/lilypond.md
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2018-03-17 20:13:53 +0100
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2018-03-17 20:13:53 +0100
commit5a34032fe4d83de1ccbf9cf8e13fc6bfb4f668ce (patch)
tree22961c3008efa7cfbab13f6c69c21d4e8807b8c5 /lilypond.md
Initial commit
Diffstat (limited to 'lilypond.md')
-rw-r--r--lilypond.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/lilypond.md b/lilypond.md
new file mode 100644
index 0000000..a59c48d
--- /dev/null
+++ b/lilypond.md
@@ -0,0 +1,38 @@
+# Lilypond stuff
+
+Docs: `info LilyPond`.
+
+## Fine-grained page size
+
+ #(set! paper-alist (cons '("custom size" . (cons (* 3.8 cm) (* 1.6 cm)))
+ paper-alist))
+ \paper {
+ #(set-paper-size "custom size")
+ }
+
+## Remove footer
+
+ \header {
+ tagline = ##f
+ }
+
+## Rhythm stuff
+
+### Setting beat divisions
+
+ \overrideTimeSignatureSettings
+ 4/4 % timeSignatureFraction
+ 1/4 % baseMomentFraction
+ #'(3 1) % beatStructure
+ #'() % beamExceptions
+ \time 4/4
+ \repeat unfold 8 { c8 } |
+ \revertTimeSignatureSettings 4/4 % reverts to defaults
+ \time 4/4
+ \repeat unfold 8 { c8 } |
+
+### Pickup measure
+
+ \time 3/4
+ \partial 8
+ e8 | a4 c8 b c4 |