Generating random notes: Difference between revisions
Import snippet from LSR |
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
||
| Line 5: | Line 5: | ||
to generate ''n'' random notes between pitches ''from'' and ''to'', with duration ''dur''. | to generate ''n'' random notes between pitches ''from'' and ''to'', with duration ''dur''. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
randomNotes = | randomNotes = | ||
#(define-music-function (n from to dur) | #(define-music-function (n from to dur) | ||