lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Errors when using TabStaff with stringTunings


From: David Kastrup
Subject: Re: Errors when using TabStaff with stringTunings
Date: Tue, 25 Aug 2015 09:13:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Blöchl Bernhard <address@hidden> writes:

> I sent that post on Monday August 24th at about 17:00 UTC. It never
> appeared on the list for reasons I do not know. For another trial I
> send that mail again.
>
>
> I cannot tell you the reason
>       #'( -5 -10 -15 -20)
> does not work. But I can tell you how I do it:
>
>
> %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> \version "2.18.0"
>
> five-bass = \stringTuning < b,, e, a, d g >
>
> yourmusic = {
>  \key g \minor
>  R1*12
>  r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r
>       c''\1 c''\1 c''\1 r bes'\1 bes'\1 bes'\1
>  r bes'\1 bes'\1 bes'\1 r a'\1 a'\1 a'\1 r
>       d''\1 d''\1 d''\1 r d''\1 d''\1 d''\1
>  r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r
>       c''\1 c''\1 c''\1 r bes'\1 bes'\1 bes'\1
>  r bes'\1 bes'\1 bes'\1 r a'\1 a'\1 a'\1 d''\1
>       d''\1 d''\1 d''\1 d''\1 d''\1 d''\1 d''\1
> }
>
>
> \score {
>  \new StaffGroup <<
>  \new TabStaff <<
>  %\set TabStaff.stringTunings = #'( -5 -10 -15 -20)
>  \set TabStaff.stringTunings = #five-bass
>  {
>  \yourmusic
>  }
>  >>
>  >>
>  \layout{}
> }
>
>       %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> That even works with \version "2.12.3".

Uh, it even "works" with \version "2.7.38".  You just have to use a
version of LilyPond that is at least at version 2.15.16 (for addition of
the \stringTuning command with the somewhat undescriptive but colorful
commit message
commit 3170fd65067a96ea861c173c81fce5f0e127762e
Author: David Kastrup <address@hidden>
Date:   Sun Oct 23 15:29:45 2011 +0200

    Get rid of most of the insane string-tunings API
) and at least version 2.15.43 to allow for assigning a value to
five-bass with a normal LilyPond assignment.

You seem to misunderstand what \version does.  It is important for
convert-ly, and LilyPond will complain whenever the \version header
indicates a version newer than itself (or, for some strange reason,
older than 2.7.38).  But apart from this warning, LilyPond does not
change behavior.  It's still the same old 2.18.2 or whatever else it has
been compiled as.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]