]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/generating-random-notes.ly
Merge branch 'translation' into staging
[lilypond.git] / Documentation / snippets / generating-random-notes.ly
index d17f9028292aa591d68c7b73ebe6a420d9275522..cf2bfb23e93e8b7465c1065c24de01b8c1d2718f 100644 (file)
@@ -4,10 +4,10 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.15.40"
+\version "2.17.11"
 
 \header {
-  lsrtags = "really-cool, pitches, scheme-language"
+  lsrtags = "pitches, really-cool, scheme-language"
 
   texidoc = "
 This Scheme-based snippet generates 24 random notes (or as many as
@@ -29,7 +29,7 @@ get different random note patterns, just change this number.
                   (make-event-chord
                    (list
                     (make-music 'NoteEvent
-                                'duration (ly:make-duration 2 0 1 1)
+                                'duration (ly:make-duration 2 0 1/1)
                                 'pitch (ly:make-pitch
                                         (quotient idx 7)
                                         (remainder idx 7)