lilypond-user
[Top][All Lists]
Advanced

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

Re: guitar music notation issues


From: Tom Cloyd
Subject: Re: guitar music notation issues
Date: Thu, 21 Aug 2008 01:27:04 -0700
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

Werner,

I still cannot believe what an amazing list this is. It fully matches the Ruby (programming language) list I'm on, for sheer helpfulness and rapid response, and that's saying a LOT, believe me. Wow. So, why is this? In both cases, I think it's because the basic tool involved is so very useful, and so much appreciated. A huge credit to the creators of those tools, in both cases. How lucky we are, in the open source world.

As for the particulars of your response, I'm very grateful for your help. You've put me back to work so fast that I can easily predict I won't get enough sleep tonight.

Thanks again!

t.

Werner LEMBERG wrote:
2. The last two lines in the code are identical, except that the
last one has right hand fingering notated. Uncomment that last line
and the same sort of right hand fingering notation that works in
measure one suddenly makes the compliler nuts.

It's a simple syntax clash -- you have to add a few more spaces to
tell lilypond where your scheme expression (this is the stuff starting
with `#' ends).  I've prettified your code a bit, and it compiles
fine.  You can fine-tune the positions of graphical objects (`grobs'
in lilypond speak) with extra-offset (search this keyword in the manual).

BTW, don't intermix slurs with ties.  The latter uses `~' between
notes, the former uses the `(' and `)' suffixes.


    Werner


======================================================================


\version "2.11.56"

#(set-global-staff-size 20) % 20 this is said to be standard for most scores

\paper {
  #(set-default-paper-size "letter" 'portrait)
  ragged-last-bottom = ##t % turns off vertical justify
  left-margin = 0.6\in
  line-width = 7\in     % works better than specifying R-margin
  bottom-margin = .7\in
  top-margin = 0.7\in
}

\layout {
  indent = 0.0\cm % remove indent on first staff
}

\header {
  title = "Prelude #1 for classical guitar"
  subtitle = "An etude for walking with angels (2007.06.04)"
  composer = "Tom Cloyd"
  tagline = \markup { \small "score set by Tom Cloyd - with Lilipond - 
address@hidden" } % this is the copyright line
}

#(define RH rightHandFinger)

\new Staff {
  \key g \major
  \override Staff.TimeSignature #'style = #'()

  % this prints numerical time signatures
  \time 5/4
  \partial 2
  << { r4^"Lento" < e''\1-\RH#2 fis''-1\3-\RH#3 g''-4\2-\RH#4 >4\fermata } \\
     { e4 ~ e\fermata } >> |

  \relative c''{
    \times 2/3 { e8[ fis\3 g]\2 } e4 e e e |
    \times 2/3 { e8[-\RH#3 fis\3-\RH#1 g]\2-\RH#2 } e4 e e e |
  }
}



--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< address@hidden >> (email)
<< TomCloyd.com >> (website) << sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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