Harm,  thank you very much.Immanuel,Ming

      From: Thomas Morley <thomasmorle...@gmail.com>
 To: MING TSANG <tsan...@rogers.com> 
Cc: David Kastrup <d...@gnu.org>; Lilypond-usermailinglist 
<lilypond-user@gnu.org>
 Sent: Tuesday, August 9, 2016 6:44 AM
 Subject: Re: scheme code generate variable series with leading "\"
   
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