]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/pitches/generating-random-notes.ly
LSR: automatic update.
[lilypond.git] / input / lsr / pitches / generating-random-notes.ly
index a41f2f00660f6d431f94f5f272c356839978af46..c565e37118286ec9cc1a93c7a23085db44b73cde 100644 (file)
@@ -2,10 +2,11 @@
 \version "2.10.12"
 
 \header { texidoc = "
-This Scheme-based snippet allows you to generate 256 random notes based
-on the current time (or any randomish number you might wish to specify
-instead, so you can obtain the same random notes each time): i.e. to
-get different random notes patterns, just change this number.
+This Scheme-based snippet allows you to generate 32 random notes (or as
+many as you want), based on the current time (or any randomish number
+you might wish to specify instead, so you can obtain the same random
+notes each time): i.e. to get different random notes patterns, just
+change this number.
 " }
 
 \score {
@@ -20,6 +21,6 @@ get different random notes patterns, just change this number.
                               'pitch (ly:make-pitch (quotient idx 7)
                                       (remainder idx 7)
                                       0))))))
-       (make-list 256)))))
+       (make-list 32)))))
    }
 }