|
From: | Jonathan Kulp |
Subject: | Re: single staff poliphony |
Date: | Fri, 22 May 2009 13:56:54 -0500 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090409) |
Federico Bruni wrote:
I'm trying to write a bar for fingerstyle guitar (I'm using the tablature.ly file, I'd be glad to test it...but I'm at the beginnings with lilypond, please help). Could you please tell me what's wrong here? melody = \relative c { \time 4/4 \key g \major << { <d g>4 <d g>8 <e a> <f b>4 g4 } \\ { g,2 g } >> } \score { << \new Staff { \clef "G_8" \melody } \new TabStaff { \tabNumbersOnly \melody } >> } I've used the information found here: http://lilypond.org/doc/v2.13/Documentation/user/lilypond-learning/I_0027m-hearing-Voices#I_0027m-hearing-Voices But I guess I'm doing a trivial error, probably related with basic knowledge of Lilypond. I went through the doc but I couldn't find the right page. Any help much appreciated.. Thanks in advance, Federico
Hi Federico,It's failing to compile (at least on my end) because you have an undefined variable "\tabNumbersOnly", which from what I can gather is something in an \include file. I found the reference to it, as well as the include file code, in an archived mailing list posting, and when I included this file, the score compiled but I got a blank tabStaff.
Anyhow, if you get ride of the \tabNumbersOnly command then it should compile. I believe this tablature.ly file is something that's in development and not quite into the latest Lilypond source files yet. I'm running Lilypond straight from the source files and it didn't find "tablature.ly" when I tried to include it. I had to create the file myself.
HTH, Jon btw here's a link to the thread where this is discussed: http://www.nabble.com/tablature.ly,-second-attempt-td23364444.html -- Jonathan Kulp http://www.jonathankulp.com
[Prev in Thread] | Current Thread | [Next in Thread] |