lilypond-user
[Top][All Lists]
Advanced

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

Re: \compressMusic \grace note woes...


From: Pocentek Gauvain
Subject: Re: \compressMusic \grace note woes...
Date: Tue, 4 Oct 2005 13:41:03 +0200 (CEST)

I think you have to add the \grace s8 at the beginning
of FluteIb part too.
(Not tested with your snippet but I've used this for a
Mozart piece a few time ago)

Gauvain

--- Trent Johnston <address@hidden> a écrit :

> Yes it's me again...
> 
> Still find this tricky... Looks like the grace note
> problem with beginning a
> score with a tuplet is also a problem with using
> \compressMusic....
> 
> I've put in the blank grace notes in the other parts
> but it doesn't seem to
> help..
> 
> Any help or hints appreciated yet again.
> 
> Trent...
> 
>
============================================================
> 
> % Created on Thu Sep 29 10:03:17 EST 2005
> \version "2.7.10"
> \header {
> }
> #(set-global-staff-size 16)
> 
> \include "english.ly"
> 
> \paper {
>  bottommargin = 3\cm
>  linewidth = 7.12 \in
> 
> }
> 
> FluteIb = \new Staff  {
>  \time 4/4
>  \set Staff.timeSignatureFraction = #'(12 . 8)
>  \set Staff.midiInstrument="flute"
>  \key bf \major
>  \clef treble
>  \relative c''
>  \compressMusic #'(2 . 3) {
> %bar 1
> \grace d8 c8.( b16) c8 g'4 ef8 \grace d8 c8.( b16)
> c8 r r af
> %bar 2
> g4 af'8 g4 f8 ef( d) c r8 r4
> %bar 3
> R1*12/8
> %bar 4
> r4. r4. r4 r8 r8 r8 g'
> %bar 5
> \grace { g16([ a] } bf4) c,8 c8. d16 e8 \grace g8 f(
> e) f r r af
> \bar "|."
> }}
> FluteIIb = \new Staff  {
>  \time 4/4
>  \set Staff.timeSignatureFraction = #'(12 . 8)
>  \set Staff.midiInstrument="flute"
>  \key bf \major
>  \clef treble
>  \relative c''
>  \compressMusic #'(2 . 3) {
> 
> %bar 1-2
> \grace s8 R1*12/8*2
> %bar 3
> \grace d8 c8.( b16) c8 g'4 ef8 \grace d c8.( b16) c8
> r r af
> %bar 4
> g4 af'8 g4 f8 ef( d) c r8 r4
> %bar 5
> e4. g c, r4 r8
> \bar "|."
> } }
> Contb = \new Staff  {
>  \time 4/4
>  \set Staff.midiInstrument="cello"
>  \key bf \major
>  \clef bass
>  \relative c' {
> %bar 1
> \grace s8 c4 bf af8 g af c,
> %bar 2
> b8 a b g c d ef d
> %bar 3
> c4 bf af8 g af c
> %bar 4
> b8 a b g c d ef c
> %bar 5
> c'4 bf af8 g af f
> \bar "|."
> }}
> 
> 
> 
> %%MOVEMENT II Largo - Andante
> \score {
> 
>    \new StaffGroup <<
>    \FluteIb
>    \FluteIIb
>    \Contb >>
> 
>  \layout  {    }
> }
> 
>
============================================================
> ----- Original Message ----- 
> From: "Trent Johnston" <address@hidden>
> To: "Mats Bengtsson" <address@hidden>
> Cc: <address@hidden>
> Sent: Tuesday, October 04, 2005 10:24 AM
> Subject: \compressMusic
> 
> 
> > Thanks Mats...
> >
> > I re-read the section about this and found that
> the only reference to
> \times
> > was
> >
> > "The latter is done with \compressMusic, which is
> similar to \times, but
> > does not create a tuplet bracket."
> >
> >
> > To me this doesn't describe very accurately that
> you use \compressMusic
> the
> > same way as \times but more that it's function
> output is similar to \times
> > but no bracket or tuplet number is created. I
> think the phrase 'similar
> to'
> > is the problem and may it should be changed to:
> >
> > "The latter is done with \compressMusic, which is
> entered similar to
> \times,
> > but does not create a tuplet bracket."
> >
> > Even your reply to me makes more sense of the use
> of the function
> >
> > \compressMusic works the same way as \times, i.e.
> that it only applies to
> > the music expression after the first argument. In
> other words, you have to
> > enclose all the music into curly braces.
> >
> >
> > Thanks again,
> >
> > Trent
> >
> >
> >
> > ----- Original Message ----- 
> >
> > From: "Mats Bengtsson" <address@hidden>
> > To: "Trent Johnston" <address@hidden>
> > Cc: <address@hidden>
> > Sent: Monday, October 03, 2005 10:42 PM
> > Subject: Re: Beginning a piece with tuplets with a
> grace note or
> > appoggiatura
> >
> >
> > > If you read the manual a bit more carefully, you
> will notice that
> > > \compressMusic works the same way as \times,
> i.e. that it only
> > > applies to the music expression after the first
> argument.
> > > In other words, you have to enclose all the
> music into curly braces.
> > > The simplest solution in your example, is to
> reuse the already existing
> > > curly braces that you have for \relative c':
> > >
> > >
> > > staffFlute = \new Staff  {
> > >  \time 4/4
> > >  \set Staff.timeSignatureFraction = #'(12 . 8)
> > >
> > >  \set Staff.instrument="Flute"
> > >  \set Staff.midiInstrument="flute"
> > >  \key bf \major
> > >  \clef treble
> > >  \relative c'' \compressMusic #'(2 . 3) {
> > >
> > > %bar 1
> > > \grace d8 c8.( b16) c8 g'4 ef8 \grace d8 c8.(
> b16) c8 r r af
> > > %bar 2
> > > g4 af'8 g4 f8 ef( d) c r8 r4
> > > %bar 3
> > > R1.
> > > %bar 4
> > > r4. r4. r4 r8 r8 r8 g'
> > > %bar 5
> 
=== message truncated ===



        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com




reply via email to

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