2016-08-09 12:20 GMT+02:00 MING TSANG <tsan...@rogers.com>:

> 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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to