lilypond-user
[Top][All Lists]
Advanced

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

Re: \set TabStaff.minimumFret = #x


From: bb
Subject: Re: \set TabStaff.minimumFret = #x
Date: Sun, 21 Jan 2018 15:06:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

Sorry, my question was nonsense, my mistake. Obviously works if doing correct.

\version "2.19.80"
music = {   \clef "bass_8" b'8(d'8)  fis'8(b'8)  g'8( e'8)  cis'8( e'8) |
              e,,1\4}

bass = \stringTuning <e,, a,, d, g,>
\score {
  \context Staff <<
    \transpose c c, \music 

  \new TabStaff {
      \tabFullNotation 
          \set TabStaff.stringTunings = #bass
      \set TabStaff.minimumFret = #7
      \set TabStaff.restrainOpenStrings = ##t
      \music   
    }
>>
  \layout { }
}


Am 21.01.2018 um 14:57 schrieb bb:

I use

      \set TabStaff.minimumFret = #7
      \set TabStaff.restrainOpenStrings = ##t 

because I get a handy fingering. BUT there are some bass notes that I only get with the low open string. But that is not allowed due to the settings above and I get a warning

/tmp/frescobaldi-zFYV58/tmpY1u93i/document.ly:3:15: Warnung: Keine Saite für Tonhöhe #<Pitch g, > (Bund () angegeben)

g,\4

Is there any possibility to throw an exception for a single note or a group of notes?

I add an example for testing:

\version "2.19.80"
music = {   \clef "bass_8" b'8(d'8)  fis'8(b'8)  g'8( e'8)  cis'8( e'8) | g,1\4}

\score {
  \context Staff <<
    \transpose c c, \music 

  \new TabStaff {
      \tabFullNotation     
      \makeDefaultStringTuning #'bass-tuning \stringTuning <e,, a,, d, g,>
      \set TabStaff.minimumFret = #7
      \set TabStaff.restrainOpenStrings = ##t
      \music   
    }
>>
  \layout { }
}



reply via email to

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