]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/generating-random-notes.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / input / lsr / generating-random-notes.ly
index 0c0ae4e2d3e8bbedffd6c96606ec4531a8162b66..601adbc6c97e6523c4153457a9ee932b3708e29c 100644 (file)
@@ -1,18 +1,21 @@
 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
 %% This file is in the public domain.
-%% Tags: pitches
-\version "2.11.35"
+\version "2.11.51"
 
-\header { texidoc = "
-This Scheme-based snippet allows you to generate 24 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.
-" }
-% begin verbatim
+\header {
+  lsrtags = "pitches"
+
+  texidoc = "
+This Scheme-based snippet generates 24 random notes (or as many as
+required), based on the current time (or any randomish number specified
+instead, in order to obtain the same random notes each time): i.e., to
+get different random note patterns, just change this number.
+
+"
+  doctitle = "Generating random notes"
+} % begin verbatim
 \score {
-{ #(let ((random-state (seed->random-state (current-time))))
+  { #(let ((random-state (seed->random-state (current-time))))
     (ly:export
      (make-music 'SequentialMusic 'elements
       (map (lambda x
@@ -24,5 +27,5 @@ change this number.
                                       (remainder idx 7)
                                       0))))))
        (make-list 24)))))
-   }
+  }
 }