[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scheme code generate variable series with leading "\"
From: |
Thomas Morley |
Subject: |
Re: scheme code generate variable series with leading "\" |
Date: |
Tue, 9 Aug 2016 12:44:48 +0200 |
2016-08-09 12:20 GMT+02:00 MING TSANG <address@hidden>:
> Thomas, how to use "$@(reverse (map cdr mel))"?
Hi,
try below.
Uncommenting the displaying may help to see whats going on.
mel.1 = { c'4 }
mel.2 = { d' }
mel.3 = { e' }
%% make visible whats going on, i.e. print to terminal
%#(display-scheme-music mel)
%#(display-scheme-music (reverse (map cdr mel)))
%\void \displayLilyMusic { $@(reverse (map cdr mel)) }
\new Staff { $@(reverse (map cdr mel)) }
HTH,
Harm
Re: scheme code generate variable series with leading "\", David Kastrup, 2016/08/08
Re: scheme code generate variable series with leading "\", Jan-Peter Voigt, 2016/08/08