]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/generating-random-notes.ly
Update to LSR with local copy
[lilypond.git] / Documentation / snippets / generating-random-notes.ly
index 1611b89b6d4dd32b73621126cc7158b47f1ba86f..606d44f3757bd9b7f795998c9f752932cef370b5 100644 (file)
@@ -1,11 +1,15 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
 %% This file is in the public domain.
-\version "2.13.1"
+\version "2.15.20"
 
 \header {
   lsrtags = "pitches"
 
-%% Translation of GIT committish: 48f804da6794a7bc8e7fdd4b1649f485b0b09d26
+%% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98
   texidoces = "
 Este fragmento de código basado en Scheme genera
 24 notas aleatorias (o tantas como se necesiten), basándose en la
@@ -29,9 +33,8 @@ get different random note patterns, just change this number.
 
 \score {
   {
-    #(let ((random-state (seed->random-state (current-time))))
-       (ly:export
-        (make-sequential-music
+    $(let ((random-state (seed->random-state (current-time))))
+       (make-sequential-music
          (map (lambda (x)
                 (let ((idx (random 12 random-state)))
                   (make-event-chord
@@ -42,6 +45,6 @@ get different random note patterns, just change this number.
                                         (quotient idx 7)
                                         (remainder idx 7)
                                         0))))))
-              (make-list 24)))))
+              (make-list 24))))
   }
 }