Am 16.12.2010 17:04, schrieb Patrick Schmidt:
[...]
Hi Marc,
thanks for your solution but I'm still trying to find out what's wrong
with the scheme function I posted. I discussed the need for this
function with Carl and he gave me some advice:
http://www.mail-archive.com/lilypond-devel@gnu.org/msg32745.html.
It might be impossible to find a general set of values for staves and
tab staves. If I don't succeed I learned something about writing
scheme functions, at least. Maybe you can spot the mistake in the
function?
Hm, I don't know what's wrong - I tried something like
slide =
#(define-music-function (parser location len thick beg end) (number?
number? ly:music? ly:music?)
#{
\once \override Glissando #'minimum-length = $len
\once \override Glissando #'thickness = $thick
\once \override Glissando #'springs-and-rods =
#ly:spanner::set-spacing-rods
$beg \glissando $end
#})
myMusic = \relative c' {
\slide #10 #5 a4 b4\3
}
\score {
<<
\new Staff {
\new Voice {
\clef "treble_8"
\myMusic
}
}
\new TabStaff {
\new TabVoice {
\myMusic
}
}
>>
}
and that doesn't work either. I don't understand why ...
Sorry for being not very helpful.
Marc
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user