Hi I've updated this file: http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=110
Can you review it? My main concern is how to deal with string numbers.I'll comment TabStaff before comitting it, but I want TabStaff to work fine so I must specify the string to get the right fret number. This produces a lot of string numbers. How to deal with that?
A possible strategy is using minimumFret when I don't want to show the string number, but I'm a bit afraid of the warnings that it may generate (done just few tests).
What do you recommend? Thanks -- Federico
\version "2.16.1" P=\rightHandFinger #1 \header { title = "Saltarello" composer = "Vincenzo Galilei (1520-1591)" instrument = "Guitar" enteredby = "Emre Akbas" piece = \markup { \circle 6 = D } % drop D tuning % mutopia headers mutopiatitle = "Saltarello" mutopiacomposer = "Vincenzo Galilei (1520-1591)" mutopiainstrument = "Guitar" style = "Renaissance" copyright = "Public Domain" maintainer = "Federico Bruni" moreinfo = "Originally typesetted by Emre Akbas (emreak...@yahoo.com)" lastupdated = "2001/Aug/26" footer = "Mutopia-2001/08/26-110" tagline = \markup { \override #'(box-padding . 1.0) \override #'(baseline-skip . 2.7) \box \center-column { \small \line { Sheet music from \with-url #"http://www.MutopiaProject.org" \line { \teeny www. \hspace #-0.5 MutopiaProject \hspace #-0.5 \teeny .org \hspace #0.5 } ⢠\hspace #0.5 \italic Free to download, with the \italic freedom to distribute, modify and perform. } \line { \small \line { Typeset using \with-url #"http://www.LilyPond.org" \line { \teeny www. \hspace #-0.5 LilyPond \hspace #-0.5 \teeny .org } by \maintainer \hspace #-0.6 . \hspace #0.5 Reference: \footer } } \line { \teeny \line { This sheet music has been placed in the public domain by the typesetter, for details see: \hspace #-0.5 \with-url #"http://creativecommons.org/licenses/publicdomain" http://creativecommons.org/licenses/publicdomain } } } } } global = { \time 3/4 \key d \major % Removed manual beaming in bars 5, 13 and 29 because of issue 2907: % http://code.google.com/p/lilypond/issues/detail?id=2907 % Nevertheless, using the following settings is probably better anyway \set Timing.beamExceptions = #'() \set Timing.baseMoment = #(ly:make-moment 1 8) \set Timing.beatStructure = #'(2 2 2) } first = \relative c' { \global \repeat volta 2 { % 1 d8 ( e\2 ) fis4 g | a2 \glissando b4 | g4 e a | fis2. | % 5 e8\2( d) e ( fis) g ( e) | fis2 g4 ~ | g4 e e8 ( fis) | d2. | d8\3 ( e\3 ) fis4\2 g\2 | % 10 a2\2 \glissando b4\2 | g4 e\3 a\2 | fis2.\2 | e8\2 ( d\2) e\2 ( fis\2) g\2 ( e\2) | fis4\2 e8[ fis] g[ fis] | % 15 e8[ d] cis[ d] e[ fis] | d2. | fis4 e d | fis2. | fis4\2 e\3 d\3 | % 20 a'2.\2 | fis4 e d | a'2 g4 ~ | g4 e4. fis8 | d2. | % 25 g8\2 ( fis\2 ) e4\3 d\3 | fis2.\2 | g8\2 ( fis\2 ) e4\3 d\3 | a'2.\2 | e8\2 ( d\2 ) e\2( fis\2) g\2( e\2) | % 30 fis4\2 g8[ fis] e[ d] | cis[ b] cis[ d] e[ fis] | d2. | R2. \harmonicByFret #7 <g,\3 b,,\2 e,\1>2. | <d,,, a' d d'\3 fis\2 d'\1>2.\arpeggio | } } second = \relative c { \global \repeat volta 2 { % 1 d,4\f_\P a'_\P d_\P | d,4 a' d | d,4 a' d | d,4 a' d | % 5 d,4 a' d | d,4 a' d | d,4 a' d | d,4 a' d | d,4\p a' d | %10 d,4 a' d | d,4 a' d | d,4 a' d | d,4 a' d | d,4 a'\f d | % 15 d,4 a' d | d,4 a' d | d,4\f a' d | d,4 a' d | d,4\p a' d | % 20 d,4 a' d | d,4\f a' d | d,4 a' d | d,4 a' d | d,4 a' d | % 25 d,4\p a' d | d,4 a' d | d,4 a' d | d,4 a' d | d,4 a' d | % 30 d,4 a'\f d | d,4 a' d | d,4 a' d | \harmonicByFret #12 { d,,4 a d, } | s2.*2 | } } \score { \new StaffGroup << \new Staff = "staff" \with { midiInstrument = "acoustic guitar (nylon)" % Avoid collision between stems and string numbers in bar 1 and 9 \override StringNumber #'add-stem-support = ##t \override Fingering #'add-stem-support = ##t } << \context Voice = "staff first voice" { \clef "G_8" \voiceOne \slurDown \tieDown \first } \context Voice = "staff second voice" { \clef "G_8" \voiceTwo \second } >> \new TabStaff = "tab" \with { stringTunings = #guitar-drop-d-tuning } << \context TabVoice = "tab first voice" { \clef "moderntab" \voiceOne \first } \context TabVoice = "tab second voice" { \clef "moderntab" \voiceTwo \second } >> >> \layout { % line breaks every 7 bars system-count = #5 } \midi { \tempo 4 = 96 } }
_______________________________________________ Mutopia-discuss mailing list Mutopia-discuss@mutopiaproject.org http://lists.bcn.mythic-beasts.com/mailman/listinfo/mutopia-discuss