Re: tied note accidentals after line break

2007-07-02 Thread Graham Percival

This is a known issue,
http://code.google.com/p/lilypond/issues/detail?id=381&can=2&q=accidental

Cheers,
- Graham

Tao Cumplido wrote:

Well, in this example from the Regression tests it does.
http://lilypond.org/doc/v2.10/input/regression/lily-dd43efc1a7.ly

And so it did in my score, which I actually have never seen before, so I found 
it quite strange not to have an accidental style which solves this.

Actually I solved the problem myself later.
I think I used '\override Accidental #'after-line-break = ##f'.

Hmm, I just checked the same example from above in the regression tests of 
version 2.11 and the accidental is indeed not printed after the line break, 
although it says that it should.

regards,

Tao



 Original-Nachricht 
Datum: Sun, 1 Jul 2007 17:43:52 +0200
Von: "Valentin Villenave" <[EMAIL PROTECTED]>
An: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
CC: lilypond-user@gnu.org
Betreff: Re: tied note accidentals after line break


2007/6/14, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:

hello,

Hi Tao,

sorry for not having answered sooner; the list is quiet today, so it
gives more time to look for unanswered posts.


is there a general way to prevent accidentals of tied notes from being

printed after a line break?

I don't really understand what you're talking about; when I try the
following snippet the accidental is not printed again after the line
break.

{ c1 d e fis ~ \break fis2 g e 2 }

Can you tell us more about it?

Regards,
Valentin






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


BNF Grammar

2007-07-02 Thread Mario Moles
Hi everybody,

I'm looking for a bnf grammar for music.
I've found the ABC notation 2.0 - BNF specification, is there any place where I 
can find the Lilypond one?

Thanks a lot
Mario Moles



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


Re: BNF Grammar

2007-07-02 Thread Mats Bengtsson
Unfortunately, it's only available in the source code. However, there 
was some related discussions on the mailing
list (possibly on the lilypond-devel list) some year ago, so you may 
find something interesting there.


  /Mats

Quoting Mario Moles <[EMAIL PROTECTED]>:


Hi everybody,

I'm looking for a bnf grammar for music.
I've found the ABC notation 2.0 - BNF specification, is there any 
place where I

can find the Lilypond one?

Thanks a lot
Mario Moles



___
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: commands list and syntax

2007-07-02 Thread Mats Bengtsson

About the "macro/identifier/variable" concept:  I meant: this does not work

%%
xx= \italic
\score {  {   a^\markup { \xx hi } } }
%%
in spite of this being ok:
%%
\score { { a^\markup{ \italic hi } } }
%%

This shows (i assume) that the assigment of a identifier si not a
static sustitution as (a textual macro, a C #define). I'd like to
understand better what it is... Another example:


I recommend that you look at
2.3.1 Music expressions explained
in the documentation for version 2.11.


Actually, in this particular situation, the main insight is that text 
markup commands are handled differently than other commands

or macros. The details of how text markup commands are implemented
and how you can add your own is provided in Sect. "Markup programmer
interface".

   /Mats



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


Re: obtaining longer ties

2007-07-02 Thread Mats Bengtsson

It's much easier to provide a relevant answer if you include
some example code. Which octave do you have your notes?
Which LilyPond version? I tried to guess what you had in mind, but 
cannot notice any difference between the two ties in the following

example:
\version "2.10.0"

\relative c''{f8 ~ f g ~ g }
\layout{ragged-right = ##t }

(actually, I happened to have the development version 2.11.26 
installed, so I haven't tried with any stable 2.10.x version).


  /Mats

Quoting Ron Cytron <[EMAIL PROTECTED]>:

In treble clef, and for eighth notes, my f-f ties look great, but the 
g-g ties

are too short.  Lilypond seems to want to keep them in the space below g. How
can I make the ties more like the f-f tie -- deeper, with the ends 
attached to

the bottom of the notes?  Thanks!



___
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: Measure 2/2 in 2/4

2007-07-02 Thread Mats Bengtsson
I'm sorry to say I don't understand what you mean. Could you please 
include a short LilyPond example file that illustrates

the problem, and send it to the mailing list.

  /Mats

Quoting Givaldo de Cidra <[EMAIL PROTECTED]>:


Hello !!!

I have a problem with lilypond, when use compass 2/2 it divides the 
time of the compass as if he was 4/4. What I make so that it divides 
in 2 and not in 4?


Givaldo de Cidra


___
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


note collisions, relative pitches and to many columns

2007-07-02 Thread David Fedoruk

Hello:

More Scarlatti; In looking at this score what now jumps out at me is
that this is really 3 voice polyphony forced onto two staves for the
keyboard player. I don't know if that bit of information can  be used
to typeset this more efficiently or not.

The problem which now crops up is this: If the grace note is correctly
placed and the octaves in the correct register I get "warning:
ignoring too many clashing note columns" from the shell. This produces
an c's in unison an octave apart because of to many columns. If I
move the grace note to the other voice to correct, the problem is
simply reversed.  If I then add an octave correction to the C2 in bar
22 and make it c,2, its no better and the next bars are one octave to
low. So it goes, no matter now I try to get this not collision to
work, something else goes wrong. This is the offending bit of code:

\include english.ly

upper = \relative c'' {
   \clef treble
   \key e \major
   \time 3/4

e, b'' gs  e b gs | % Bar 19

e8 b fs  r4 r8 \bar "||"   % Bar 20
  \key e \minor r8  b''8 \grace a16 g8  fs e d | % Bar 21
  \override Staff.NoteCollision #'merge-differently-dotted = ##t
  << {  \grace b16  c2 \stemUp  a'4 ~ | a8 a g  fs b a | } \\
% bar 22 bar 23
   { c2. \stemDown| b,2. }
  >>

   g'8  b  \grace a16 g8 fs  e d |  % bar 24

 \override Staff.NoteCollision #'merge-differently-dotted = ##t
 << { c2  a'4 ~ |a8  c b a  d c  | }
{ \grace b16 c2.  | d2.  | }% bar 
25 bar 26

}

lower = \relative c {
   \clef bass
   \key e \major
   \time 3/4

e4   r4  r4 |   % Bar 
19
r4  r8 e' b fs \bar "||"  % Bar 20
\key e \minor e4 r4 r  |% Bar 
21
r8 a''8 fs8 ds  c b |   % Bar 22
b,,2.   |   
% Bar 23
e4  r4  r   |   
% Bar 24
r8  a''8 fs ds cs b |   % bar 25
d,,2.  |
% bar 26

}

\score {
   \new PianoStaff <<
  \set PianoStaff.instrumentName = "Piano  "
  \new Staff = "upper" \upper
  \new Staff = "lower" \lower
   >>
   \layout { }

   \midi { }

}   


Thanks for any help,

cheers,
David

--
David Fedoruk
B.Mus. UBC,1986
Certificate in Internet Systems Administration, UBC, 2003


http://recordjackethistorian.wordpress.com
"Music is enough for one's life time, but one life time is not enough
for music" Sergei Rachmaninov


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


Space in markup using \char

2007-07-02 Thread Palmer, Ralph
Greetings -

Lilypond is a great program, and I appreciate all the help I've gotten from the 
members of this list.

I had this problem once before, and just gave up, but perhaps things have 
changed. I've checked the manual, the program reference, and the user list 
archives, with no success.

I'm running LilyPond 2.10.16 under WindowsXP Pro, SP2.

I'm trying to use \markup to insert  below the staff. Using <\char 
#'249>, I can get the correct last character in piu, but there's always a space 
between  and . I'm including a short snippet illustrating the problem.

 Begin Snippet +++

%Section Test
%piu f problem

\version "2.10.16"
\include "english.ly"
\paper {
ragged-right = ##t
}

SectionTest = {
\key c \major
\clef treble
\time 4/4

c'1 |
d'2_\markup {{\italic{"pi"\char #'249 }}{\dynamic{" f"}}} c'2 |
}

\Score {
\SectionTest
}

++ End Snippet +

Thank you again for all your help,

Ralph
+
Ralph Palmer, CEM
Energy/Administrative Coordinator
Keene State College
Keene, NH 03435-2502
Phone: 603-358-2230
Cell: 603-209-2903
Fax: 603-358-2456
[EMAIL PROTECTED]


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


RE: Space in markup using \char

2007-07-02 Thread Steven Weber
The \concat command should fix this:

\markup { \italic { \concat { "pi" \char #'249 } } }

--Steven

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Palmer, Ralph
Sent: Monday, July 02, 2007 1:38 PM
To: lilypond-user@gnu.org
Subject: Space in markup using \char

Greetings -

Lilypond is a great program, and I appreciate all the help I've gotten from
the members of this list.

I had this problem once before, and just gave up, but perhaps things have
changed. I've checked the manual, the program reference, and the user list
archives, with no success.

I'm running LilyPond 2.10.16 under WindowsXP Pro, SP2.

I'm trying to use \markup to insert  below the staff. Using <\char
#'249>, I can get the correct last character in piu, but there's always a
space between  and . I'm including a short snippet illustrating the
problem.

 Begin Snippet +++

%Section Test
%piu f problem

\version "2.10.16"
\include "english.ly"
\paper {
ragged-right = ##t
}

SectionTest = {
\key c \major
\clef treble
\time 4/4

c'1 |
d'2_\markup {{\italic{"pi"\char #'249 }}{\dynamic{" f"}}} c'2 |
}

\Score {
\SectionTest
}

++ End Snippet +

Thank you again for all your help,

Ralph
+
Ralph Palmer, CEM
Energy/Administrative Coordinator
Keene State College
Keene, NH 03435-2502
Phone: 603-358-2230
Cell: 603-209-2903
Fax: 603-358-2456
[EMAIL PROTECTED]


___
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


\rightHandFinger write numbers (not letters)

2007-07-02 Thread Yannick Patois
Hi,

I'm completly new to lilypond, and dont understand most of the logic
behind. Anyway, I tried a few things and it didnt worked out as expected.

I tried to compile the following:

\include "italiano.ly"

#(define RH rightHandFinger)

unenote = \relative do' { s2 s8 8 }

fragAlodie   = \relative do' {
  4 8 8. 16 mi8
  4 8 8. 16 si8
}

fragAcomp   = \relative do' {
  4. 
  4. 4.
  4. 
}


\score {
  {
% Here
\tempo 4 = 90
\clef "G_8"
\key do \major
\time 6/8

\unenote
<<
  \set fingeringOrientations= #'(left)
  \fragAlodie \\
  \fragAcomp
>>
  }
}


The main problem is that righthand fingering are displayed as numbers,
not letters, this does not correspond to the documentation as I
understand it.

My second question is about the "\set fingeringOrientations" option: it
seems that it's not effective if I move it at the location I marked  by
"% Here" in the code. So that would means that the property is not
inherited. Beside being annoying, I wonder about the exact inheritance
properties of the various setting of Lilypond, because this property was
 effective in the \fragA* parts... Does it not cross a '<< >>' section?
In that case what is the reset value? Does that means that if my frag
did contains a subparts in '<< >>' I would have had to reiter my setting?

My last question is about polyphony. I dont understand what is the best
way to represent it. The two voices as I did is fine and meaningful, but
when I have several notes at the same time in one of the voice, I'm
lost. I tried to create sub-voices (<< >> again), but got stuff like
"warning: maybe input should specify polyphonic voices", and I didnt
understand what to do.

Thanks for any help,

Yannick





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


Re: Scarlatti, polyphony within a keyboard score

2007-07-02 Thread Neil Puttock

Hi David,

On 7/1/07, David Fedoruk <[EMAIL PROTECTED]> wrote:



Since most of this music is not two voices (right and left hand) but
three or four, is there a way to add those possibliities to the scheme
below?\new voice = "upper1" \upper1 ? would that work? It would
need  << \new voice = "upper1" \upper1 >> ?


\score {
 \new PianoStaff <<
 \set PianoStaff.instrumentName = "Piano  "
\new Staff = "upper" \upper  <<
   \new voice = "upper1" \upper1 >>
 \new Staff = "lower" \lower <<
 \new voice = "lower1" \lower1 >>
>>
 \layout { }
 \midi { }
}



You're nearly there, but you need a \new Voice for each voice, not just the
second voice, i.e.

\score {
   \new PianoStaff <<
   \set PianoStaff.instrumentName = "Piano  "
   \new Staff = "upper" <<
   \new Voice = "upper" \upper
   \new Voice = "upperOne" \upperOne
   >>
   \new Staff = "lower" \lower
   >>
   \layout { }
   \midi { }
}

It's probably easier though to combine the two voices together, e.g.

upper = { << \upperOne \\ \upperTwo >> }

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


Re: autoBeamSetting

2007-07-02 Thread Valentin Villenave

Hi Bainos,

I've just seen someone (maybe you) posted a snippet about the
autoBeamSetting; since I had already added it myself, could you please
see http://lsr.dsi.unimi.it/LSR/Item?id=295 and tell me if the one I
posted is ok?

If you have anything to change, I'll keep yours and delete mine; but
if you're okay with mine, I'll delete yours instead :)

Thank you.

Valentin

2007/6/29, Valentin Villenave <[EMAIL PROTECTED]>:

2007/6/29, Bainos <[EMAIL PROTECTED]>:

> Glad to do it!

You're welcome :)

> Because is the first time for me i prefer post here what I will
> Write so you can check my english and if the snippet is right.

I don't speak English very well, so maybe a few corrections will be needed...

> Also I have few questions:
>
> May I share what I write?

Of course, even if this might not be the right place to do so;
however, feel free to post a link to your website, or to send your
music to http://www.mutopiaproject.org

> Does a drum database exist?

Not to my knowledge, but it would be a great idea to create one (I
would certainly use it!).
If you can come up with a somehow elaborate project, you can post an
announcement here, and on other mailinglists where you could find
interested people, for example the Hydrogen mailinglists:
http://www.hydrogen-music.org/?p=mailinglists

Regards,
Valentin




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


Re: Space in markup using \char

2007-07-02 Thread Valentin Villenave

2007/7/2, Steven Weber <[EMAIL PROTECTED]>:

The \concat command should fix this:


Since I had never seen it documented in the manual, I've just added it
to the LSR.

2007/7/2, Palmer, Ralph <[EMAIL PROTECTED]>:

I've checked the manual, the program reference, and the user list archives, 
with no success.


Please remember to add the LSR in your list of useful locations :)

Regards,
Valentin


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


Re: Space in markup using \char

2007-07-02 Thread Graham Percival

Valentin Villenave wrote:

2007/7/2, Steven Weber <[EMAIL PROTECTED]>:

The \concat command should fix this:


Since I had never seen it documented in the manual, I've just added it
to the LSR.


It's in 8.1.8.  Where else would it be?



2007/7/2, Palmer, Ralph <[EMAIL PROTECTED]>:
I've checked the manual, the program reference, and the user list 
archives, with no success.


Please remember to add the LSR in your list of useful locations :)


I would actually recommend _replacing_ the user list archives with LSR, 
not simply adding LSR as another place to search.


Cheers,
- Graham


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


Re: \rightHandFinger write numbers (not letters)

2007-07-02 Thread Yannick Patois
Well,

Yannick Patois a écrit :
> The main problem is that righthand fingering are displayed as numbers,
> not letters, this does not correspond to the documentation as I
> understand it.

Hum, it seems to be even worse: the righthand indications are not wrote
at all?

And the \set fingeringOrientations= #'(left) seems to be limited to
the first voice...

Well, I even know less than I though.

Yannick



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


Re: \rightHandFinger write numbers (not letters)

2007-07-02 Thread Valentin Villenave

2007/7/2, Yannick Patois <[EMAIL PROTECTED]>:

Hi,


Hello Yannick; just in case you didn't know (I assume you're French),
I inform you that there is a LilyPond French-speaking list right here:
http://lists.gnu.org/mailman/listinfo/lilypond-user-fr

We'd be happy to see you there (but here too, don't get me wrong ;).


The main problem is that righthand fingering are displayed as numbers,
not letters, this does not correspond to the documentation as I
understand it.


Of course they are; you *do* specify numbers!
When processing something like 4, LilyPond finds both a
number (1) and a letter (#3, i.e. "m"). The number takes precedence
over the letter, so the letter isn't displayed at all.
In other words, delete each fingering numbering when using \RH, and
there won't be any problem.



I wonder about the exact inheritance
properties of the various setting of Lilypond


Short answer: your choice! Try to always ask yourself in which
"context" your properties are set. Here, If you want your setting to
apply to the whole score (at least, until you set it differently),
simply specify:

 \set Score.fingeringOrientations = #'(down)

(by default, I think the property refers to the Voice context; this is
why its effect didn't last longer than your small individual sections)


My last question is about polyphony. I dont understand what is the best
way to represent it.


There are many ways to do it. Nested << >> are fine, but the \\ is
sometimes to be avoided.
A more "official" way is to use the \new command to create different
Voices; feel free to experiment and find you own way.
You'll find more about it in the 6.3 "Polyphony" section of the manual
(which, by the way, has been translated).

PS. I've just seen your second mail; I think I've already answered it :)

Regards (hope to see you soon on the French list!)

Valentin


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


Re: Space in markup using \char

2007-07-02 Thread Valentin Villenave

2007/7/2, Graham Percival <[EMAIL PROTECTED]>:


It's in 8.1.8.  Where else would it be?


My bad. I should have written "I have never seen it *yet* " (it's a
part that haven't been translated into French, so I didn't get to work
on it). Besides, I tried to search "concat" and "\concat" in
LilyPondTool's integrated Documentation, and didn't get any result.


I would actually recommend _replacing_ the user list archives with LSR,
not simply adding LSR as another place to search.


This is somehow what I'm trying to do by hunting useful ideas on the
-user list, so let us hope someday digging in the archives will become
pointless...

(of course, I can't guarantee I never miss anything, so this would
imply that all the users get progressively used to contribute to the
LSR -- or that I become a God, which might be more difficult...)

Valentin


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


Re: \rightHandFinger write numbers (not letters)

2007-07-02 Thread Yannick Patois
Really thanks for your answer :)

Valentin Villenave a écrit :
> 2007/7/2, Yannick Patois <[EMAIL PROTECTED]>:
> Hello Yannick; just in case you didn't know (I assume you're French),
> I inform you that there is a LilyPond French-speaking list right here:
> http://lists.gnu.org/mailman/listinfo/lilypond-user-fr

Thanks, I'll have a look.


> When processing something like 4, LilyPond finds both a
> number (1) and a letter (#3, i.e. "m"). The number takes precedence
> over the letter, so the letter isn't displayed at all.
> In other words, delete each fingering numbering when using \RH, and
> there won't be any problem.

Hum, now I understand better. But that's only the begining of the
problem, then ;)

The left hand numbers shouldnt be confused with the right hand fingers:
they can both be applied to a single note and should be displayed as
such. 4 means "first" left finger (index) and 3rd (middle)
 finger on the right hand. We could even add the string (likely \2 in
that case) for that same note. Every indication has its own value, and
one should not replace another (it's as if one had to choose between
displaying note duration or alteration, one dont dont want to choose,
both are needed).

So, how to display both indications?


>> I wonder about the exact inheritance
>> properties of the various setting of Lilypond
> 
> Short answer: your choice! Try to always ask yourself in which
> "context" your properties are set. Here, If you want your setting to
> apply to the whole score (at least, until you set it differently),
> simply specify:
> 
>  \set Score.fingeringOrientations = #'(down)

Thanks, that's what I was looking for!


>> My last question is about polyphony. I dont understand what is the best
>> way to represent it.
> 
> There are many ways to do it. Nested << >> are fine, but the \\ is
> sometimes to be avoided.
> A more "official" way is to use the \new command to create different
> Voices; feel free to experiment and find you own way.
> You'll find more about it in the 6.3 "Polyphony" section of the manual
> (which, by the way, has been translated).

If creating voices is the right way, I'll do that. And for polyphony
inside a voice? If it's a single chord, < mi sol do  > seems fine, but
If the mi last longer than the two others?

> Regards (hope to see you soon on the French list!)

Thanks for the help.

The french list doesnt seemd to be on gmane, btw.

Yannick



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


Measure 2/2 in 4/4

2007-07-02 Thread Givaldo de Cidra

Hello !!!

I have a problem with lilypond, when use compass 2/2 it divides the time 
of the compass as if he was 4/4. What I make so that it divides in 2 and 
not in 4?


Givaldo de Cidra


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