Re: Beginner question about writing for drums

2023-04-28 Thread mail-login+lilypond
Nice thanks for helping.


--- Original Message ---
On Friday, April 28th, 2023 at 19:50, Pierre-Luc Gauthier 
 wrote:


> 
> 
> Closer to what I would want but still :
> 
> \new DrumStaff \with {
> } {
> \context DrumVoice = "1" {
> \override NoteHead.color = "red"
> }
> \context DrumVoice = "2" {
> \override NoteHead.color = "green"
> }
> \repeat unfold 2 \grooveI |
> \repeat unfold 4 \grooveII |
> }
> 
> HTH
> --
> Pierre-Luc Gauthier



Re: Beginner question about writing for drums

2023-04-28 Thread Pierre-Luc Gauthier
Closer to what I would want but still :

\new DrumStaff \with {
} {
\context DrumVoice = "1" {
\override NoteHead.color = "red"
  }
  \context DrumVoice = "2" {
\override NoteHead.color = "green"
  }
  \repeat unfold 2 \grooveI |
  \repeat unfold 4 \grooveII |
}

HTH
-- 
Pierre-Luc Gauthier



Re: Beginner question about writing for drums

2023-04-28 Thread Pierre-Luc Gauthier
Sorry about that, yes the example does not show anything about the
connection between voice "1" and "2".

Here is one that does :

\version "2.25.5"

\language "english"

grooveI = \drummode <<
  <<
{
  \override NoteHead.color = "red"
  \repeat unfold 15 hh16 hho\laissezVibrer |
  r8 \repeat unfold 12 hh16 hho8\laissezVibrer
}
  >>
  \\
  {
\override NoteHead.color = "green"
bd4 r bd r8. bd16 |
r16 hhp bd bd r4 bd16 8. r8 bd |
  }
>>

grooveII = \drummode <<
  <<
\repeat unfold 8 hh8  |
\repeat unfold 2 {s4 sn8 s} |
  >>
  \\
  \repeat unfold 2 {bd4 r} |
>>

\new DrumStaff \with {
} {
  \repeat unfold 2 \grooveI |
  \repeat unfold 4 \grooveII |
}


Here voice "1" stays red and voice "2" stays green.

Not sure why I do not find a way to change it in a \layout block…

\layout {
  \context {
\DrumVoice % = "1" ?
% only where DrumVoice = "1"
\override Beam.stencil = ##f
  }
}

Le ven. 28 avr. 2023, à 13 h 11,  a écrit :
>
> No question that this is a nice example as well, but I don't see where it 
> shows that the
> voices are connected somehow (most probable I just missed it when reading 
> over it).
> Can you explain further? (maybe reference some lines or what to look at)
>
> Best wishes
> Lukas
>
>
> --- Original Message ---
> On Friday, April 28th, 2023 at 16:09, Pierre-Luc Gauthier 
>  wrote:
>
>
> >
> >
> > Here is another drum example I have (Nightmare is the song name (Not
> > quite my cup of tea but hey…)).
> >
> > Le ven. 28 avr. 2023, à 10 h 07, Pierre-Luc Gauthier
> > p.luc.gauth...@gmail.com a écrit :
> >
> > > Le jeu. 27 avr. 2023, à 20 h 48, mail-login+lilyp...@protonmail.com a 
> > > écrit :
> > >
> > > > > <<
> > > > > { hh4  hh q }
> > > > > \\
> > > > > { bd4 r bd r }
> > >
> > > > are the voices somehow linked if I create another chunk like that?
> > >
> > > Yes they are.
> > >
> > > << {…} \\ {…} >>
> > >
> > > is equivalent to
> > >
> > > \new Staff <<
> > > \new Voice = "1" { \voiceOne … }
> > > \new Voice = "2" { \voiceTwo \relative … }
> > >
> > > --
> > > Pierre-Luc Gauthier
> >
> >
> >
> >
> > --
> > Pierre-Luc Gauthier
>


-- 
Pierre-Luc Gauthier



Re: Beginner question about writing for drums

2023-04-28 Thread mail-login+lilypond
No question that this is a nice example as well, but I don't see where it shows 
that the
voices are connected somehow (most probable I just missed it when reading over 
it).
Can you explain further? (maybe reference some lines or what to look at)

Best wishes
Lukas


--- Original Message ---
On Friday, April 28th, 2023 at 16:09, Pierre-Luc Gauthier 
 wrote:


>
>
> Here is another drum example I have (Nightmare is the song name (Not
> quite my cup of tea but hey…)).
>
> Le ven. 28 avr. 2023, à 10 h 07, Pierre-Luc Gauthier
> p.luc.gauth...@gmail.com a écrit :
>
> > Le jeu. 27 avr. 2023, à 20 h 48, mail-login+lilyp...@protonmail.com a écrit 
> > :
> >
> > > > <<
> > > > { hh4  hh q }
> > > > \\
> > > > { bd4 r bd r }
> >
> > > are the voices somehow linked if I create another chunk like that?
> >
> > Yes they are.
> >
> > << {…} \\ {…} >>
> >
> > is equivalent to
> >
> > \new Staff <<
> > \new Voice = "1" { \voiceOne … }
> > \new Voice = "2" { \voiceTwo \relative … }
> >
> > --
> > Pierre-Luc Gauthier
>
>
>
>
> --
> Pierre-Luc Gauthier



Re: Beginner question about writing for drums

2023-04-28 Thread Pierre-Luc Gauthier
Le jeu. 27 avr. 2023, à 20 h 48,  a écrit :
> > <<
> > { hh4  hh q }
> > \\
> > { bd4 r bd r }
> > >>

> are the voices somehow linked if I create another chunk like that?

Yes they are.

<< {…} \\ {…} >>

is equivalent to

\new Staff <<
  \new Voice = "1" { \voiceOne … }
  \new Voice = "2" { \voiceTwo \relative … }
>>

-- 
Pierre-Luc Gauthier



Re: Beginner question about writing for drums

2023-04-27 Thread mail-login+lilypond--- via LilyPond user discussion
--- Original Message ---On Thursday, April 27th, 2023 at 05:03, Stu 
McKenzie  wrote:


> 

> 

> On 2023-04-26 16:24, mail-login+lilyp...@protonmail.com wrote:
> 

> > Hi,
> > 

> > I'm just getting started with lilypond so I hope this issue is not obvious. 
> > As I'm playing the drums, many tutorials I found regarding lilypond do not 
> > quite apply in the details. So far the two things I've found are 
> > https://lilypondcookbook.com/toc and the docs 
> > https://lilypond.org/doc/v2.23/Documentation/notation/common-notation-for-percussion
> >  (if you've got additional nice tutorials, I'd be glad to have some more).
> > 

> > The thing I struggle the most is how to properly "organize" the lilypond 
> > code. Typically music (drum stuff especially when just writing a rough 
> > scheme) has lots of repetitions.
> > 

> > The problem I've got on this end is that when writing for drums usually you 
> > use two voices for the two hands (in one staff) e.g.
> > 

> > % from the tutorial I linked above
> > up = \drummode {
> > % Stems Up notes go here
> > }
> > down = \drummode {
> > % Stems Down notes go here
> > }
> > \score {<< \new DrumStaff <<
> > \new DrumVoice { \voiceOne \up }
> > \new DrumVoice { \voiceTwo \down }
> > 

> > > > > > }
> > 

> > . So to be able to use repetitions, I need lots of `<< \new Drumvoice{ 
> > \drummode{ \voiceOne content here }} \new Drumvoice{ \drummode{ \voiceTwo 
> > content here }} >>`. This looks so ugly and verbose (see the larger example 
> > below) that I'm wondering if I'm doing something wrong. Am I?
> > 

> > Does anyone of you has any experience working with drums in lilypond? Any 
> > examples (not as small as in the docs/simple tutorials where the issue of 
> > complexity does not arise but preferably not too large) I could have a look 
> > at? Any advices for me as a lilypond beginner?
> > 

> > 

> > PS:
> > Everything I state is just how I've read/learnt it so far and I'm just 
> > starting to get familiar with lilypond. So there might be errors in my 
> > statements.
> > 

> > I hope what I write is understandable (I'm no expert in music and technical 
> > terminology in a foreign language is always particularly difficult)
> > 

> > 

> > 

> > -
> > 

> > An excerpt of my writing (just writing a sheet for a song, no composing) 
> > (and see the attached image for the output):
> > 

> > \repeat volta 2 {
> >   \repeat percent 3 {
> > <<
> >   \new DrumVoice{
> > \drummode{
> >   \voiceOne
> >   \repeat unfold 12 hh8
> > }
> >   }
> >   \new DrumVoice{
> > \drummode{
> >   \voiceTwo
> >   bd4 r8 sn4 r8
> >   bd4 r8 sn4 bd8
> > }
> >   }
> > >>
> >   }
> > }
> > \alternative{
> >   {
> > <<
> >   \new DrumVoice{
> > \drummode{
> >   \voiceOne
> >   \repeat unfold 11 hh8
> > }
> >   }
> >   \new DrumVoice{
> > \drummode{
> >   \voiceTwo
> >   bd4 r8 sn4 r8
> >   bd16 bd8 bd16 sn8 sn4 tomml16 tomml16
> > }
> >   }
> > >>
> >   }
> >   {
> > <<
> >   \new DrumVoice{
> > \drummode{
> >   \voiceOne
> >   \repeat unfold 11 hh8
> > }
> >   }
> >   \new DrumVoice{
> > \drummode{
> >   \voiceTwo
> >   bd4 r8 sn8 sn8 bd8
> >   bd16 bd8 bd16 sn8 sn8. sn16 sn16 sn16
> > }
> >   }
> > >>
> >   }
> > }
> > 

> > I think this is quite a codebase for such a small piece on the sheet and 
> > the only thing (apart from maybe using quite a lot newlines) blowing this 
> > up is that `\new Drumvoice` etc is being used everywhere
> 

> I've been writing drum scores for many years and I'm still learning new ways 
> of doing things.
> 

> My approach is to use includes and variables as much as possible to reduce 
> duplicating everything.
> 

> Taking bar 1 from your example, here's a simplified structure that I use:
> 

> Song_LetterSizePaper.ly
> 

> \version "2.24.0"
> 

> \include "Title.ly"
> \include "../SetPaperSizeLetter.ly"
> \include "../Variables.ly"
> \include "CyDr.ly"
> 

> \header {
> title = \thisTitle
> subtitle = " " %% to force a space under the title
> }
> 

> \score {
> \new DrumStaff
> <<
> \new DrumVoice { \voiceOne \Cy }
> \new DrumVoice { \voiceTwo \Dr }
> >>
> \layout { indent = 0.0\cm ragged-last = ##t }
> } % end of score
> 

> The includes:
> 

> Title.ly
> \version "2.24.0"
> thisTitle = "Title - Artist"
> 

> SetPaperSizeLetter.ly (One directory up so that other scores can use it)
> 

> \version "2.24.0"
> \paper {
> #(set-paper-size "letter")
> % Centre the score with 1 inch left and right margins:
> left-margin = 1\in
> line-width = 6.5\in
> % That leaves 1 inch for the right margin.
> }
> 

> Variables.ly (One directory up so that other scores can use it)
> 

> HHSix = \drummode { \repeat unfold 6 hh8 }
> 

> CyDr.ly
> 

> \version "2.

Re: Beginner question about writing for drums

2023-04-27 Thread mail-login+lilypond
Hi,

> Quasi all I write for drum is in multiple small chunks of this format :
> <<
> { hh4  hh q }
> \\
> { bd4 r bd r }
> >>
> 

> 

> Using lots of variables of reused patterns for hh and whatnot.

Oh I like this notation. Just being curios, are the voices somehow linked if I 
create another chunk like that? (so is it possible to configure them together)

An example what I mean:
<< {hh4} \\ {bd4} >>
<< {cymbc4} \\ {sn4} >>

Can I set properties of the voices containing hh4 and the voice containing 
cymbc4 somehow commonly? (or are these two completely different voices?)

> I've attached an old transcription I made for a friend of mine for
> Vince Dicola Training Montage back in the 2.16.2 era :

That helped definitely (especially as it contains a nice mix of common 
use-cases). Thanks for sharing.

Best wishes
Lukas

signature.asc
Description: OpenPGP digital signature


Re: Beginner question about writing for drums

2023-04-26 Thread Stu McKenzie



On 2023-04-26 16:24, mail-login+lilyp...@protonmail.com wrote:

Hi,

I'm just getting started with lilypond so I hope this issue is not obvious. As 
I'm playing the drums, many tutorials I found regarding lilypond do not quite 
apply in the details. So far the two things I've found 
arehttps://lilypondcookbook.com/toc  and the 
docshttps://lilypond.org/doc/v2.23/Documentation/notation/common-notation-for-percussion
  (if you've got additional nice tutorials, I'd be glad to have some more).

The thing I struggle the most is how to properly "organize" the lilypond code. 
Typically music (drum stuff especially when just writing a rough scheme) has lots of 
repetitions.

The problem I've got on this end is that when writing for drums usually you use 
two voices for the two hands (in one staff) e.g.

% from the tutorial I linked above
up = \drummode {
% Stems Up notes go here
}
down = \drummode {
% Stems Down notes go here
}
\score {<< \new DrumStaff <<
 \new DrumVoice { \voiceOne \up }
 \new DrumVoice { \voiceTwo \down }

}

. So to be able to use repetitions, I need lots of `<< \new Drumvoice{ \drummode{ 
\voiceOne content here }} \new Drumvoice{ \drummode{ \voiceTwo content here }} >>`. 
This looks so ugly and verbose (see the larger example below) that I'm wondering if I'm 
doing something wrong. Am I?

Does anyone of you has any experience working with drums in lilypond? Any 
examples (not as small as in the docs/simple tutorials where the issue of 
complexity does not arise but preferably not too large) I could have a look at? 
Any advices for me as a lilypond beginner?


PS:
Everything I state is just how I've read/learnt it so far and I'm just starting 
to get familiar with lilypond. So there might be errors in my statements.

I hope what I write is understandable (I'm no expert in music and technical 
terminology in a foreign language is always particularly difficult)



-

An excerpt of my writing (just writing a sheet for a song, no composing) (and 
see the attached image for the output):

\repeat volta 2 {
   \repeat percent 3 {
 <<
   \new DrumVoice{
 \drummode{
   \voiceOne
   \repeat unfold 12 hh8
 }
   }
   \new DrumVoice{
 \drummode{
   \voiceTwo
   bd4 r8 sn4 r8
   bd4 r8 sn4 bd8
 }
   }
 >>
   }
}
\alternative{
   {
 <<
   \new DrumVoice{
 \drummode{
   \voiceOne
   \repeat unfold 11 hh8
 }
   }
   \new DrumVoice{
 \drummode{
   \voiceTwo
   bd4 r8 sn4 r8
   bd16 bd8 bd16 sn8 sn4 tomml16 tomml16
 }
   }
 >>
   }
   {
 <<
   \new DrumVoice{
 \drummode{
   \voiceOne
   \repeat unfold 11 hh8
 }
   }
   \new DrumVoice{
 \drummode{
   \voiceTwo
   bd4 r8 sn8 sn8 bd8
   bd16 bd8 bd16 sn8 sn8. sn16 sn16 sn16
 }
   }
 >>
   }
}

I think this is quite a codebase for such a small piece on the sheet and the 
only thing (apart from maybe using quite a lot newlines) blowing this up is 
that `\new Drumvoice` etc is being used everywhere
I've been writing drum scores for many years and I'm still learning new 
ways of doing things.


My approach is to use includes and variables as much as possible to 
reduce duplicating everything.


Taking bar 1 from your example, here's a simplified structure that I use:

_*Song_LetterSizePaper.ly*_

\version "2.24.0"

\include "Title.ly"
\include "../SetPaperSizeLetter.ly"
\include "../Variables.ly"
\include "CyDr.ly"

\header {
title = \thisTitle
subtitle = " "  %% to force a space under the title
}

\score {
  \new DrumStaff
  <<
    \new DrumVoice { \voiceOne \Cy }
    \new DrumVoice { \voiceTwo \Dr }
  >>
  \layout { indent = 0.0\cm ragged-last = ##t }
}  % end of score

The includes:

_*Title.ly*_
\version "2.24.0"
thisTitle = "Title - Artist"

_*SetPaperSizeLetter.ly (One directory up so that other scores can use it)*_

\version "2.24.0"
\paper {
  #(set-paper-size "letter")
  % Centre the score with 1 inch left and right margins:
  left-margin = 1\in
  line-width = 6.5\in
  % That leaves 1 inch for the right margin.
}

_*Variables.ly (One directory up so that other scores can use it)*_

HHSix = \drummode { \repeat unfold 6 hh8 }

_*CyDr.ly*_

\version "2.24.0"

Cy = \drummode {
\HHSix
}

Dr = \drummode {
 \time 6/8
 \tempo 4 = 140             % or maybe 4. = 140?
 bd4. sn
}

As you learn, you will probably want to use your own definitions in your 
own DrumStaff.drumStyleTable, but to get going, try some simple scores 
and progress from there.


Beginner question about writing for drums

2023-04-26 Thread mail-login+lilypond
Hi,

I'm just getting started with lilypond so I hope this issue is not obvious. As 
I'm playing the drums, many tutorials I found regarding lilypond do not quite 
apply in the details. So far the two things I've found are 
https://lilypondcookbook.com/toc and the docs 
https://lilypond.org/doc/v2.23/Documentation/notation/common-notation-for-percussion
 (if you've got additional nice tutorials, I'd be glad to have some more).

The thing I struggle the most is how to properly "organize" the lilypond code. 
Typically music (drum stuff especially when just writing a rough scheme) has 
lots of repetitions. 

The problem I've got on this end is that when writing for drums usually you use 
two voices for the two hands (in one staff) e.g.

% from the tutorial I linked above
up = \drummode {
% Stems Up notes go here
}
down = \drummode {
% Stems Down notes go here
}
\score {<< \new DrumStaff <<
\new DrumVoice { \voiceOne \up }
\new DrumVoice { \voiceTwo \down }
>> >> }

. So to be able to use repetitions, I need lots of `<< \new Drumvoice{ 
\drummode{ \voiceOne content here }} \new Drumvoice{ \drummode{ \voiceTwo 
content here }} >>`. This looks so ugly and verbose (see the larger example 
below) that I'm wondering if I'm doing something wrong. Am I?

Does anyone of you has any experience working with drums in lilypond? Any 
examples (not as small as in the docs/simple tutorials where the issue of 
complexity does not arise but preferably not too large) I could have a look at? 
Any advices for me as a lilypond beginner?


PS:
Everything I state is just how I've read/learnt it so far and I'm just starting 
to get familiar with lilypond. So there might be errors in my statements.

I hope what I write is understandable (I'm no expert in music and technical 
terminology in a foreign language is always particularly difficult)



-

An excerpt of my writing (just writing a sheet for a song, no composing) (and 
see the attached image for the output):

\repeat volta 2 {
  \repeat percent 3 {
<<
  \new DrumVoice{
\drummode{
  \voiceOne
  \repeat unfold 12 hh8
}
  }
  \new DrumVoice{
\drummode{
  \voiceTwo
  bd4 r8 sn4 r8
  bd4 r8 sn4 bd8
}
  }
>>
  }
}
\alternative{
  {
<<
  \new DrumVoice{
\drummode{
  \voiceOne
  \repeat unfold 11 hh8
}
  }
  \new DrumVoice{
\drummode{
  \voiceTwo
  bd4 r8 sn4 r8
  bd16 bd8 bd16 sn8 sn4 tomml16 tomml16
}
  }
>>
  }
  {
<<
  \new DrumVoice{
\drummode{
  \voiceOne
  \repeat unfold 11 hh8
}
  }
  \new DrumVoice{
\drummode{
  \voiceTwo
  bd4 r8 sn8 sn8 bd8
  bd16 bd8 bd16 sn8 sn8. sn16 sn16 sn16
}
  }
>>
  }
}

I think this is quite a codebase for such a small piece on the sheet and the 
only thing (apart from maybe using quite a lot newlines) blowing this up is 
that `\new Drumvoice` etc is being used everywhere

signature.asc
Description: OpenPGP digital signature


Re: Beginner question

2007-10-31 Thread Jocke



eyolf wrote:
> 
> On 31.10.2007 (18:45), Jocke wrote:
>> Aha, there should be a space there, okay. :-) Thanks! But one more thing.
>> That underscore thing in the notation thing, I want it to be shorter. It
>> streches so long to other notes. For example, in this code, the
>> underscore
>> between the word "och" streches to E. I just want it to stretch to under
>> the
>> second A there.
> 
> First of all: notes that are tied together count as one syllable.
> Second: the extender should stretch for as many syllables as you
> specify, i.e. with single underscores separated by spaces after a
> syllable: "ba -- ch __ _ _ _" would have an extender stretching under
> four syllables. In Jo -- hann __ Se -- ba -- sti -- an the extender
> will stretch for as long as that syllable lasts -- in your case, that
> would mean over the two tied notes.
> However, as you note, it goes one note further, which looks odd. In
> this case, the reason for this behaviour seems to be that this is the
> last syllable in your lyrics. The docs state that the extender goes
> between a syllable and the next one. This does seem to be a minor bug,
> though, which may not be of practical consequence, since the case in
> your example is probably very rare in practice, but if it's a bug, it
> should nevertheless be looked into.
> Thirdly: there is a way around this, if you desperately want the
> lyrics to end with an extender while there is still music left: use a
> phrasing slur "a\( a\)"  instead of the tie "a ~ a". That way, the
> notes will be counted as two syllables, and when the extender
> stretches "too far" it will still stretch only as far as you want it.
> 
> Lastly: watch your mouth; your lyrics aren't exactly appropriate for
> such a splendid piece of software, are they ;-)
> 
>> 
>> \version "2.10.33"
>> 
>> \score {
>>   
>>   <<
>> \relative c'' {
>>   \key g \major
>> 
>>   | a4 ~ a b2 | a4 ~ a e c
>>   | e4 c e f | e4 e8[ c] b2 \bar "|:" \break
>>   | a'4 b ces bis | a4 b8[ a] f2
>>   | e4 c e f | e4 e8[ c] b2 \break
>>   | a'4 a b2 | a4 a b2
>>   | d,4 e b'8[ a] f4 | e1 \bar "|."
>> }
>> 
>> \addlyrics {
>> ba -- js och __
>> }
>> 
>> \addlyrics {
>> bajs två tre f -- e -- s
>> }
>> 
>>   >>
>>   \layout { }
>>   \midi {}
>>   }
>> 
>> %%% Local Variables:
>> %%% coding: utf-8
>> %%% End:
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/Beginner-question-tf4728652.html#a13522183
>> Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
>> 
>> 
>> 
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>> 
> 
> -- 
> C-3PO:
>   I do believe they think I am some kind of god.
> Han Solo:
>   Well, why don't you use your divine influence and
>   get us out of this?
> C-3PO:
>   I beg your pardon General Solo, but that just
>   wouldn't be proper.
> Han Solo:
>   Proper???
> C-3PO:
>   It's against my programming to impersonate a deity.
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

Thank you! Great answer! Yeah, that bug should really be fixed! Haha, you
know swedish! :-D
-- 
View this message in context: 
http://www.nabble.com/Beginner-question-tf4728652.html#a13522676
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Beginner question

2007-10-31 Thread Eyolf Østrem
On 31.10.2007 (18:45), Jocke wrote:
> Aha, there should be a space there, okay. :-) Thanks! But one more thing.
> That underscore thing in the notation thing, I want it to be shorter. It
> streches so long to other notes. For example, in this code, the underscore
> between the word "och" streches to E. I just want it to stretch to under the
> second A there.

First of all: notes that are tied together count as one syllable.
Second: the extender should stretch for as many syllables as you
specify, i.e. with single underscores separated by spaces after a
syllable: "ba -- ch __ _ _ _" would have an extender stretching under
four syllables. In Jo -- hann __ Se -- ba -- sti -- an the extender
will stretch for as long as that syllable lasts -- in your case, that
would mean over the two tied notes.
However, as you note, it goes one note further, which looks odd. In
this case, the reason for this behaviour seems to be that this is the
last syllable in your lyrics. The docs state that the extender goes
between a syllable and the next one. This does seem to be a minor bug,
though, which may not be of practical consequence, since the case in
your example is probably very rare in practice, but if it's a bug, it
should nevertheless be looked into.
Thirdly: there is a way around this, if you desperately want the
lyrics to end with an extender while there is still music left: use a
phrasing slur "a\( a\)"  instead of the tie "a ~ a". That way, the
notes will be counted as two syllables, and when the extender
stretches "too far" it will still stretch only as far as you want it.

Lastly: watch your mouth; your lyrics aren't exactly appropriate for
such a splendid piece of software, are they ;-)

> 
> \version "2.10.33"
> 
> \score {
>   
>   <<
> \relative c'' {
>   \key g \major
> 
>   | a4 ~ a b2 | a4 ~ a e c
>   | e4 c e f | e4 e8[ c] b2 \bar "|:" \break
>   | a'4 b ces bis | a4 b8[ a] f2
>   | e4 c e f | e4 e8[ c] b2 \break
>   | a'4 a b2 | a4 a b2
>   | d,4 e b'8[ a] f4 | e1 \bar "|."
> }
> 
> \addlyrics {
> ba -- js och __
> }
> 
> \addlyrics {
> bajs två tre f -- e -- s
> }
> 
>   >>
>   \layout { }
>   \midi {}
>   }
> 
> %%% Local Variables:
> %%% coding: utf-8
> %%% End:
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Beginner-question-tf4728652.html#a13522183
> Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 

-- 
C-3PO:
I do believe they think I am some kind of god.
Han Solo:
Well, why don't you use your divine influence and
get us out of this?
C-3PO:
I beg your pardon General Solo, but that just
wouldn't be proper.
Han Solo:
Proper???
C-3PO:
It's against my programming to impersonate a deity.


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


Re: Beginner question

2007-10-31 Thread Jocke



Kieren MacMillan wrote:
> 
> Hello!
> 
>> the notes should be tied of course. But I also want something like an
>> underscore after the word to show the reader that it shall be  
>> singed for a
>> long time. Is this possible in Lilypond?
> 
> Yes: after the lyric, put a double-underscore, e.g., och __
> 
> Hope this helps!
> Kieren.
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
Aha, there should be a space there, okay. :-) Thanks! But one more thing.
That underscore thing in the notation thing, I want it to be shorter. It
streches so long to other notes. For example, in this code, the underscore
between the word "och" streches to E. I just want it to stretch to under the
second A there.

\version "2.10.33"

\score {
  
  <<
\relative c'' {
  \key g \major

  | a4 ~ a b2 | a4 ~ a e c
  | e4 c e f | e4 e8[ c] b2 \bar "|:" \break
  | a'4 b ces bis | a4 b8[ a] f2
  | e4 c e f | e4 e8[ c] b2 \break
  | a'4 a b2 | a4 a b2
  | d,4 e b'8[ a] f4 | e1 \bar "|."
}

\addlyrics {
ba -- js och __
}

\addlyrics {
bajs två tre f -- e -- s
}

  >>
  \layout { }
  \midi {}
  }

%%% Local Variables:
%%% coding: utf-8
%%% End:

-- 
View this message in context: 
http://www.nabble.com/Beginner-question-tf4728652.html#a13522183
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Beginner question

2007-10-31 Thread Kieren MacMillan

Hello!


the notes should be tied of course. But I also want something like an
underscore after the word to show the reader that it shall be  
singed for a

long time. Is this possible in Lilypond?


Yes: after the lyric, put a double-underscore, e.g., och __

Hope this helps!
Kieren.


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


Beginner question

2007-10-31 Thread Jocke

Okay, my musical terms and english isn't good but I will try to explain my
problem. I like to have lyrics to the notes and I'm learning this right now
in Lilypond. If I want one word to sing in two different notes for example,
the notes should be tied of course. But I also want something like an
underscore after the word to show the reader that it shall be singed for a
long time. Is this possible in Lilypond?

An example in an image. The word "och" in this image have some underscore
after it: http://www.bellman.net/noter/fs64.gif
-- 
View this message in context: 
http://www.nabble.com/Beginner-question-tf4728652.html#a13520911
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Absolute Beginner Question: Error messages

2005-01-08 Thread Graham Percival
On 7-Jan-05, at 9:33 PM, Walter Hofmeister wrote:
On 1/7/05 2:36 PM, "Graham Percival" <[EMAIL PROTECTED]> wrote:
Please upgrade to 2.4.2 -- IIRC you need to use lilypond-unstable as 
the
package name instead of lilypond (but don't worry; it's quite stable.
Graham,
I just checked and the lilypond version that comes up on my 
installation
of Fink on Mac OS X is 2.4.2. Lilypond-unstable will get you version
2.5.0-1. To get the new package version, Jim should issue the command 
"fink
self-update". This will update the fink software if there is a newer 
version
You're quite right; sorry.
What you actually need to do is tell fink that you want to use some
packages from *fink* unstable.  Then do the selfupdate, then
"fink install lilypond".
See the fink FAQ for details about adding packages from fink unstable.
Cheers,
- Graham

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


Re: Absolute Beginner Question: Error messages

2005-01-07 Thread Walter Hofmeister
On 1/7/05 2:36 PM, "Graham Percival" <[EMAIL PROTECTED]> wrote:

> 
> On 6-Jan-05, at 8:59 PM, Jim Griffith wrote:
>>  This is the most basic of questions. I have little if any experience
>> with Unix (I barely recall command line DOS) but I am a quick learner.
>> I have successfully  (I believe) installed Lilypond on my Mac G5
>> running X11. The installation was via Fink. I followed the
>> instructions to the letter.
> 
> Please upgrade to 2.4.2 -- IIRC you need to use lilypond-unstable as the
> package name instead of lilypond (but don't worry; it's quite stable.
> :)
> 
> Cheers,
> - Graham
> 

Graham,
I just checked and the lilypond version that comes up on my installation
of Fink on Mac OS X is 2.4.2. Lilypond-unstable will get you version
2.5.0-1. To get the new package version, Jim should issue the command "fink
self-update". This will update the fink software if there is a newer version
and update all of the package descriptions. Then issue "fink list" to verify
that the newer version will be installed. Finally issue "fink install
lilypond" to update the lilypond installation to the newer version.
Jim, just as a word of advice I have found that it is better to use one
of the templates found in the documentation rather than typing in the file
from scratch. Good luck.

Walter Hofmeister




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


Re: Absolute Beginner Question: Error messages

2005-01-07 Thread Graham Percival
On 6-Jan-05, at 8:59 PM, Jim Griffith wrote:
 This is the most basic of questions. I have little if any experience 
with Unix (I barely recall command line DOS) but I am a quick learner. 
I have successfully  (I believe) installed Lilypond on my Mac G5 
running X11. The installation was via Fink. I followed the 
instructions to the letter.
Please upgrade to 2.4.2 -- IIRC you need to use lilypond-unstable as the
package name instead of lilypond (but don't worry; it's quite stable.  
:)

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


Re: Absolute Beginner Question: Error messages

2005-01-07 Thread Mats Bengtsson
The getting started instructions you found on the web page
are for version 2.4.x of LilyPond. Since you installed an
earlier version, the syntax should be a bit different.
Please read the tutorial for your version, to find examples
that are relevant for you.
   /Mats
Jim Griffith wrote:
Hello list,
This is the most basic of questions. I have little if any experience 
with Unix (I barely recall command line DOS) but I am a quick learner. I 
have successfully  (I believe) installed Lilypond on my Mac G5 running 
X11. The installation was via Fink. I followed the instructions to the 
letter.

I created a file, per the instructions on the site, for test.ly The file 
contains the following

{ c'4 e' g' }
Saved it as Western ASCII on my desktop
Opened a terminal window and typed: lilypond test
This happens:
Jim-Griffiths-Computer:~/desktop Griff$ lilypond test
lilypond (GNU LilyPond) 2.2.5
Running lilypond-bin...
Now processing `test.ly'
Parsing...
/Users/Griff/Desktop/test.ly:1:1: error: parse error:
{
  c'4 e' g' }
/Users/Griff/Desktop/test.ly:1:9: warning: Braces don't match:
{ c'4 e'
 g' }
Failed files: test.ly
lilypond: error: LilyPond failed on input file test (exit status 1)
lilypond: warning: Running LilyPond failed. Rerun with --verbose for
a trace.
I am totally flummoxed.  Tried retyping it and nothing seems to work. I 
 typed the string exactly as shown on the Lilypond web page (didn’t I?).

Thank you in advance for the benefit of your expertise.
Regards,
Jim Griffith

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Absolute Beginner Question: Error messages

2005-01-07 Thread =?ISO-8859-1?Q?N=E9mo?=
Jim Griffith wrote:
Hello list,
This is the most basic of questions. I have little if any experience 
with Unix (I barely recall command line DOS) but I am a quick learner. I 
have successfully  (I believe) installed Lilypond on my Mac G5 running 
X11. The installation was via Fink. I followed the instructions to the 
letter.

I created a file, per the instructions on the site, for test.ly The file 
contains the following

{ c'4 e' g' }
What the all file look like ? Which template did you use ?
Olivier.
--
Olivier <[EMAIL PROTECTED]>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Absolute Beginner Question: Error messages

2005-01-06 Thread Jim Griffith
Title: Absolute Beginner Question: Error messages 



Hello list,

This is the most basic of questions. I have little if any experience with Unix (I barely recall command line DOS) but I am a quick learner. I have successfully  (I believe) installed Lilypond on my Mac G5 running X11. The installation was via Fink. I followed the instructions to the letter. 

I created a file, per the instructions on the site, for test.ly The file contains the following

{ c'4 e' g' }

Saved it as Western ASCII on my desktop
Opened a terminal window and typed: lilypond test

This happens:

Jim-Griffiths-Computer:~/desktop Griff$ lilypond test
lilypond (GNU LilyPond) 2.2.5
Running lilypond-bin...
Now processing `test.ly'
Parsing...

/Users/Griff/Desktop/test.ly:1:1: error: parse error:
{
  c'4 e' g' }

/Users/Griff/Desktop/test.ly:1:9: warning: Braces don't match:
{ c'4 e' 
 g' }
Failed files: test.ly 


lilypond: error: LilyPond failed on input file test (exit status 1)
lilypond: warning: Running LilyPond failed. Rerun with --verbose for a trace.


I am totally flummoxed.  Tried retyping it and nothing seems to work. I  typed the string exactly as shown on the Lilypond web page (didn’t I?). 

Thank you in advance for the benefit of your expertise.

Regards,

Jim Griffith



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