Re: Grace at beginning of score

2012-03-09 Thread ornello

Thanks to everybody for your valuable suggestions. I prefer the solution
proposed by Jean-Charles because it also works for staves with multiple
voices.

A question concerning the placement of clef/key/time signatures: Is it
always best to place them in each voice? I placed them in the staff because
I thought it makes more sense musically?
-- 
View this message in context: 
http://old.nabble.com/Grace-at-beginning-of-score-tp33471730p33472812.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Grace at beginning of score

2012-03-09 Thread Christ van Willegen
On Fri, Mar 9, 2012 at 14:20, ornello  wrote:
>
> What is the right way to write a grace note at the beginning of the score (or
> after a clef/time/key signature change)? Here is my attempt:

Put a \grace s8 into the other voice. 's' is an invisible note, that
takes care of setting the timing to the correct value in both voices.

Christ van Willegen
-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

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


Re: Grace at beginning of score

2012-03-09 Thread Jean-Charles Malahieude

Le 09/03/2012 05:20, ornello disait :

What is the right way to write a grace note at the beginning of the score (or
after a clef/time/key signature change)? Here is my attempt:


[...]


But this issue does not mention a workaround? Does anybody know a trick?


Have a look at the "Known issues" in the Notation Reference, under
1.2.6 Special rhythmic concerns

and change your code for something like

\new PianoStaff <<
  \new Staff <<
\new Voice {
  \clef violin
  \key bes \major
  \time 4/4
  \grace a'8 (
  a''1 )
}
  >>
  \new Staff <<
\new Voice {
  \clef bass
  \key bes \major
  \grace s8 % <<== dummy grace in order to synchronize <<==
  c1
}
  >>




Cheers,
Jean-Charles

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


Re: Grace at beginning of score

2012-03-09 Thread David Nalesnik
Hi Ornello,

On Fri, Mar 9, 2012 at 7:20 AM, ornello  wrote:

>
> What is the right way to write a grace note at the beginning of the score
> (or
> after a clef/time/key signature change)?
>
>
> But this issue does not mention a workaround? Does anybody know a trick?
>

The trick in this case is to add a grace note spacer to the other staff.

Notice that I changed << . . .  >> to { . . . } in your example to make it
work.

{
  \new PianoStaff <<
\new Staff {  % changed from <<
\key bes \major
\time 4/4
\clef violin
\new Voice {
\grace a'8 (
a''1 )
}
} % from >>
\new Staff { % from <<
\clef bass
\new Voice {
\key bes \major
\grace s8  % spacer grace
c1
}
} % from >>
  >>
}

HTH,
David
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Grace at beginning of score

2012-03-09 Thread Phil Holmes
- Original Message - 
From: "ornello" 

To: 
Sent: Friday, March 09, 2012 1:20 PM
Subject: Grace at beginning of score




What is the right way to write a grace note at the beginning of the score 
(or

after a clef/time/key signature change)? Here is my attempt:


Please check the documentation for grace notes - this is well documented. 
http://lilypond.org/doc/v2.15/Documentation/notation/special-rhythmic-concerns#grace-notes 
Known issues and concerns.



--
Phil Holmes



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


Grace at beginning of score

2012-03-09 Thread ornello

What is the right way to write a grace note at the beginning of the score (or
after a clef/time/key signature change)? Here is my attempt:


\version "2.14.2"

{
\new PianoStaff <<
\new Staff <<
\key bes \major
\time 4/4
\clef violin
\new Voice {
\grace a'8 (
a''1 )
}
>>
\new Staff <<
\clef bass
\new Voice {
\key bes \major
c1
}
>>
>>
}


This however duplicates clefs/time/key signatures. I have found the
following issue in Google code, so it seems to be an open problem:
http://code.google.com/p/lilypond/issues/detail?id=34

But this issue does not mention a workaround? Does anybody know a trick?
-- 
View this message in context: 
http://old.nabble.com/Grace-at-beginning-of-score-tp33471730p33471730.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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