lilypond-user
[Top][All Lists]
Advanced

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

Re: Syntax and Usage Question for guitar transcription


From: Scott Tracey
Subject: Re: Syntax and Usage Question for guitar transcription
Date: Fri, 01 Jan 2016 11:05:41 -0600
User-agent: Roundcube Webmail/1.0.5

This will likely fix another issue I have around the stem direction as well. I appreciate your detailed answer. Thank you!



On 2016-01-01 10:45, Phil Holmes wrote:
----- Original Message ----- From: <address@hidden>
To: <address@hidden>
Sent: Friday, January 01, 2016 4:12 PM
Subject: Syntax and Usage Question for guitar transcription


I have two questions:

1. In the sample below, how would I make the last set of notes(<g-0 e'-0>) be part of the previous measure. 2. Since I am typesetting classical guitar, would it be better to use voices for the bass and melody? For this particular piece, I will have about 5 measures where I have to use \tweak to get the music to render the arrangement properly.

%-----------------------------------------------------------------
\version "2.18.2"

#(set-global-staff-size 24)

symbols = {
<d-0 a-2 \tweak #'duration-log #4 f'-1>2 g'4-4 <\tweak #'duration-log #1 c-3 a-2 f'-1>4 <g-0 e'-0>
}

\score {
  <<
    \new Staff {
         \set Staff.midiInstrument =#"acoustic guitar (nylon)"
\clef "G_8" \key c \major \time 4/4 \tempo "Expressive" \symbols }
    \new TabStaff { \symbols }
  >>
  %\midi { }
}
%-----------------------------------------------------------------

I would do this with voices, since it makes it much clearer what is
wanted. Using tweak duration log is a horrible kludge.

Something like

lower = {
<d-0 a-2>2 c2-3
}

upper = {
f'4-1 g'4-4 <a-2 f'-1>4 <g-0 e'-0>
}

\score {
<<
\new Staff {
\set Staff.midiInstrument =#"acoustic guitar (nylon)"
<<
\new Voice {\voiceOne \set fingeringOrientations = #'(up) \clef "G_8"
\key c \major \time 4/4 \tempo "Expressive" \upper }
\new Voice {\voiceTwo \set fingeringOrientations = #'(down) \lower }

}
\new TabStaff { \upper }

%\midi { }
}


means that Lily handles all the timing issues automatically.  You'll
need to adapt your tab notation to use the new variables.

--
Phil Holmes




reply via email to

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