]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/generating-random-notes.ly
LSR updates
[lilypond.git] / Documentation / snippets / generating-random-notes.ly
index 99832b9263a349d4c6f0f938b119e4ea4c569db8..a21dce761228828ef72bbaf7ff69805301a6975f 100644 (file)
@@ -4,12 +4,12 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.14.0"
+\version "2.15.25"
 
 \header {
   lsrtags = "pitches"
 
-%% Translation of GIT committish: 615cbf212fdaf0b220b3330da417d0c3602494f2
+%% 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
@@ -33,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
@@ -46,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))))
   }
 }