Hm, I was sure I *did* attach the file ...
Am 11.11.2014 09:29, schrieb Urs Liska:
No idea anybody?
I think I can narrow down the question even more:
Running the attached file gives
(make-music (quote Music))
on the command line. So what I need seems to be a test that returns
true if passed the above Scheme construct.
I'm not completely sure if that will bring me forward, but I do hope
so ...
Best
Urs
Am 10.11.2014 18:47, schrieb Urs Liska:
Hi all,
I'm trying to get the combination of consecutive MultiMeasureRests
working but got stuck.
I have the function combineMMRests from
http://lilypond.1069038.n5.nabble.com/new-snippet-combine-multimeasure-rests-td144688.html
which works pretty well usually, but it doesn't merge rests when
"something" is between them, even if that "something" is actually
"nothing".
Consider the attached files.
Uncommenting one of the lines in the music expression causes either a
\barNumberCheck or an empty music function to happen between the two
rests, with the result of not merging them properly.
As far as I can see the problem is in the combinable-rest? predicate
defined in the .ily file. I assume what I'd want is extending the
list of cases where this predicate returns true by some more
(currently the barnumber checks and empty music expressions returned
by a function. Of course it may be that I'd find more cases in the
future, but for now that would be it.
So I think my question is: is there a way to test if a list element
is the result of an empty music function?
Thanks for any hints, explanations or improvements.
Urs
_______________________________________________
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
\version "2.19.16"
emptyFunc =
#(define-music-function (parser location)()
#{ #})
{
c'
\displayMusic
\emptyFunc
c'
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user