Re: Tie across triplet boundary

2007-12-30 Thread Eyolf Østrem
On 29.12.2007 (23:17), Michael Nelson wrote:
 Hi guys.  I'm a new user of Lilypond.  I'm notating an old (out of copyright) 
 edition of Bach's Invention 1.  I was happy to get through the first 5 bars 
 with remarkably few problems.  But I have hit a snag in bar 6.  See the 
 snapshot of the original:
 
 http://bayimg.com/CaIonAabj
 
 In the last 6 notes in the treble stave there is a triplet with the last note 
 tied to the following b.  I get an error because (I presume) the tie crosses 
 the triplet boundary.  My failed attempt for those last 6 notes is:

No, you get it because you didn't place the tie mark ~ after the note that
should be tied, but after the bracket. 

\times 2/3 { b32 c b } ~ b16  vs.
\times 2/3 { b32 c b ~ } b16


-- 
Today's robots are very primitive, capable of understanding only a few
 simple instructions such as 'go left', 'go right', and 'build car'.
 --John Sladek


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


automatic accidentals don't work correctly

2007-12-30 Thread Stefan Thomas
Dear Lilypond-users,
I have a problem with the behavior of the automatic accidentals in
the forget-sytle. For example, in my opinion the accidental of the
B-flat at the end of the 5th measure should be shown again, but not
in the beginning of the 6th measure. And I also don't understand why
the tie for the c-sharp at the beginning of the fourth measure can't
be seen.
Does someone know the reason?
Thank for support.
Stefan

Here the music-example:


t = #(define-music-function (parser location music) (ly:music?)
 #{ \times 2/3 $music #} )

\relative c' {
c8 c~ c16 c8. es2~ |%klaviereinsrechts  10
\time 5/4 es8.. a,32 \t{ c8 c c~}  c ges'~ ges c,~ \t {  c8 c c~} |
%klaviereinsrechts 11
 \time 4/4 c16 c8  cis bes'16~ cis bes'4. c16 c c8 c a'16 cis
fis~ | %klaviereinsrechts 12
 cis fis e bes' es f 8.~ \arpeggio  e bes' es f bes' e16
es, c' des bes' des c' es8~\arpeggio  des c' es16 c f
des'8.~ |%klaviereinsrechts 13
\time 3/4 c f des'8  cis bes'16 dis a' bes e c' es ges c
f8~ %klaviereinsrechts 14
 \set tupletSpannerDuration = #(ly:make-moment 1 4)
\times 2/3 { c f8   cis e es bes'~ | %klaviereinsrechts immer
noch 14
\time 4/4 es bes' e a a, es' b'~ a es' b'~  f' aes d g~
d g   es ges es bes'~ es bes'4 e a8~ |%klaviereinsrechts 15
 a, es'~ b'8  es' ges c f~ c f cis e cis e bes'~} cis e
bes'8 c es~ c es16 a d8 bes cis16 | %klaviereinsrechts 116
 c es a4. des~ \t{ des8 des aes' bes g'} | %klaviereinsrechts 17
 bes g'8 c es a4 des8~ \t { des4 des aes' bes g'~} |
%klaviereinsrechts 18
 bes g'8 c es a2.. |  %klaviereinsrechts 19
 des16 r16 r8 r4  %klaviereinsrechts 20
} %ende von klaviereinsrechts. Nicht verschieben, nicht löschen!!

\version 2.11.34



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


Re: Layout integrating LaTeX and music

2007-12-30 Thread Michael Käppler

Hi Patrick,

the baseline of the lilypond fragment is now identical with the letter's 
baseline. Have you got any idea why there is so much horizontal space in 
between the round brackets and the fragment: ( fragment   )?

I think what you're looking for is the --left-padding parameter.
Just call lilypond-book with --left-padding=0. You can find this in the 
manual, AU(Application Usage), 4.4, Invoking LilyPond. See also 4.3., 
Music fragment options


Michael


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


Re: Layout integrating LaTeX and music

2007-12-30 Thread Patrick Schmidt
 I think what you're looking for is the --left-padding parameter.
 Just call lilypond-book with --left-padding=0. You can find this in the 
 manual, AU(Application Usage), 4.4, Invoking LilyPond. See also 4.3., 
 Music fragment options


Hi Michael,

thanks a lot for your help! The option --left-padding=0 reduced the redundant 
space on the left side and improved the layout on the right side of the 
fragment within the brackets. I don't want to be pedantic ;-) but is there an 
option to get rid off the space on the right side (fragment ) like 
--right-padding=0?

All the best,

PLS


Hi Tobias,

I don't use lilypond-book, but call
lilypond from within latex. This approach has some advantages and some
drawbacks.

1) I'd like to know how you call lilypond from within latex.

2)Could you tell me the advantages and disadvantages of this approach?

Cheers,

PLS

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger?did=10


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


Re: macro for instrument changes

2007-12-30 Thread Kieren MacMillan

Hi Valentin (etc.) --


I understand Han-Wen is quite busy right now; maybe the simplest way
to do this would be to add such a macro to the LSR, without
necessarily including it in the standard LilyPond distribution.


What I *meant* was, I'm pretty sure this is already done!
I was just asking Han-Wen to confirm.
=)

Happy Holidays,
Kieren.


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


Re: stem extend doe not work

2007-12-30 Thread Kieren MacMillan

Hi Stefan,


unfortunately, it didn't work.


Hmmm... works fine for me, e.g.,
___

\version 2.11.33

\layout { ragged-right = ##t }

flagStuff = \relative
{
c'8 c4 c8 c c4 c8
\override Stem #'flag-style = #'no-flag
c8 c4 c8 c c4 c8
\revert Stem #'flag-style
c8 c4 c8 c c4 c8
}

\score
{
\flagStuff
}
___

Hope this helps!
Kieren.


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


Re: Instrumental Group Names in Score

2007-12-30 Thread Kieren MacMillan

Hi Jeremiah,


Thank you TWICE over for your help.


You're twice-over welcome!  =)


Your code worked perfectly.


I try my best...


Very frustrating!
(This is a rhetorical question; no response necessary.)


Decided to respond anyway!

How can I figure out new code to solve new problems when I  
don't know the code exists?


I have learned essentially everything I know by looking at the  
examples which pepper the WWW. You might not find the *exact* code  
you need (e.g., to add an instrument name to the InnerStaffGroup  
context) but you're likely to find something similar -- for example,  
in the documentation for Instrument Names (http://lilypond.org/doc/ 
v2.10/Documentation/user/lilypond/Instrument-names), about half-way  
down you'll find the following:

_

To add instrument names to other contexts (such as GrandStaff,  
ChoirStaff, or StaffGroup), the engraver must be added to that context.


\layout{
  \context {\GrandStaff \consists Instrument_name_engraver}
}

More information about adding and removing engravers can be found in  
Modifying context plug-ins.

_

The only difference between my code (i.e., the solution to your  
problem) and the example code in the documentation is that I've  
replaced \GrandStaff with \InnerStaffGroup (because that's where you  
wanted the instrument name engraver added).


There is something about Lilypond structure (or Scheme structure)  
which continues to elude me.






It's actually pretty simple to grasp, once the fundamentals are clear:

1. Every \book block is a separate output file (e.g., PDF) -- if you  
haven't explicitly added one, Lilypond wraps your entire code block  
in a \book (implicitly).

2. Every \score block is a separate chunk of music in a \book.
3. Every \layout block affects the \score or \book block in which it  
appears -- i.e., a \layout inside a \score will affect only that  
\score, but a \layout outside of a \score (and thus in a \book,  
either explicitly or implicitly) will affect every \score in that \book.
4. Every \context block will affect the named context (e.g.,  
\InnerStaffGroup) throughout the block (e.g., \score or \book) in  
which it appears.


Any questions? (For more info, see the docs.)

Best wishes,
Kieren.


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


Hiding Staves with Lyrics

2007-12-30 Thread Robert Memering
Dear all,

I have the following problem:
When hiding staves via \RemoveEmptyStaffContext I
get unwanted barlines between the Lyrics.

Please find below a (somehow) minimal example where
the problem can be seen in the second line.

Thanks for any hints or solutions,
Robert

EXAMPLE:
-

\version 2.11.34

discantusprimusmusic = 
\relative {
  c1 c c c c c c c c c c c
  c c c c c c c c c c c c 
  c c c c c c c c c  
}
discantussecundusmusic =
\relative {
  c1 c c c c c c c c c c c
  c c c c c c c c c c c c
  c c c c c c c c c 
}
bassusmusic =
\relative {
   c1 c c c c c c 
   R1 R1 R1 R1 R1 R1 R1 R1
   R1 R1 R1 R1 R1 R1 R1 R1
   c c c c c c c c c c
}

%%%

discantusprimuslyrics =  \lyricmode {
  la  la  la  la  la  la  la  la  la  la  la  
  la  la  la  la  la  la  la  la  la  la  la 
  la  la  la  la  la  la  la  la  la  la  la
}

discantussecunduslyrics =  \lyricmode {
  la  la  la  la  la  la  la  la  la  la  la  
  la  la  la  la  la  la  la  la  la  la  la 
  la  la  la  la  la  la  la  la  la  la  la
}

bassuslyrics =  \lyricmode {
  la  la  la  la  la  la  la  la  la  la  la  
  la  la  la  la  la  la  la  la  la  la  la 
}

%%%

staffdiscantusprimus = \new Staff {
  \set Staff.instrumentName = \markup{Discantus Primus \hspace #1 }
  \set Staff.midiInstrument=violin
  \new Voice = discantusprimus \with {
   \remove Forbid_line_break_engraver
 }
  \override NoteHead #'style = #'baroque
  \discantusprimusmusic
}

staffdiscantussecundus = \new Staff {
  \set Staff.instrumentName = \markup{Discantus Secundus \hspace #1 }
  \set Staff.midiInstrument=violin
  \new Voice = discantussecundus \with {
   \remove Forbid_line_break_engraver
 }
  \override NoteHead #'style = #'baroque
  \discantussecundusmusic
}



staffbassus = \new Staff {
  \set Staff.instrumentName = \markup{Bassus \hspace #1 }
  \set Staff.midiInstrument=violin
  \new Voice = bassus \with {
   \remove Forbid_line_break_engraver
 }
  \override NoteHead #'style = #'baroque 
  \bassusmusic
}



\score {
  
\set Score.skipBars = ##t
\new StaffGroup 
  \staffdiscantusprimus
  \new Lyrics \lyricsto discantusprimus { \discantusprimuslyrics }
  \staffdiscantussecundus
  \new Lyrics \lyricsto discantussecundus { \discantussecunduslyrics }
  \staffbassus

\new Lyrics \with {
  \remove Bar_engraver
  \remove Separating_line_group_engraver
}
\lyricsto bassus { \bassuslyrics }
  
  
  \layout  {
indent = 2.5\cm
\context { \RemoveEmptyStaffContext }
\context { \Score
   \override BarLine #'transparent = ##t
   \override Slur #'transparent = ##t
 }
\context { \Lyrics
   \consists Bar_engraver
   \consists Separating_line_group_engraver
   \override BarLine #'transparent = ##f
 }
  }
}


\paper {
  #(set-paper-size a4)
  line-width = 17.0\cm
  top-margin = 1\cm
  bottom-margin = 0.5\cm
  foot-separation = 0\cm
  head-separation = 0\cm
}




-- 
Robert Memering
Arbeitsbereich Linguistik, Universität Münster
Hüfferstraße 27, D-48149 Münster, Germany
Raum 01.85, Tel. +49-251-83-31958
http://santana.uni-muenster.de


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


Re: Tie across triplet boundary

2007-12-30 Thread Michael Nelson
Thanks for your help.  It works now.  Mike

Eyolf Østrem [EMAIL PROTECTED] wrote: On 29.12.2007 (23:17), Michael Nelson 
wrote:
 Hi guys.  I'm a new user of Lilypond.  I'm notating an old (out of copyright) 
 edition of Bach's Invention 1.  I was happy to get through the first 5 bars 
 with remarkably few problems.  But I have hit a snag in bar 6.  See the 
 snapshot of the original:
 
 http://bayimg.com/CaIonAabj
 
 In the last 6 notes in the treble stave there is a triplet with the last note 
 tied to the following b.  I get an error because (I presume) the tie crosses 
 the triplet boundary.  My failed attempt for those last 6 notes is:

No, you get it because you didn't place the tie mark ~ after the note that
should be tied, but after the bracket. 

\times 2/3 { b32 c b } ~ b16  vs.
\times 2/3 { b32 c b ~ } b16


-- 
Today's robots are very primitive, capable of understanding only a few
 simple instructions such as 'go left', 'go right', and 'build car'.
 --John Sladek


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


   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Layout integrating LaTeX and music

2007-12-30 Thread Michael Käppler

Hi Patrick,

thanks a lot for your help! The option --left-padding=0 reduced the redundant 
space on the left side and improved the layout on the right side of the 
fragment within the brackets. I don't want to be pedantic ;-) but is there an 
option to get rid off the space on the right side (fragment ) like 
--right-padding=0
I'm quite unsure what's the reason for this. I've looked at the eps file 
lilypond generates - there's no extra space.
That's why I think it's an issue with LaTeX, but I don't really know how 
to improve this...sorry for that.


Michael


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


caesura usage

2007-12-30 Thread Paul Scott
I used to be able to replace the breath mark with something like the 
following which I have corrected for the new straight caesura glyph name:


caesuraOn = \override BreathingSign #'text =
#(make-musicglyph-markup scripts.caesura.straight)

The \breathe command would put the caesura glpyh right where I wanted it.

This code used as:

\caesuraOn \breathe

doesn't seem to work in 2.11.36 (I get scripts.rcomma).

TIA for any ideas why,

Paul Scott




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


ask for help--I'm confused

2007-12-30 Thread hhpmusic
(note: lcd means the first letters of Chinese spelling of the piece)
Hi, I'm Hu Haipeng. I just transcribed my transcription of a Chinese folksong 
into Lilypond, but the result is bad. The first bar, I made 3 voices, the 
second is a cue of the special mordent (but I haven't learn how to write 
ornaments till now), the next bar has two and the third only one. It seems all 
are right, but the log file said it can't create new staff. The Midi output is 
correct, but when I OMR'd the music using SharpEye and brailled it using 
Finale's plug-in, the result is really wrong. Before I add a \clef treble to 
the first new staff, the left hand was above the right; but when added the clef 
indication, all two hands seemed conbine to one. I can't see my output, and 
don't know where the error is. I check my nested brackets, they seem all right 
(but not sure). Can you help me?
 
SINCERELY
 
 
 
 
 \version 2.11.36

\header {
  title = Dragon Boat Tune
  subtitle = Transcriptions of Hubei Folksongs, No.1
  composer = Hu Haipeng
}

\score {
\relative c'' {
  \new PianoStaff 
\new staff { \clef treble \time 4/4 \key bes \minor 
  { f8(^rubato_\mf des16 des des8 f des ees4.) } \\
  { s2 s8 ees32. f64 ees32 f ees4 } \\
  { \voiceFour bes f2\arpeggio bes ges\arpeggio }
 | 
  { f8(\p des16 des des8 f16. aes32 des,8 ees4.)^simile } \\
  { des bes2\arpeggio des bes\arpeggio }
 |
\time 2/4 \oneVoice
f bes f'8^allegro_\mf f bes des16-. f bes des-. f bes des8 bes des f
  }
\new staff { \clef bass \key bes \minor
  bes,, f' des'2\arpeggio ees ges bes\arpeggio | bes f'\arpeggio ees g\arpeggio | bes f' des'8\arpeggio bes' des16-. bes des-. bes des8 f bes
  }

  }

  \midi { }
  \layout { }
}



lcd2.midi
Description: MIDI audio
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ask for help--I'm confused

2007-12-30 Thread Paul Scott


On Dec 30, 2007, at 7:19 PM, hhpmusic wrote:


(note: lcd means the first letters of Chinese spelling of the piece)
Hi, I'm Hu Haipeng. I just transcribed my transcription of a  
Chinese folksong into Lilypond, but the result is bad. The first  
bar, I made 3 voices, the second is a cue of the special mordent  
(but I haven't learn how to write ornaments till now), the next bar  
has two and the third only one. It seems all are right, but the log  
file said it can't create new staff. The Midi output is correct,  
but when I OMR'd the music using SharpEye and brailled it using  
Finale's plug-in, the result is really wrong. Before I add a \clef  
treble to the first new staff, the left hand was above the right;  
but when added the clef indication, all two hands seemed conbine to  
one. I can't see my output, and don't know where the error is. I  
check my nested brackets, they seem all right (but not sure). Can  
you help me?


The result is one staff in bass clef.  I believe you need to have a  
separate \relative { ... } for each staff rather than enclosing the  
whole PianoStaff in one \relative { ... } .


HTH,

Paul Scott



SINCERELY



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


sorry and ask for help again

2007-12-30 Thread hhpmusic
Sorry for my headlongness! I thought it will turn good, but no. The log file 
still said it cannot create new staff, no matter where I placed \relative 
(before or after \new staff { }). I'm sending you both the .ly and log files, 
and, what does 18:33 and 18:13 before the error message ignoring too many 
clashing notes mean?
 
SINCERELY
Haipeng
 
 
 
 
 ___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


files

2007-12-30 Thread hhpmusic
These are my files.
 
 
 

lcd2.log
Description: Binary data
\version 2.11.36

\header {
  title = Dragon Boat Tune
  subtitle = Transcriptions of Hubei Folksongs, No.1
  composer = Hu Haipeng
}

\score {
\new PianoStaff 
  \relative c,, {
\new staff { \clef treble \time 4/4 \key bes \minor 
  { f8(^rubato_\mf des16 des des8 f des ees4.) } \\
  { s2 s8 ees32. f64 ees32 f ees4 } \\
  { \voiceFour bes f2\arpeggio bes ges\arpeggio }
 | 
  { f8(\p des16 des des8 f16. aes32 des,8 ees4.)^simile } \\
  { des bes2\arpeggio des bes\arpeggio }
 |
\time 2/4 \oneVoice
f bes f'8^allegro_\mf f bes des16-. f bes des-. f bes des8 bes des f | f bes des ges bes ees4- des16 ees16
  }
}
  \relative c {
\new staff { \clef bass \key bes \minor
  bes f' des'2\arpeggio ees ges bes\arpeggio | bes f'\arpeggio ees g\arpeggio | bes f' des'8\arpeggio bes' des16-. bes des-. bes des8 f bes | bes des ges bes ees- bes-. ees,-.
}
  }


  \midi { }
  \layout { }
}

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


correct octave

2007-12-30 Thread hhpmusic
Sorry, the octave of rh is wrong, for I'm writing the file in my braille 
computer with braille keys. I often miswrite ' to ,.
 
 
 
 But the error is still here.
 \version 2.11.36

\header {
  title = Dragon Boat Tune
  subtitle = Transcriptions of Hubei Folksongs, No.1
  composer = Hu Haipeng
}

\score {
\new PianoStaff 
  \relative c'' {
\new staff { \clef treble \time 4/4 \key bes \minor 
  { f8(^rubato_\mf des16 des des8 f des ees4.) } \\
  { s2 s8 ees32. f64 ees32 f ees4 } \\
  { \voiceFour bes f2\arpeggio bes ges\arpeggio }
 | 
  { f8(\p des16 des des8 f16. aes32 des,8 ees4.)^simile } \\
  { des bes2\arpeggio des bes\arpeggio }
 |
\time 2/4 \oneVoice
f bes f'8^allegro_\mf f bes des16-. f bes des-. f bes des8 bes des f | f bes des ges bes ees4- des'16 ees16
  }
}
  \relative c {
\new staff { \clef bass \key bes \minor
  bes f' des'2\arpeggio ees ges bes\arpeggio | bes f'\arpeggio ees g\arpeggio | bes f' des'8\arpeggio bes' des16-. bes des-. bes des8 f bes | bes des ges bes ees- bes-. ees,-.
}
  }


  \midi { }
  \layout { }
}

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


Re: files

2007-12-30 Thread Paul Scott


On Dec 30, 2007, at 9:51 PM, hhpmusic wrote:


These are my files.


I'll check more in a few minutes but I never create a Staff of any  
kind inside a \relative{ ... }.  Try reversing the \relative and \new  
Staff for each hand.


Paul


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


Re: correct octave

2007-12-30 Thread Paul Scott


On Dec 30, 2007, at 9:59 PM, hhpmusic wrote:

Sorry, the octave of rh is wrong, for I'm writing the file in my  
braille computer with braille keys. I often miswrite ' to ,.




 But the error is still here.


I now have both staves.  Something you will have to deal with is that  
LilyPond is case sensitive and Staff is spelled with a Capital 'S'.   
Can your screen reader help you with that?


Attached is a file that works but still has some minor errors since  
I, of course, don't know what your music looks like.


Paul

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


Re: correct octave

2007-12-30 Thread Paul Scott


On Dec 30, 2007, at 9:59 PM, hhpmusic wrote:

Sorry, the octave of rh is wrong, for I'm writing the file in my 
braille computer with braille keys. I often miswrite ' to ,.
 
 
 
 But the error is still here.


I now have both staves.  Something you will have to deal with is that 
LilyPond is case sensitive and Staff is spelled with a Capital 'S'.  Can 
your screen reader help you with that?


Attached is a file that works but still has some minor errors since I, 
of course, don't know what your music looks like.


Here is the attachment I forgot.

Paul

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

\version 2.11.36

\header {
  title = Dragon Boat Tune
  subtitle = Transcriptions of Hubei Folksongs, No.1
  composer = Hu Haipeng
}

\score {
\new PianoStaff 
\new Staff { 
   \relative c'' {
 \time 2/4 
 \clef treble \time 4/4 \key bes \minor 
  { f8(^rubato_\mf des16 des des8 f des ees4.) } \\
{ s2 s8 ees32. f64 ees32 f ees4 } \\
{ \voiceFour bes f2\arpeggio bes ges\arpeggio }
  | 
  { f8(\p des16 des des8 f16. aes32 des,8 ees4.)^simile } \\
{ des bes2\arpeggio des bes\arpeggio }
  |
 \oneVoice
 f bes f'8^allegro_\mf f bes des16-. f bes des-. 
 f bes des8 bes des f | 
 f bes des ges bes ees4- des'16 ees16
 }
 }
\new Staff { 
  \relative c {
  \clef bass \key bes \minor
  bes f' des'2\arpeggio ees ges bes\arpeggio | 
  bes f'\arpeggio ees g\arpeggio | 
  bes f' des'8\arpeggio bes' des16-. bes des-. 
  bes des8 f bes | bes des ges bes ees- bes-. ees,-.
  }
}


  \midi { }
  \layout { }
}

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


Manual Staff switching

2007-12-30 Thread David Fedoruk
Hello;

In the last bar of a section which has been created with many staff
switches, I either have two extra bars in the left hand or one to few,
leaving no double repeat dots. This is part of the B section of a
piece which I will piece together by using include A-section.ly,
include B-Section.ly, include ,A-section.ly.. The A sections are
exactly the same, The code you see below is the first 8 bars of the B
section.

How can I remove the last bit of supporting Keep Staff alive content?

one other problem with this piece is that when I render this code, I
have an extra treble clef above the two lines of staff I need. What is
the problem with the template I'm using?

## Code 

\version 2.11.36   
 \include english.ly

 rh = \relative c'' {
\clef treble
\key bf \major
\time 2/4
\mark Allegro
%   \set followVoice = ##t
\override TupletNumber #'transparent = ##t
\set Staff.extraNatural = ##f
\set tupletSpannerDuration = #(ly:make-moment 1 8)
\override TupletBracket #'transparent = ##t
\set Score.currentBarNumber = #25 \bar 
\partial 16 g'16|
\repeat volta 16 {  \times 2/3 { \stemUp  f[ bf, 
\pp ] \stemDown d
f,[ bf, ] \stemUp ef'   d [ f,  ] \stemDown bf d,[ bf ] \stemUp d | }
% bar 25
\times 2/3 { c16[ f ] \stemDown gf ef[ bf ] \stemUp d' ef[ f, ]
\stemDown gf ef[ bf ] \stemUp d' }  | % bar26
\times 2/3 { c16[ f, ] \stemDown gf ef[ bf ] \stemUp d'( ef)[ 
f, ]
\stemDown ef c[ bf ] \stemUp a'( } | % bar 27


\times 2/3 {  bf)[ f ] \change Staff = lh d bf[ a] \change 
Staff =
rh c'( d)[ f, ] \change Staff = lh d bf[ g ] \change Staff = rh c'( }
| % bar 28

\times 2/3 { bf)[ f ] \change Staff = lh d bf[ f ] \change 
Staff =
rh c''( d )[ g, ]  \change Staff = lh \clef bass c, bf[ e, ] \change
Staff = rh \clef treble bf''(  } | % bar 29

\times 2/3 { a)[ f ] \change Staff = lh c a[ f ] \change Staff 
= rh
bf'( c)[ f, ] \change Staff = lh c gs[ d ] \change Staff = rh b''( } |
% bar 30

\times 2/3 { c )[f, ] \change Staff = lh c a[ c, ] \change 
Staff =
rh cs''( d )[ e, ] \change Staff = lh bf g[ c, ] \change Staff = rh
a''( } | % bar 31

\times 2/3 { bf )[ c, ] \change Staff = lh bf e,[ c ] \change 
Staff
= rh e'( f )[ c ] \change Staff = lh a c,[ f, ] \change Staff = rh
g''( } |

}
}

lh = \relative c' {
\clef bass
\key bf \major
\time 2/4
 \skip 1 * 5 % idem
 }

 \score {   
\new PianoStaff 
\override SpacingSpanner
#'base-shortest-duration = #(ly:make-moment 1 16)
   \set PianoStaff.instrumentName = Piano  
   \new Staff = rh \rh
   \new Staff = lh \lh

\layout { }

\midi { }

 }


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