bug-lilypond
[Top][All Lists]
Advanced

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

Re: Fwd: Possible bug with minimumFret


From: Federico Bruni
Subject: Re: Fwd: Possible bug with minimumFret
Date: Sat, 05 Jan 2013 10:04:01 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.11) Gecko/20121123 Icedove/10.0.11

Il 04/01/2013 15:26, David Kastrup ha scritto:
Federico Bruni<address@hidden>  writes:

2013/1/4 Eluze<address@hidden>

Yevgeny Lezhnin wrote
When I trying to change TabStaff.minimumFret to 3 there is 0 fret for
all notes, that can be on 0 fret.

see the NR:

http://www.lilypond.org/doc/v2.17/Documentation/notation/common-notation-for-fretted-strings

Even when minimumFret is set, open strings are used whenever possible. This
behaviour can be changed by setting restrainOpenStrings to #t

I've been wondering for a while why restrainOpenStrings is set to #f by
default.
Most of the times users expect not to have open strings when they set
minimumFret. IMO open strings should be restrained by default when
minimumFret is set.

I've skimmed through issue 2348 but I couldn't find any discussion on this
matter.
What do you think about it?

I disagree.  When I am playing in seventh position and am _not_ using a
barre, I _very_ definitely don't want frets below the seventh _except_
for empty strings.

Very typical would be the three-voiced passages of lute/guitar versions
of the prelude in BWV1006.  Those are fingered in rather high frets, but
with the high E string being played empty all the while.


Yes, I'm aware of such situations.
I just wanted to report that at least in my experience most of the times I use minimumFret I have to set restrainOpenStrings to true. And I _think_ that most of people using tablature experience the same. I might try to ask on lilypond-user.. or just wait and see if someone else "complains" about it.

It might conceivably make sense to have a more specific interface: one
allowing to specify _which_ strings are allowed empty.  It is unusual
(though not unheard of) to use an empty string in the _middle_ of played
strings in high positions: usually this is done on an exposed string
either above or below (like with a half-barre) the fingered strings.


Yes, that could be handy.
Currently we have two options: re-setting minimumFret for the open string with \once \set or using string numbers.

\version "2.17.10"

music =  \relative c' {
  \set minimumFret = #6
  \set restrainOpenStrings = ##t
  g8 b \once \set minimumFret = #0 g g'

  \unset minimumFret
  g,\5 b\4 g g'\2
}

\score {
  \new StaffGroup <<
    \new Staff <<
      \context Voice { \clef "G_8" \music }
    >>
    \new TabStaff  <<
      \context TabVoice { \clef "moderntab" \music }
    >>
  >>
}



reply via email to

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