Permalink
Browse files

[#22] Add repeats and alternative endings to README.

  • Loading branch information...
gsmendoza committed Apr 1, 2012
1 parent 4295fba commit 862035a3f1d657512b72d185baf38e522f8730cb
Showing with 24 additions and 0 deletions.
  1. +24 −0 README.markdown
View
@@ -217,6 +217,30 @@ Finally, you can call multiple expressions in a single line:
bar :BayangMagiliw, :PerlasNgSilanganan, :AlabNgPuso, :SaDibdibMoyBuhay
+### Repeats and alternative endings
+
+You can also group expressions under [repeats](http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Long-repeats) and provide alternative endings:
+
+ Gitara.define do
+ line do
+ repeat 4 do
+ bar do
+ notes "c4 d e f"
+ end
+ end
+
+ alternative do
+ bar do
+ notes "d2 e"
+ end
+
+ bar do
+ notes "f2 g"
+ end
+ end
+ end
+ end
+
Properties
----------

0 comments on commit 862035a

Please sign in to comment.