bug-lilypond
[Top][All Lists]
Advanced

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

restrainOpenStrings and minimumFret


From: Federico Bruni
Subject: restrainOpenStrings and minimumFret
Date: Sat, 15 Dec 2012 12:13:04 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.10) Gecko/20121028 Icedove/10.0.10

I'm a bit confused about the use of minimumFret and restrainOpenString.
Maybe adding a warning in the documentation could be a good idea.

The best way I can explain it is pasting this input code (commented).
Problem is in the last measure.

\version "2.17.9"

music =  \relative c' {
  \set minimumFret = #5
  c8 d e f <g,\4 c\3 e>2

  \set restrainOpenStrings = ##t
  c8 d e f <g,\4 c\3 e>2

% If I set minimumFret back to 0, I don't need to set restrainOpenStrings back to false
  \set minimumFret = #0
  e'8 b <e,, b' e gis b e>2.

  % except here
  % \set restrainOpenStrings = ##f
  <e a d d'\3 e\2 a>1
}

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


Thanks
--
Federico



reply via email to

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