Pitch_squash_engraver

2009-09-08 Thread Christian Henning
Hi there, quick question since I cannot find anything in the
documentation. Is there a way to have a note head struck out? Meaning
the the chord is strum but only with muted strings.

Thanks,
Christian


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond - chord progression

2009-09-06 Thread Christian Henning
Hi Patrick,

>> \new ChordNames {
>> \chordmode
>>       {
>>               g1 |
>>               g16*6:sus4 g16*10 | \break
>>               bes1 |
>>               bes16*6:sus4 bes16*10 | \break
>>               c1 |
>>               c2:sus4 c2| \break
>>               c1:m |
>>               c1:m | \break
>>         g4*3 g4:sus4 |
>>         bes4*3 bes4:sus4 | \break
>>       }
>> }
> Instead of writing e.g. "g16*6" you could have used "g4.". A dotted quarter 
> note consists of six sixteenth notes. Instead of "g16*10" you could have used 
> "g8 s2" which is easier to read. You should consult the Learning Manual p. 
> 14-15 and the section Rhythm in the Notation Reference (p. 29-40)

Thanks for the hints. I like the idea of multipliers. I have read the
manuals as suggested but I haven't found a reference to your "g8 s2".
What does the "s2" part?

Also, thanks for the template you provided me with. I'll happily use
it as a template for my next project.

Regards,
Christian


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond - chord progression

2009-09-04 Thread Christian Henning
Here is what I have now. It's only the first few bar but I like the
output. Please comment if you see something:

\version "2.12.2"

#(ly:set-option 'delete-intermediate-files #t)  % deletes the .ps file
automatically

\header {
title = "Creep"
composer = "Radiohead"
}
<<
\new ChordNames {
\chordmode
{
g1 |
g16*6:sus4 g16*10 | \break
bes1 |
bes16*6:sus4 bes16*10 | \break
c1 |
c2:sus4 c2| \break
c1:m |
c1:m | \break
g4*3 g4:sus4 |
bes4*3 bes4:sus4 | \break
}
}

\new Voice \with
{
\consists Pitch_squash_engraver
}
\relative c''
{
\improvisationOn
g4 g8. g16 g8 g~g16 g g g
g8. g16 g16 g g8~g16 g g g g4
g4 g8. g16 g8 g~g16 g g g
g8. g16 g16 g g8~g16 g g g g4
g4 g8. g16 g8 g~g16 g g g
g8 g g8. g16 g16 g16 g8 g4
g4 g8. g16 g8 g~g16 g g g
g4 g8. g16 g8 g~g16 g g g
g8 g8 g8. g16 g g g g g g g g
g8 g8 g8. g16 g g g g g g g g
}
>>

Christian


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond - chord progression

2009-09-03 Thread Christian Henning
Hi all, thanks for the replies. I could fix all of my problems. I'm
using multipliers now which I find easier to use and to read. Thanks
to Brett Duncan.

This now finishes my first project using lilypond. I like it and will
continue using it. Great stuff!

Christian

On Wed, Sep 2, 2009 at 1:34 AM, Andrew Tucker wrote:
>
> On Sep 1, 2009, at 11:17 PM, Christian Henning wrote:
>
>> Hi there, I'm almost finished with my first lilypond piece. I'm quite
>> happy with the results. But, there are a couple of questions left
>> regarding the output. Please consider the following piece:
>>
>> \version "2.12.2"
>>
>> #(ly:set-option 'delete-intermediate-files #t)  % deletes the .ps file
>> automatically
>>
>> \header {
>>        title = "Title"
>>        composer = "Band"
>> }
>>
>> <<
>> \new ChordNames {
>> \chordmode
>>        {
>>                \set chordChanges = ##t
>>                g1 |
>>                g4.:sus4~g16:sus4 g2~g16 | \break
>>                bes1 |
>>                bes4.:sus4~bes16:sus4 bes2~bes16 | \break
>>                c1 |
>>                c2:sus4 c2| \break
>>                c:m |
>>                c:m |
>>        }
>> }
>>
>> \new Voice \with
>> {
>>        \consists Pitch_squash_engraver
>> }
>> \relative c''
>> {
>>        \improvisationOn
>>        g4 g8. g16 g8 g~g16 g g g
>>        g8. g16 g16 g g8  ~ g16 g g g g4
>>        g4 g8. g16 g8 g~g16 g g g
>>        g8. g16 g16 g g8  ~ g16 g g g g4
>>        g4 g8. g16 g8 g~g16 g g g
>>        g8 g8 g8. g16 g16 g16 g8 g4
>>        g4 g8. g16 g8 g~g16 g g g
>>        g4 g8. g16 g8 g~g16 g g g
>> }
>>>>
>>
>> Here are my questions.
>>
>> 1. In the first and second line inside the 2nd measure the second
>> chord is hovering to far to the right over the tie. Is it possible to
>> have the chords above the note where the tie starts?
>
> Christian, your rhythms in the chords are different than in the
> \improvisationOn part. Maybe you meant something like
> g1
> g4.:sus4 g8 ~ g2
> ...etc.
>
>> 2. In the last line and 2nd measure. The c:m is missing. Why?
>
> \set chordChanges = ##t    means "only print the chord name when the chord
> changes" - since you have two c:m in a row, it won't print the second
>
>> 3. In the \header does lilypond have options for putting down what the
>> guitar is tuned too? Also, not necessary for this piece, but how can I
>> state where to put a capo?
>>
>
> I'd suggest starting with the Fretted string instruments section (NR 2.4) -
>
> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Fretted-string-instruments.html#Fretted-string-instruments
>
> (I've definitely seen tuning and capo information in there; not sure what
> you're looking for)
>
> best of luck!
>  -Tucker
>
>> Thanks again everyone who helped me out so far,
>> Christian
>>
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: chord durations

2009-09-03 Thread Christian Henning
Hi there, I'm at work and don't really have much time.I just wanna
state that I presented my problem with a reduced sheet. The problem
was regarding the chord durations and not with the melody. I'm a
software engineer and this is how I post questions to reduce the
chance of confusion.

I have posted my complete sheet in a different thread on this mailing
list. My subject was "Lilypond - chord progression".

Also, yes, this is my first project with lilypond. I think my goal is
to create sheets similar to what you have in books like this one:

http://www.amazon.com/Unplugged-New-York-Guitar-School/dp/0793544130/ref=sr_1_3?ie=UTF8&s=books&qid=1251991185&sr=8-3

You can look inside here to see what I'm talking about. QQ, do you
think lilypond can produce that?

Regards,
Christian

On Thu, Sep 3, 2009 at 10:38 AM, Tim McNamara wrote:
>
> On Sep 2, 2009, at 7:56 PM, Patrick Horgan wrote:
>
>> Tim McNamara wrote:
>>>
>>> I am a guitarist.
>>>
>>> If all he wants is a chord chart, some paper and a pencil would be a
>>> better approach.  Or even a word processor two write out the chords like
>>> Ralph Patt did with the Vanilla Book.
>>>
>>> http://www.ralphpatt.com/VBook.html
>>>
>>> Christian's trying to do something LilyPond is not designed to do when
>>> what he really needs is a lead sheet, if he wants to use LilyPond without a
>>> lot of kerfuffling around.  I've sent him information about this
>>> back-channel.
>>
>> I agree it would be silly to use lilypond just to generate something like:
>>
>>
>> || C7/ / / | C / / / | C / / / | C / / / |
>> | F / / / | F / / / | C / / / | C / / / |
>> | G7 / / / | F / / / C / / / | C / / / ||
>>
>> But what if it was only one of the outputs from the music, which also
>> generated tab and sheet music, and midi?  While you're already using the
>> data to generate the other useful forms, what you be wrong with using it to
>> generate charts, which are a very commonly used thing in the jazz world?
>
> If there is a way to create a standard score for a jazz/rock/pop tune and
> from that to generate different outputs (lead sheet, tab, chord chart with
> lyrics, etc.), that's fine.  I don't know any way to do the last one.  I
> don't use tab- sheet music is easier to read by far- so I've never done
> anything with that in LilyPond, although I know the facility is there.
>
> I play jazz/blues/some rock on guitar and use LilyPond to create lead sheets
> (a.k.a. "charts").  I've never turned up to a jazz session or a gig and been
> presented with just a chord chart.  I am always given a lead sheet with the
> melody on the staff and the chords above (or sometimes written over the bass
> staff instead which is hard to read, usually in vocal books) and often with
> lyrics below the staff.  The only place I have seen jazz chord charts as
> such is on Ralph Patt's Web site.  Those are intended for reference to
> correct the Real Books (which frequently have erroneous changes) and not to
> be played from.
>
> My point was that LilyPond expects there to be notes on a staff in the
> input.  If you don't put them in, then you're going to have trouble getting
> LilyPond to do much of anything.  It is a *music engraving* application and
> by definition that is staves with notes (at least in Western music).  From
> Christian's questions and comments, it seemed to me that he did not
> understand the intended use of LilyPond and is trying to get it to do
> something that (1) it is not designed to do and (2) could be much more
> easily done with pencil and paper or a word processor.  I certainly could be
> misunderstanding his intent.
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond - chord progression

2009-09-01 Thread Christian Henning
I just realized a small error in my script. Here is the updated version:

\version "2.12.2"

#(ly:set-option 'delete-intermediate-files #t)  % deletes the .ps file
automatically

\header {
title = "title"
composer = "band"
}
<<
\new ChordNames {
\chordmode
{
\set chordChanges = ##t
g1 |
g4.:sus4~g16:sus4 g2~g16 | \break
bes1 |
bes4.:sus4~bes16:sus4 bes2~bes16 | \break
c1 |
c2:sus4 c2| \break
c1:m |
c1:m |
}
}

\new Voice \with
{
\consists Pitch_squash_engraver
}
\relative c''
{
\improvisationOn
g4 g8. g16 g8 g~g16 g g g
g8. g16 g16 g g8  ~ g16 g g g g4
g4 g8. g16 g8 g~g16 g g g
g8. g16 g16 g g8  ~ g16 g g g g4
g4 g8. g16 g8 g~g16 g g g
g8 g8 g8. g16 g16 g16 g8 g4
g4 g8. g16 g8 g~g16 g g g
g4 g8. g16 g8 g~g16 g g g
}
>>

I added the duration for the two c:m but the second c:m is still not
showing. Mhmm, weird.

Christian


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Lilypond - chord progression

2009-09-01 Thread Christian Henning
Hi there, I'm almost finished with my first lilypond piece. I'm quite
happy with the results. But, there are a couple of questions left
regarding the output. Please consider the following piece:

\version "2.12.2"

#(ly:set-option 'delete-intermediate-files #t)  % deletes the .ps file
automatically

\header {
title = "Title"
composer = "Band"
}

<<
\new ChordNames {
\chordmode
{
\set chordChanges = ##t
g1 |
g4.:sus4~g16:sus4 g2~g16 | \break
bes1 |
bes4.:sus4~bes16:sus4 bes2~bes16 | \break
c1 |
c2:sus4 c2| \break
c:m |
c:m |
}
}

\new Voice \with
{
\consists Pitch_squash_engraver
}
\relative c''
{
\improvisationOn
g4 g8. g16 g8 g~g16 g g g
g8. g16 g16 g g8  ~ g16 g g g g4
g4 g8. g16 g8 g~g16 g g g
g8. g16 g16 g g8  ~ g16 g g g g4
g4 g8. g16 g8 g~g16 g g g
g8 g8 g8. g16 g16 g16 g8 g4
g4 g8. g16 g8 g~g16 g g g
g4 g8. g16 g8 g~g16 g g g
}
>>

Here are my questions.

1. In the first and second line inside the 2nd measure the second
chord is hovering to far to the right over the tie. Is it possible to
have the chords above the note where the tie starts?
2. In the last line and 2nd measure. The c:m is missing. Why?
3. In the \header does lilypond have options for putting down what the
guitar is tuned too? Also, not necessary for this piece, but how can I
state where to put a capo?

Thanks again everyone who helped me out so far,
Christian


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: chord durations

2009-09-01 Thread Christian Henning
Cool, that worked. Though, in essence, I need to use the
ChordNames.chordChanges variable to surpress repeated chords. I wonder
where the current documentation mention this? googling for
"chordchanges" brings me to lilypond 2.9 documentation. There is the
chapter "7.2.3. Printing chord names" which I cannot find in 2.12.

Am I right, that lilypond is rarely used for my type of notation?
Meaning rock/pop tunes for acoustic guitar.

On Tue, Sep 1, 2009 at 1:28 AM, Andrew Tucker wrote:
>
> On Aug 31, 2009, at 10:19 PM, Christian Henning wrote:
>
>>
>>   \chordmode {
>>     g1 | g4..:sus4 g2 | \break bes1 | b4..:sus4 bes2
>>   }
>>
>
> Both your second and fourth bars are short one 16th note - maybe you meant
>
>   \set chordChanges = ##t  %only show chord changes (ie. not repeated
> chords)
>   g1 | g4..:sus4 g16 ~ g2 | \break bes1 | b4..:sus4 bes16 ~ bes2
>
> Double-dotted notes are rare, especially in pop music - more typically you
> might write this rhythm out (provided this is the rhythm you want) as
>
>   g1 | g4:sus4 ~ g8.:sus4 g16 ~ g2 | \break bes1 | b4:sus4 ~ b8.:sus4 bes16
> ~ bes2
>
> -Tucker
>


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: chord durations

2009-08-31 Thread Christian Henning
Hi there, first of all thanks to everyone who replied. I really
appreciate every reply.

For a start, I would like to describe what I'm really after. I have
some songs, mostly transcribed by my guitar teacher, which I like to
transform into sheet music. I have every songs on a piece of paper
written by a pencil. Though, I know what lilypond is suppose to
produce. All songs are mostly chord progression with an accompanying
rhythm. There is nothing fancy about the songs. They are mostly
Pixies, or Radiohead songs.

I have read most of the documentation on chords, duration, and rhythm.
Also, I'm a very beginner in writing sheet music and in being a
lilypond user.

Now, I use \chordmode to describe the chord progression with their
duration. For the rhythm I use \voice. See the next example:

\version "2.12.2"

#(ly:set-option 'delete-intermediate-files #t)  % deletes the .ps file
automatically

<<
  \new ChordNames {
\chordmode {
  g1 | g4..:sus4 g2 | \break bes1 | b4..:sus4 bes2
}
  }

  \new Voice \with {
\consists Pitch_squash_engraver
  } \relative c'' {
\improvisationOn
g16 g g g g g g g g g g g g g g g
g16 g g g g g g g g g g g g g g g
g16 g g g g g g g g g g g g g g g
g16 g g g g g g g g g g g g g g g
  }
>>

After rendering it, the chords are off by a 16th note. The first line
is mostly correct, except that the first b_flat is suppose to start on
the second line ( 3rd measure ). Though, there is something wrong with
the second G chord's duration in the second measure. Fixing that would
help me a lot.

I hope things are more clear now with my real intention.

Thanks again for the great support.

Christian


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


chord durations

2009-08-30 Thread Christian Henning
Hi there, adding a dot to a chord duration prolongs it by 50%. "g4.",
for instance, is 1.5 beats or three 8th notes. "g4.." is 1.75 beats, I
believe. Which would translate into seven 16th notes. But what is
"g4..."? Here, with 3 dots.

Also, how can I describe a duration that lasts for 2.25 beats?

I realize that I don't really ask lilypond related things but more
general music theory questions. I'm hoping this community is still
kind enough helping me out.

Thanks,
Christian


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


chord duration

2009-08-29 Thread Christian Henning
Hi there, another problem. I hope people don't get too impatient with
me. I try to figure out how to define a chord notation that doesn't
quite fit into the normal mode. Please consider the following working
code example:

\version "2.12.2"

#(ly:set-option 'delete-intermediate-files #t)  % deletes the .ps file
automatically

<<
  \new ChordNames {
\chordmode {
  g1 | g1:sus4 | g2 g4:sus4 |
}
  }

  \new Voice \with {
\consists Pitch_squash_engraver
  } \relative c'' {
\improvisationOn
g4 g g g
g4 g g g
g4 g g g
  }
>>

Inside the third measure, how can have the G chord last for 3 quarter
notes? The g:sus4 is suppose to be on the last quarter note.

Thanks a lot,
Christian


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Rhythm

2009-08-29 Thread Christian Henning
Hi there, I would like to thank everyone who participated in this
discussion. I have learned a lot!

Thanks,
Christian

On Thu, Aug 27, 2009 at 1:01 AM, Carl Glick wrote:
> If you want to learn about basic music theory, http://musictheory.net/ is
> supposed to be very good, at least according to my high school choir
> director. I feel like, if you are still at this stage, it would be better to
> use a more basic notation program like Noteworthy composer (which is free),
> or write things out by hand.
>
> On Wed, Aug 26, 2009 at 4:24 PM, Kieren MacMillan
>  wrote:
>>
>> Hi Christian,
>>
>>> Considering this pattern "g16 g g8". I do understand that the second g
>>> is inheriting the 16 from the previous g. I don't understand why I
>>> need to g8 to get the fourth 16th note? Is it maybe that the duration
>>> from the second note to the third note is of an eight note?
>>
>> No... the duration of an eighth note is equal to the total duration of two
>> sixteenth notes (i.e., 1/16 * 2 = 1/8).
>>
>> Put another way, the rhythm
>>
>>    g16 g g8
>>
>> sounds the same as the rhythm
>>
>>    g16 g g ~ g
>>
>> [note that here the third and fourth 16th notes are tied, using the ~
>> character].
>>
>>> I probably have a different way of thinking in my head than lilypond
>>> and for that matter most musicians. I'm trying to change that.
>>
>> You'll definitely need to brush up on your theory in order to quickly
>> advance in Lilypond.
>>
>> For the record, you might not want to use (i.e., learn from) the YouTube
>> video you linked to: it is rather confused/confusing on this matter. Above
>> the g16 g16 g8 pattern, the text says "two quarter beats and a half". [!!]
>> While I understand what the author meant — that a quarter note is considered
>> (in this context) a "beat", and thus a sixteenth note is a "quarter beat",
>> etc. — this is *not* a good way to learn the fundamentals of the Western
>> notation system. First of all we talk about quarter NOTES (which could be
>> confused with quarter BEATS), and secondly the duration which is considered
>> a "beat" changes depending on the time signature, tempo, and so on (so in
>> one piece, a dotted half note could be the "beat", so a "quarter beat"
>> becomes problematic).
>>
>> Good luck!
>> Kieren.
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>
> --
> Carl Glick
> (847)542-0273
> 1011 Maple Ave.
> Evanston, IL 60202
>


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Rhythm

2009-08-26 Thread Christian Henning
Considering this pattern "g16 g g8". I do understand that the second g
is inheriting the 16 from the previous g. I don't understand why I
need to g8 to get the fourth 16th note? Is it maybe that the duration
from the second note to the third note is of an eight note?

I probably have a different way of thinking in my head than lilypond
and for that matter most musicians. I'm trying to change that.

Christian

On Wed, Aug 26, 2009 at 11:28 AM, Federico Bruni wrote:
> Christian Henning wrote:
>>
>> Carl, you won it!! ;-) Thanks.
>>
>> What's the logic for naming the last "g8"?
>>
>
> http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Simple-notation#Simple-notation
> 2nd section - Durations (rhythms)
>
> "If you do not specify a duration, the previous duration is used for the
> next note."
>
>>
>> On Wed, Aug 26, 2009 at 10:49 AM, Carl Glick wrote:
>>>
>>> g16 g g8
>>>
>>> On Wed, Aug 26, 2009 at 9:30 AM, Christian Henning 
>>> wrote:
>>>>
>>>> A picture probably helps to make my point clear. The Youtube video (
>>>> http://www.youtube.com/watch?v=Z8gYpvlfGTM ) at second 25 shows what I
>>>> want as a picture.
>>>>
>>>> I'm sorry for the confusion I have caused.
>>>>
>>>> Christian
>>>>
>>>>
>>>> ___
>>>> lilypond-user mailing list
>>>> lilypond-user@gnu.org
>>>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>>
>>> --
>>> Carl Glick
>>> (847)542-0273
>>> 1011 Maple Ave.
>>> Evanston, IL 60202
>>>
>>
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Rhythm

2009-08-26 Thread Christian Henning
Carl, you won it!! ;-) Thanks.

What's the logic for naming the last "g8"?

Christian

On Wed, Aug 26, 2009 at 10:49 AM, Carl Glick wrote:
> g16 g g8
>
> On Wed, Aug 26, 2009 at 9:30 AM, Christian Henning 
> wrote:
>>
>> A picture probably helps to make my point clear. The Youtube video (
>> http://www.youtube.com/watch?v=Z8gYpvlfGTM ) at second 25 shows what I
>> want as a picture.
>>
>> I'm sorry for the confusion I have caused.
>>
>> Christian
>>
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>
> --
> Carl Glick
> (847)542-0273
> 1011 Maple Ave.
> Evanston, IL 60202
>


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Rhythm

2009-08-26 Thread Christian Henning
A picture probably helps to make my point clear. The Youtube video (
http://www.youtube.com/watch?v=Z8gYpvlfGTM ) at second 25 shows what I
want as a picture.

I'm sorry for the confusion I have caused.

Christian


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Rhythm

2009-08-25 Thread Christian Henning
Hi there, I cannot figure out how to encode a 16th note rhythm. When
counting by mouth I would say: "1and 2and 3and 4and" when all notes
are taking part. In lilypond I would write: "g16 g g g g16 g g g g16 g
g g g16 g g g". But how do I: "1ad 2ad 3ad 4ad"? Please notice I leave
out the "n".

Thanks,
Christian


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Strumming rhythm for chord progression

2009-08-14 Thread Christian Henning
Hi all, thanks a lot for your reply. I think I understand now. Inside
the \improvisationOn section I don't have to reuse the real chord
name. A placeholder might be sufficient? So instead of writing g1:sus
I can just use g1. All I want in the end is to have the chord name to
appear above the stave only. Am I on the right track?

Thanks again. Lilypond is a great tool!

Christian


On Fri, Aug 14, 2009 at 5:12 AM, Patrick Schmidt wrote:
> Hi Christian,
>
> I think you just forgot one closing curly brace ("}"). This works for me:
>
> \version "2.12.2"
> <<
>  \new ChordNames {
>    \chordmode {
>      g1 g2:sus4 g
>    }
>  }
>
> \new Voice \with {
>    \consists "Pitch_squash_engraver"
>  } {
>    \relative c'' {
>      \improvisationOn
>      g4 g8. g16 g8 g~g16 g g g
>      g8. g16 g8 g r g g g
>    }
>  }
>>>
>
> You should indent your code and your braces. It's easier to read and to find 
> errors.
>
> HTH
> patrick
>  Original-Nachricht 
>> Datum: Thu, 13 Aug 2009 20:02:20 -0400
>> Von: Christian Henning 
>> An: lilypond-user@gnu.org
>> Betreff: Strumming rhythm for chord progression
>
>> Hi there, first post ever. I'm trying to "engrave" a strumming pattern
>> for a simple chord progression. I can see how a works for major chords
>> but I'm struggling with sus4 chords.
>>
>> Here is what I have:
>>
>> \version "2.12.2"
>> \header {
>>   title = " \"Creep\" by Radiohead"
>> }
>> <<
>>    \new ChordNames {
>>  \chordmode { g g:sus4  }
>>
>>   }
>>
>>   \new Voice \with {
>>     \consists Pitch_squash_engraver
>>   } \relative c'' {
>>     \improvisationOn
>> g1
>> %next line doesn't work
>> g1:sus4
>> }
>> >>
>>
>>
>> This is what the log tells me:
>>
>> C:/Code Samples/music/songs/Radiohead/creep_1.ly:17:3: error: syntax
>> error, unexpected STRING
>> g1:
>>    sus4
>>
>> C:/Code Samples/music/songs/Radiohead/creep_1.ly:5:0: error: errors
>> found, ignoring music expression
>>
>> Can anyone help me out?
>>
>> Thanks,
>> Christian
>>
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
> --
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
>


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Strumming rhythm for chord progression

2009-08-13 Thread Christian Henning
Hi there, first post ever. I'm trying to "engrave" a strumming pattern
for a simple chord progression. I can see how a works for major chords
but I'm struggling with sus4 chords.

Here is what I have:

\version "2.12.2"
\header {
  title = " \"Creep\" by Radiohead"
}
<<
   \new ChordNames {
 \chordmode { g g:sus4  }

  }

  \new Voice \with {
\consists Pitch_squash_engraver
  } \relative c'' {
\improvisationOn
g1
%next line doesn't work
g1:sus4
}
>>


This is what the log tells me:

C:/Code Samples/music/songs/Radiohead/creep_1.ly:17:3: error: syntax
error, unexpected STRING
g1:
   sus4

C:/Code Samples/music/songs/Radiohead/creep_1.ly:5:0: error: errors
found, ignoring music expression

Can anyone help me out?

Thanks,
Christian


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user