Janek Warchoł <[email protected]> writes:

> Oops, sorry for the late answer!
>
> 2011/7/18 Mario Moles <[email protected]>
>> even if I correct the syntax (without "= c", "= d", "= f") the error remains.
>
> I'm surprised too.
> I've discovered that when you use words for alteration (i.e.
> ,(ly:make-pitch 0 1 FLAT)  for des,  ,(ly:make-pitch 0 3 SHARP)  for
> fis) everything seems to work.
> You can also use \contextStringTuning described in Notation Reference.
> I don't have much experience with ly:make-pitch not tab tunings, so
> maybe i'm missing something, but i'm forwarding this to bugreports.
>
> %%  this throws a GUILE error:
> \version "2.15.5"
> \new TabStaff {
>   \set TabStaff.stringTunings = #`(   ,(ly:make-pitch 0 0 0.5)
>                                       ,(ly:make-pitch 0 3 0.25)
>                                       ,(ly:make-pitch 0 5 -0.5))
>   cis' fih' as'
> }

Floating point numbers are more or less by definition inexact (though
the particular values used here happen to be exactly representable in
IEEE numbers, there is no promise by Scheme for that).  Use 1/2, 1/4,
-1/2 respectively, and the problems should go away.

-- 
David Kastrup


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to