lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generating random notes


From: Urs Liska
Subject: Re: Generating random notes
Date: Wed, 22 Oct 2014 09:36:21 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

For users reading the list by email it would be nice to  quote some context.

Am 22.10.2014 05:20, schrieb truthling:
Were you successful with this Phillip?


One thing to note in this context is that there is a fundamental difference between generating random content from within a LilyPond compilation (i.e. a Scheme function) and through a script generating .ly file(s).

I'd say: Whenever there even *may* be the need to postprocess or recreate anything you should definitely generate .ly files. But when your intention is to *always* produce random results (e.g. thinking of a random exercise generator for a web application) a Scheme function seems more elegant and natural.

Urs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]