Re: scheme code generate variable series with leading "\"
Harm, thank you very much.Immanuel,Ming From: Thomas Morley To: MING TSANG Cc: David Kastrup ; Lilypond-usermailinglist 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 : > 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
Re: Frescobaldi MusicXML import
Hello Johan, ... but Jeep the original line breaks, to ease score fine tuning. Jacques Menu, iPhone > Le 9 août 2016 à 12:34, Johan Vromans a écrit : > > With MusicXML, import could you please add --no-stem-directions to the > settings? > > Maybe even better (and easier) if MusicXML2ly had a power option to "Ignore > everything that LilyPond can do better". > > -- Johan > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: scheme code generate variable series with leading "\"
2016-08-09 12:20 GMT+02:00 MING TSANG : > 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
Frescobaldi MusicXML import
With MusicXML, import could you please add --no-stem-directions to the settings? Maybe even better (and easier) if MusicXML2ly had a power option to "Ignore everything that LilyPond can do better". -- Johan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: scheme code generate variable series with leading "\"
David, thank you for the scheme code for me. It works and save lots of typing. Thank you very much. Thomas, how to use "$@(reverse (map cdr mel))"? Jan-peter, thank you for showing me another way of doing this. Immanuel,Ming From: Thomas Morley To: David Kastrup Cc: MING TSANG ; Lilypond-usermailinglist Sent: Monday, August 8, 2016 10:51 AM Subject: Re: scheme code generate variable series with leading "\" 2016-08-08 14:15 GMT+02:00 David Kastrup : > Thomas Morley writes: > >> 2016-08-08 13:49 GMT+02:00 MING TSANG : >>> Dear lilyponders: >>> I do not know scheme code. Can scheme code to generate variable series with >>> leading "\"? >>> Detail question in the lily file attachment. >>> Thank you for any help. >>> Immanuel, >>> Ming. >>> >>> >>> ___ >>> lilypond-user mailing list >>> lilypond-user@gnu.org >>> https://lists.gnu.org/mailman/listinfo/lilypond-user >>> >> >> $@(reverse (map cdr mel)) > > Ah, but the order in that is only "accidentally" correct. If you define > the pieces in a separate order, they will come out in different order. > See my somewhat more tedious solution elsewhere. True, ofcourse. But the syntax allows for mel.foo = { ... } as well. Your approach as well as Jan-Peters would fail on it. Obviously the user is responsible in which order he/she defines. So why not the most simple... Or the user needs to sort the alist to fit his/her needs anyway. Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user