lilypond-user
[Top][All Lists]
Advanced

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

Re: 2 muisc + tablature in 2 staves


From: Grateful Frog
Subject: Re: 2 muisc + tablature in 2 staves
Date: Sun, 21 Dec 2008 22:25:46 +0100

Sorry for that last post! I found version 2.11 precompiled for 64bit and it works!!!! as advertized!

This is one great program! I'm overcome with joy!

What needs to be done on the development side?
Cheers & thanks for all!
GF

On Sun, Dec 21, 2008 at 10:06 PM, Grateful Frog <address@hidden> wrote:
Thanks Carl!

Alas, that document is for version 2.11 and I am on Ubuntu 64bit and only have
\version "2.10.33" ...

I guess that's why the code you sent me, which looks like exactly what I need, failed, like this:

$  lilypond -b eps ex-04.ly

GNU LilyPond 2.10.33
Processing `ex-04.ly'
Parsing...
ex-04.ly:24:0: error: unknown escaped string: `\storePredefinedDiagram'

\storePredefinedDiagram \chordmode { c1:7sus4 }

Is there a solution in version 2.10 or can I get 2.11 and build it for my 64bit Ubuntu platform?

I really appreciate all this help, just the pointer to the learning manual was a big help. I never would have found it on the Lilypond.org site, strangley...

Thanks for taking such good care of us noobies.

By the way, I've laready started on a lisp front end to make it easier to automate the construction of the ly files!
Ciao,
GF

On Sun, Dec 21, 2008 at 9:11 PM, Carl D. Sorensen <address@hidden> wrote:



On 12/21/08 12:26 PM, "Grateful Frog" <address@hidden> wrote:

> Thanks for that bit!
>
> I'm sorry if I'm asking so many noobie questions, but my question is not so
> much about the chords, but about the notes.
>
> In the example below, you see that I have to type the same notes in both
> staves, i.e. c2 c2 g'4 g4 g4 g4 d1.
> I'm trying to find a way of replacing that by a single definition of the
> notes. Any ideas?

It's easy.  You want to use the FretBoards context for your FretBoards.

\storePredefinedDiagram \chordmode { c1:7sus4 }
                        #guitar-tuning
                        "x;5;5;5;x;x;"
\storePredefinedDiagram \chordmode {d}
                       #guitar-tuning
                      "3;5;5;4;3;3;"

mynotes = {
 c2 c2 g'4 g4 g4 g4 d1
}

mychords = \chordmode { c1:7sus4 r1 d1 }

 <<
  \new ChordNames { \mychords }
  \new FretBoards { \mychords }
  \new Staff \relative c' { \mynotes }
  \new TabStaff  \relative c'{
     \mynotes
  }
 >>


If you haven't read the Learning Manual for 2.11, please do so -- it'll help
you.

If you have, you can learn more about the guitar functions in the Notation
Reference, under the section on Fretted Strings.

Thanks,

Carl

>
> In all events, THANKS for all the help!
> GF




--
50°48'39.85"N  4°25'20.29"E



--
50°48'39.85"N  4°25'20.29"E

reply via email to

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