-%% Do not edit this file; it is automatically
+%% 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.10"
+\version "2.15.40"
\header {
- lsrtags = "pitches"
+ lsrtags = "pitches, scheme-language, really-cool"
-%% Translation of GIT committish: 4385ed4cc738e164a95798862580b4b86703356f
+%% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
texidoces = "
Este fragmento de código basado en Scheme genera
24 notas aleatorias (o tantas como se necesiten), basándose en la
"
doctitlees = "Generación de notas aleatorias"
+%% Translation of GIT committish: 57f9346bb030f49336a858fcbf1519366fe56454
+ texidocfr = "
+Le fragment de code Scheme ci-dessous génère aléatoirement 24 notes
+(ou autant que nécessaire), à partir de l'heure courante (ou un nombre
+quelconque donné en argument, afin d'obtenir toujours les mêmes notes
+aléatoires). Pour obtenir une autre série de notes, il suffit de
+changer ce nombre.
+
+"
+ doctitlefr = "Génération de notes aléatoires"
+
texidoc = "
This Scheme-based snippet generates 24 random notes (or as many as
required), based on the current time (or any randomish number specified
doctitle = "Generating random notes"
} % begin verbatim
+
\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
(quotient idx 7)
(remainder idx 7)
0))))))
- (make-list 24)))))
+ (make-list 24))))
}
}