make score be line break aware

2007-10-01 Thread Francisco Vila
Hello.
Is this possible? I want to typeset something (like a spanner or a
different height of the lyrics baseline) that I want to last only
until it reaches the next line break.

If only I could explain it well, it would be a sort of intelligent
tweak that 'knows' when a line break has happened and it then kills
himself. There would be as liquid layout as possible meaning that
layout does not interfere with content, i.e. making an explicit \break
would not be an optimal solution.

BTW this is about my project with alternate lyrics. The original score
I have does this because the mid-hight lyrics baseline (after the two
alternatives) is not needed anymore after the line break. I could
attach a scan if you want.

Thank you!
-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: Help with repeats for midi

2007-10-01 Thread John Pezouvanis
lilymidi
\set Staff.midiInstrument = bright acoustic
\clef treble
\tempo 8=102
\key  d \major
\time 9/8
\relative c''
\repeat volta 2 {d16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 
a d8}
\repeat volta 2 {d,16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 
c16 
cis d8 d16. cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d}
d'16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8 d16. cis32 
d16 
e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8
d,16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 c16 cis d8 d16. 
cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d
d16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 c16 cis d8 d16. 
cis32 
d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d
/lilymidi

Thanks for answering. I've already read the documentation and tried everything 
and still can't get no results. If someone more expirienced can tell me what I 
need to insert in the code I would be very grateful..










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


Re: Help with repeats for midi

2007-10-01 Thread Simon Dahlbacka
Actually *following* Grahams advise about reading Repeats and Midi in the
documentation *will* give the answer...

/Simon

ps. sorry to sound arrogant, but this is clearly a case of RTFM

On 10/1/07, John Pezouvanis [EMAIL PROTECTED] wrote:

 lilymidi
 \set Staff.midiInstrument = bright acoustic
 \clef treble
 \tempo 8=102
 \key  d \major
 \time 9/8
 \relative c''
 \repeat volta 2 {d16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16
 a d8}
 \repeat volta 2 {d,16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32
 c16
 cis d8 d16. cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d}
 d'16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8 d16. cis32
 d16
 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8
 d,16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 c16 cis d8 d16.
 cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d
 d16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 c16 cis d8 d16.
 cis32
 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d
 /lilymidi

 Thanks for answering. I've already read the documentation and tried
 everything
 and still can't get no results. If someone more expirienced can tell me
 what I
 need to insert in the code I would be very grateful..










 ___
 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: Proper use of Devnull

2007-10-01 Thread Trevor Daniels

I said earlier and incorrectly:

 The related problem of placing brackets round notes which
 are to be ignored in some verses, like the initial g in
this
 example, is not supported in LP, AFAIK, although there are
a
 couple of messy work-arounds in the archives.  (Search for
brackets note)

Well, it seems I didn't K F enough!  LilyPond _does_ have
support for parenthesizing notes - the \parenthesize
command.  See section 8.5.8 Parentheses.  The function works
only within chord brackets, but this is not a serious
restriction. (I missed it because I searched for brackets
rather than parenthesize).

For the record, here is the corrected version of the example
with different melismata in the two verses which I posted
earlier, with a correctly parenthesized leading note:


 \relative g' {
  \clef treble
  \key g \major
  \time 4/4
  \slurDashed
   \parenthesize g 4  g2 d4( g) a2( d,)
 }
 \addlyrics {
  \set ignoreMelismata = ##t
  O come, all ye faith -- ful,
 }
 \addlyrics {
  \set ignoreMelismata = ##t
  \skip 4 God of __ \skip 4 God, __ \skip 2
 }


Trevor





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


Re: Placing ornaments, logo's

2007-10-01 Thread Marek Klein

 I produce my music sheets with the PostScript/PDF backends. Now I'd
 want to include a logo and some other mainly fixed texts on the
 sheets.

 Can this be done with Lilypond?


Maybe this could help you:
http://lists.gnu.org/archive/html/lilypond-user/2007-08/msg00336.html

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


Re: Help with repeats for midi

2007-10-01 Thread Vasil Kadifeli
*Hi John, *
**
*I am new both to music and lilypond... *
**
*Here is a skeleton of one of my files... one of the most difficult things
for me was to develop my own template to write down the simple music
notations I am trying to play... this is where I have come up to now ;) and
s**till I am not sure if I am doing it correct or not...*
**
*The first \score creates the pdf file, the second one the midi file... *
*They both include the music notes script called \notalar...*
*There are three parts of notes each one played twice in the midi...*
**
*I hope it helps... *
*Vasilis*


\include english.ly

\header{
  title = Leccion No.23 F.Carulli
}

#(set-global-staff-size 25)

notalar =
  \relative c''{
\time 3/8
\override Staff.NoteCollision #'merge-differently-dotted = ##t
\repeat volta 2 {
 { c,8 c'   e8  c  e8  } \\ c,4.-3 
 { d8 b'  f'8 b  f'8 } \\ d,4.-0 
 { c8 c'  e8  c  e8  } \\ c,4.-3 
 { d'8-3^\markup (4) b-0 g-0 } \\ { r4 r8 } 
 { c,8 c'   e8  c  e8  } \\ c,4.-3 
 { d8 b'  f'8 b  f'8 } \\ d,4.-0 
 { g8-0 a-2 b-0 } \\ { r4 r8 } 
 { c4-1 r8 } \\ { c,4-3 r8  } 
}
\repeat volta 2 {
 { f8 g   b8   g   b8  } \\ f4.-3_\markup (4) 
 { e8 g   c8   g   c8  } \\ e4.-2 
 { d8 b'  f'8  b   f'8 } \\ d,4.-0 
 { c8 c'  e8   c   e8  } \\ c,4.-3 
 { f8 g   b8   g   b8  } \\ f4.-3_\markup (4) 
 { e8 g   c8   g   c8  } \\ e4.-2 
 { f'8-1 d-3^\markup (4) b-0 } \\ d,4.-0  
 { c'4-1 r8 } \\ { c,4-3 r8 } 
}
\repeat volta 2 {
 { a'8-2   c-1  e-0 } \\ a,,4.-0 
 { a'8-2   c-1  e-0 } \\ a,,4.-0 
 { d'8-3^\markup (4)  c-1  b-0 } \\ e,,4.-0 
 { c''8-1  b-0  c-1 } \\ a,4.-0 
 { a'8-2   c-1  e-0 } \\ a,,4.-0 
 { a'8-2   c-1  e-0 } \\ a,,4.-0 
 { d'8-3^\markup (4)  c-1  b-0 } \\ e,,4.-0 
 { a'4-2   r8 } \\ { c,4-0 r8 } 
}
  }

\score {
  \notalar
  \layout {}
}

\score {
  \unfoldRepeats {
\set Staff.midiInstrument = acoustic guitar (nylon)
\notalar
  }
  \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 100 4) }
}
}

\version 2.10.0  % necessary for upgrading to future LilyPond versions.




On 10/1/07, John Pezouvanis [EMAIL PROTECTED] wrote:

 Is there anyone else that can actually help. As I said I read the manual
 and
 tried what is says but all I get is error messages. So I need someone to
 tell
 me exactly what I need to add so I can get the repeats to work in MIDI.
 Any
 help would be apreciated..


 Simon Dahlbacka simon.dahlbacka at gmail.com writes:

 Actually *following* Grahams advise about reading Repeats and Midi in
 the
 documentation *will* give the answer.../Simonps. sorry to sound arrogant,
 but
 this is clearly a case of RTFM


 On 10/1/07, John Pezouvanis o_diagoras at yahoo.gr wrote:
 lilymidi\set Staff.midiInstrument = bright acoustic\clef treble\tempo
 8=102
 \keyd \major\time 9/8\relative c''\repeat volta 2 {d16. cis32 d16 e fis
 d32
 d e16 cis d8. a16 b b32 a aes16
 a d8}\repeat volta 2 {d,16 fis g gis a b32 b a16 g fis g32 g e16 fis d16.
 cis32c16cis d8 d16. cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8
 d d}
 d'16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8 d16. cis32
 d16e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8d,16 fis g gis a b32 b
 a16 g
 fis g32 g e16 fis d16. cis32 c16 cis d8 d16.cis32 d16 e fis g32 a g fis
 e16
 d16. cis32 c16 cis d8 d dd16 fis g gis a b32 b a16 g fis g32 g e16 fis
 d16.
 cis32 c16 cis d8 d16.
 cis32d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d/lilymidiThanks
 for
 answering. I've already read the documentation and tried everythingand
 still
 can't get no results. If someone more expirienced can tell me what I
 need to insert in the code I would be very
 grateful..___lilypond-user
 mailing
 list
 lilypond-user at gnu
 .orghttp://lists.gnu.org/mailman/listinfo/lilypond-user







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




-- 
---
VASIL KADIFELI
*** sayfalarımızı ziyaret edin yararlanın :)
http://www.kadifeli.com
http://www.kadifeli.com/vasil
http://www.kadifeli.com/fedon
*** those interested in music visit :
http://lilypond.org
http://lilypondwiki.tuxfamily.org
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help with repeats for midi

2007-10-01 Thread Vasil Kadifeli
*John, I guess this what your are striving for : *


\header{
  title = some Greek music
}

#(set-global-staff-size 25)

notes =
  \relative c''{
\clef treble
\key  d \major
\time 9/8
\override Staff.NoteCollision #'merge-differently-dotted = ##t
\repeat volta 2 {
d16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8
  }
\repeat volta 2 {
d,16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 c16
cis d8 d16. cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d
d
  }
  }

\score {
  \notes
  \layout {}
}

\score {
  \unfoldRepeats {
\set Staff.midiInstrument = bright acoustic
\notes
  }
  \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 102 8) }
}
}

\version 2.10.0  % necessary for upgrading to future LilyPond versions.




On 10/1/07, Vasil Kadifeli [EMAIL PROTECTED] wrote:

 *Hi John, *
 **
 *I am new both to music and lilypond... *
 **
 *Here is a skeleton of one of my files... one of the most difficult things
 for me was to develop my own template to write down the simple music
 notations I am trying to play... this is where I have come up to now ;) and
 s **till I am not sure if I am doing it correct or not...*
 **
 *The first \score creates the pdf file, the second one the midi file...
 *
 *They both include the music notes script called \notalar...*
 *There are three parts of notes each one played twice in the midi...*
 **
 *I hope it helps... *
 *Vasilis*


 \include english.ly

 \header{
   title = Leccion No.23 F.Carulli
 }

 #(set-global-staff-size 25)

 notalar =
   \relative c''{
 \time 3/8
 \override Staff.NoteCollision #'merge-differently-dotted = ##t
 \repeat volta 2 {
  { c,8 c'   e8  c  e8  } \\ c,4.-3 
  { d8 b'  f'8 b  f'8 } \\ d,4.-0 
  { c8 c'  e8  c  e8  } \\ c,4.-3 
  { d'8-3^\markup (4) b-0 g-0 } \\ { r4 r8 } 
  { c,8 c'   e8  c  e8  } \\ c,4.-3 
  { d8 b'  f'8 b  f'8 } \\ d,4.-0 
  { g8-0 a-2 b-0 } \\ { r4 r8 } 
  { c4-1 r8 } \\ { c,4-3 r8  } 
 }
 \repeat volta 2 {
  { f8 g   b8   g   b8  } \\ f4.-3_\markup (4) 
  { e8 g   c8   g   c8  } \\ e4.-2 
  { d8 b'  f'8  b   f'8 } \\ d,4.-0 
  { c8 c'  e8   c   e8  } \\ c,4.-3 
  { f8 g   b8   g   b8  } \\ f4.-3_\markup (4) 
  { e8 g   c8   g   c8  } \\ e4.-2 
  { f'8-1 d-3^\markup (4) b-0 } \\ d,4.-0  
  { c'4-1 r8 } \\ { c,4-3 r8 } 
 }
 \repeat volta 2 {
  { a'8-2   c-1  e-0 } \\ a,,4.-0 
  { a'8-2   c-1  e-0 } \\ a,,4.-0 
  { d'8-3^\markup (4)  c-1  b-0 } \\ e,,4.-0 
  { c''8-1  b-0  c-1 } \\ a,4.-0 
  { a'8-2   c-1  e-0 } \\ a,,4.-0 
  { a'8-2   c-1  e-0 } \\ a,,4.-0 
  { d'8-3^\markup (4)  c-1  b-0 } \\ e,,4.-0 
  { a'4-2   r8 } \\ { c,4-0 r8 } 
 }
   }

 \score {
   \notalar
   \layout {}
 }

 \score {
   \unfoldRepeats {
 \set Staff.midiInstrument = acoustic guitar (nylon)
 \notalar
   }
   \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 100 4)
 } }
 }

 \version 2.10.0  % necessary for upgrading to future LilyPond versions.




 On 10/1/07, John Pezouvanis [EMAIL PROTECTED] wrote:
 
  Is there anyone else that can actually help. As I said I read the manual
  and
  tried what is says but all I get is error messages. So I need someone to
  tell
  me exactly what I need to add so I can get the repeats to work in MIDI.
  Any
  help would be apreciated..
 
 
  Simon Dahlbacka simon.dahlbacka at gmail.com writes:
 
  Actually *following* Grahams advise about reading Repeats and Midi in
  the
  documentation *will* give the answer.../Simonps. sorry to sound
  arrogant, but
  this is clearly a case of RTFM
 
 
  On 10/1/07, John Pezouvanis o_diagoras at yahoo.gr wrote:
  lilymidi\set Staff.midiInstrument = bright acoustic\clef
  treble\tempo 8=102
  \keyd \major\time 9/8\relative c''\repeat volta 2 {d16. cis32 d16 e fis
  d32
  d e16 cis d8. a16 b b32 a aes16
  a d8}\repeat volta 2 {d,16 fis g gis a b32 b a16 g fis g32 g e16 fis
  d16.
  cis32c16cis d8 d16. cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis
  d8 d d}
  d'16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8 d16.
  cis32
  d16e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8d,16 fis g gis a b32 b
  a16 g
  fis g32 g e16 fis d16. cis32 c16 cis d8 d16.cis32 d16 e fis g32 a g fis
  e16
  d16. cis32 c16 cis d8 d dd16 fis g gis a b32 b a16 g fis g32 g e16 fis
  d16.
  cis32 c16 cis d8 d16.
  cis32d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d
  d/lilymidiThanks for
  answering. I've already read the documentation and tried everythingand
  still
  can't get no results. If someone more expirienced can tell me what I
  need to insert in the code I would be very
  grateful..___lilypond-user
  mailing
  list
  lilypond-user at 
  gnu.orghttp://lists.gnu.org/mailman/listinfo/lilypond-user
 
 
 
 
 
 
 
 
  ___
  lilypond-user mailing list
  

Re: Help with repeats for midi

2007-10-01 Thread John Pezouvanis
Hi vasil and thanks for answering and thanks for going through the trouble of 
writing the score for me, but sadly it didn't work.
I forgot to write that I'm using this score with wiki and I'm thinking that 
maybe that's the reason this isn't working.






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


printing Staff Symbol before \stopStaff

2007-10-01 Thread Orm Finnendahl
Hi,

stopping a Staff at the beginning of a piece results in the clef and
time signature being printed without the staff symbol. Is there a way
to make the staff symbol appear *without* having to enter music (or to
skip musical time) before the \stopStaff?

Below is an example: I would like to have the top system with an
initial staff system or the bottom system without the wrong rest
symbol (and without the staff symbol sticking 1/32th into the music).

--
Orm

\version 2.11.7

\paper {
raggedright = ##t
}

\score {
  
 \new Staff \relative c' {
\stopStaff
r1 r1
\startStaff
c4 d e f c d e f
}
  \new Staff \relative c' {
s32
\stopStaff
r2 r1
\startStaff
c4 d e f c d e f
} 
  
}




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


Re: Help with repeats for midi

2007-10-01 Thread Mats Bengtsson
Based on your latest email to the mailing list, it seems that the 
problem here is that you are using some kind of WIKI with embedded 
LilyPond support to process your code, instead of using LilyPond 
directly.


Since I have no idea about how this specific web server works, I am
just speculating here, but I guess that the server adds some code
around the code you enter, which explains why the previously proposed
code with two separate \score{...} blocks doesn't work.

The easiest way to expand the repeats in your code is to add a 
\unfoldRepeats {

...
}
around all your current code. This should work correctly for the MIDI 
output, but unfortunately it will also expand the repeats for the 
printed version. If that's not useful for you, I propose to download 
and install LilyPond on your own computer or figure out

who implemented that specific WIKI server and contact them for
more support on how to use the previously proposed solution with 
identifiers and several \score blocks.


  /Mats

Quoting John Pezouvanis [EMAIL PROTECTED]:


lilymidi
\set Staff.midiInstrument = bright acoustic
\clef treble
\tempo 8=102
\key  d \major
\time 9/8
\relative c''
\repeat volta 2 {d16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16
a d8}
\repeat volta 2 {d,16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32
c16
cis d8 d16. cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d}
d'16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8 d16. cis32
d16
e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8
d,16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 c16 cis d8 d16.
cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d
d16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 c16 cis d8 d16.
cis32
d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d
/lilymidi

Thanks for answering. I've already read the documentation and tried 
everything
and still can't get no results. If someone more expirienced can tell 
me what I

need to insert in the code I would be very grateful..










___
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: score imbedded in markup text (in-line)

2007-10-01 Thread Mats Bengtsson

Quoting Graham Percival [EMAIL PROTECTED]:

Sorry, I read it too quickly.  The results are a little bit better if 
you use \line instead of \fill-line, but I agree that there's still 
too much space between the elements.


You don't need the explicit \line{...}. The horizontal space is due
to the default indentation of the first score line, that (unfortunately)
also applies to these embedded scores. Setting indent=0 fixes that. In 
the example below, I have also changed the vertical alignment, to make 
it look better. You may want to try \general-align #Y #DOWN

instead.

snip = \markup {
   \score
   { \new Staff \with {
   \remove Time_signature_engraver
   firstClef = ##f
   }
   {   c''4\\ a'  }
   \layout { indent = #0 ragged-right = ##t }
   }
}
\markup {
 {
   foo
   \general-align #Y #CENTER \snip
 }
}


   /Mats




I really recommend using minimal examples, with correct indentation, 
though.  This makes it much easier to see what's happening and to 
investigate the problem.  The example below has all the important 
features of your example, but it's quicker to understand the snippet.


Cheers,
- Graham


%  the music should be closer to the foo
snip = \markup {
\score
{ \new Staff \with {
\remove Time_signature_engraver
firstClef = ##f
}
{   c''4\\ a'  }
\layout { ragged-right = ##t }
}
}
\markup {
  \line{
foo
\snip
  }
}


___
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: score imbedded in markup text (in-line)

2007-10-01 Thread Stan Sanderson

On Oct 1, 2007, at 11:36 AM, Maximilian Albert wrote:


Mats Bengtsson schrieb:


snip = \markup {
   \score
   { \new Staff \with {
   \remove Time_signature_engraver
   firstClef = ##f
   }
   {   c''4\\ a'  }
   \layout { indent = #0 ragged-right = ##t }
   }
}
\markup {
 {
   foo
   \general-align #Y #CENTER \snip
 }
}


Nice solution. Thanks for the explanation, Mats!

 In the example, I have also changed the vertical alignment, to
 make it look better. You may want to try \general-align #Y #DOWN
 instead.

... or even some value in between like \general-align #Y #-0.2 so  
as to make the text appear at about the height of the middle staff  
line, in case this is what you want (though unfortunately the value  
-0.2 was obtained by trial and error).


Max


Thanks to Mats and Max for this solution.
I'm always learning!

Regards,

Stan




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


Re: accidental style

2007-10-01 Thread Trevor Bača
On 9/30/07, Sandeep Gupta [EMAIL PROTECTED] wrote:
 Hi,

 I am trying to, for instance, show the accidental on the second a-sharp below.

 \parallelMusic #'(voiceA voiceB) {

 \cadenzaOn
 ais''2. | b''2. | \bar |
 ais''2. | d''2. | \bar |
 \cadenzaOff

 }

 \score {
 
 \new Staff \new Voice \voiceA
 \new Staff \new Voice \voiceB
 
 }



 Where should I put  #(set-accidental-style 'modern)?  It didn't work
 in front of \new Staff.


Hi Sandeep,

Have you tried puting #(set-accidental-style 'modern) immediately
before your first note?


Trevor.


-- 
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Writing a book (libretto) using LilyPond

2007-10-01 Thread Trevor Bača
On 9/30/07, Nicolas Sceaux [EMAIL PROTECTED] wrote:
 Valentin Villenave [EMAIL PROTECTED] writes:

  How can you manage to prevent the Character names and the didascalies
  to be separated from the main dialogue text when a page Break occurs?

 If you want the following text to be breakable after its first line,
 then I think there is nothing built-in to do that, you'd need to define
 a new markuplist command.

 If you want the text said by a character not to be broken too, then
 enclose the character name, didascalies and text inside a \column.


Aren't didascalies basically stage directions?




-- 
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: make score be line break aware

2007-10-01 Thread Trevor Bača
On 10/1/07, Francisco Vila [EMAIL PROTECTED] wrote:
 Hello.
 Is this possible? I want to typeset something (like a spanner or a
 different height of the lyrics baseline) that I want to last only
 until it reaches the next line break.

 If only I could explain it well, it would be a sort of intelligent
 tweak that 'knows' when a line break has happened and it then kills
 himself. There would be as liquid layout as possible meaning that
 layout does not interfere with content, i.e. making an explicit \break
 would not be an optimal solution.

 BTW this is about my project with alternate lyrics. The original score
 I have does this because the mid-hight lyrics baseline (after the two
 alternatives) is not needed anymore after the line break. I could
 attach a scan if you want.

Hi Francisco,

This sounds but. But this might be a breadcrumb: text spanners and
glissandi now support 'bound-details 'left-broken and 'bound-details
'right-broken (sub)attributes. You can use these attributes to make
*text* go away after a line break, like in this example.

%%% BEGIN %%%

\version 2.11.25

\new Staff {
   \override TextSpanner #'bound-details #'left #'text = \markup { start }
   \override TextSpanner #'bound-details #'left-broken #'text = ##f
   c'1 \startTextSpan
   \break
   c'1
   c'1 \stopTextSpan
}

%%% END %%%


Unfortunately, I don't know how to make the *spanner itself* disappear
after the line break ...



-- 
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Proper use of Devnull

2007-10-01 Thread Francisco Vila
2007/10/1, Mats Bengtsson [EMAIL PROTECTED]:
 Quoting Francisco Vila [EMAIL PROTECTED]:
 I hope you have read section Lyrics to multiple notes of a melisma
 which (in spite of its name) also deals with the situation you are
 asking about.

You're right. I was mistaken in belief that the only approach was
Divisi lyrics that deals with different melodies, not a single one
as I wanted.

  My second question is, how to change the default left alignment for
  melismata texts? Imagine the situation I mentioned where alternate lyrics
  with different melismata want to be equally centered on their noteheads. I'd
  like to center all of them regardless of this. In fact I'dl like to center
  all texts, all the time. Is it possible?

 In some recent development version, 2.11.x, a new context property has
 been added lyricMelismaAlignment, which seems to answer this question.
 Try \set lyricMelismaAlignment = #CENTER
 at the top of your lyrics (I haven't tried it myself).

It works, thank you. It was the last modification to
lyric-engraver.cc, 2007-07-29 and appeared in LP 2.11.29. I think it
is not in the manual.

When I finish the transcription I'll send to you, it's a beautiful duo
of Juan Vázquez, born in Badajoz.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: Pitches rewrite draft

2007-10-01 Thread Graham Percival

Trevor Daniels wrote:

Graham wrote:

- move Micro tones into Accidentals.


No, too specialist.  Should it be moved into Specialist
notation? Wherever it is it needs a link to Other languages.


I disagree with this, although I admit that I can't come up with a good 
reason.


One of the things I was trying to do was to make the new doc sections a 
complete reference for each item.  So Pitches would include everything 
about pitches, expressive marks would include everything about that, etc.


Here's where my reasoning falls down: I admit that this doesn't work 
with Ancient music.  Pitches-displaying-clefs doesn't include ancient 
music clefs, for example.  I'm still confident that the manual should be 
split up this way, but I can't point to a general principle to back me 
up on this.  :|(other than our ancient music support is a bit old, 
no pun intended, so I'd rather hide it at the back of the manual)



- do note names in other lanuages need anything
more than cleaning up


Yes:

1. The footnote which gives a reference to Note names in
other languages in the subsection Accidentals should be
promoted to the main text just after These are the Dutch
note names ... .


I agree.  Actually, I think we should make a general rule to remove 
footnotes.



2. In the Note names in other languages subsection it does
not actually say what the notation is for a simple sharp or
flat in each of the languages (other than bes).  I would
agree it is pretty obvious, but should still be stated for
completeness.


Oops, that's just because the section is in the middle of formatting 
changes.  The old table (currently commented out) shows this info, and 
that info will soon be migrated into the new table (which currently only 
has one row in it).




3. The link to double sharp in Accidentals is broken.


Good catch!


- I'm not too happy with Octave check, but I


However, it is clearly more than a check
(unlike bar check) since it actually corrects the octave
too.  Octave assertion, or, even better, octave affirmation,
maybe?


OTOH, it's most commonly used as a check, and then we have some unity in 
the manual with * check.



Also, why is there a link to Grace notes in the Clef
section?


I have honestly no idea.


(either no disagreement, or waiting for other comments, for everything else)

Cheers,
- Graham


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


Re: make score be line break aware

2007-10-01 Thread Joe Neeman
On Mon, 1 Oct 2007 17:55:46 Francisco Vila wrote:
 Hello.
 Is this possible? I want to typeset something (like a spanner or a
 different height of the lyrics baseline) that I want to last only
 until it reaches the next line break.

 If only I could explain it well, it would be a sort of intelligent
 tweak that 'knows' when a line break has happened and it then kills
 himself. There would be as liquid layout as possible meaning that
 layout does not interfere with content, i.e. making an explicit \break
 would not be an optimal solution.

Does the Difficult Tweaks section in the manual have the sort of thing you 
want?

Joe


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


Re: alternatives and bars problem

2007-10-01 Thread Gilles THIBAULT



In the final part of this tune, the 1st alternative prints fine, but
the second one has the bars all screwed up.  The first g4, is on a bar
of its own !


I have only this ugly solution for measure 24 (line 63 in your score)

g8*6/5 e e e4*6/5 % 5 eighth notes = value of 
6 eighth notes



Also when I use timidity to play the midi file, it ignores all the 
repeats.  I just plays the tune straight through.


See doc 6.7.3 repeats and Midi




\include version.ly
\header {
   composer =  by Paddy O'Brien
   title = The Coming of Spring
   dedication = 
   tagline = Music engraving by JMcCool using LilyPond  %\version
}

%\define mbreak = {\break}
\define mbreak = {}

melody = \relative c' {
\clef treble
\key d \major
\time 6/8
\override Score.BarNumber
  #'break-visibility = #end-of-line-invisible
\set Score.currentBarNumber = #0
%\set Staff.midiInstrument = flagelette
#(set-global-staff-size 23)

 \repeat volta 2 { %TUNE_START
  \partial 8*1  a'8
b8  e,8  e8  b'4  a8 %\bar |
b8  d8  b8  b8  a8  g8 %\bar |
fis8  e8  fis8 d8  fis8  a8 %\bar |
d8  fis8  e8  d8  b8  a8 %\bar |
b8  e,8  e8  b'4  a8 %\bar |
b8  e8 fis8  g8  fis8  e8  %\bar |
d8  b8  g8  fis8 g8  a8 %\bar |
b8  g8  e8  e4 %\bar :|:
   \mbreak
 }

\repeat volta 2 {
   \partial 8*1 fis8
   \set Score.currentBarNumber = #8
g8  e8  fis8  g4  a8 %\bar |
b4  a8[  b8  e8  cis8] %\bar |
d8  a8  a8  b8  a8  g8 %\bar |
\times 2/3 {fis8 g8 a8}  fis8  d8  e8 fis8 %\bar |
g4  e8[  fis8  g8  a8] %\bar |
b8 e8  fis8  g8  fis8  e8 %\bar |
d8  b8  g8 fis8  g8  a8 %\bar |
b8  g8  e8  e4 %\bar :|:
  }

 \repeat volta 2 {
\partial 8*1 fis'8
   \set Score.currentBarNumber = #16
g4  e8[  e8  g8  e8] %\bar |
b8 e8  g8  b8  a8  g8 %\bar |
fis4  d8[  d8 cis8  d8] %\bar |
a8  fis8  a8  d8  e8  fis8 %\bar |
g4  e8[  e8  g8  e8] %\bar |
}

\alternative {
  {
g4 e8[ e g e] %\bar |
b e g b a g %\bar |
fis e d \times 2/3 {fis8 g8 a8} fis %\bar |
g e e e4 %\bar |
  }

  {
g4 e8 fis e d %\bar |
b e cis d fis e %\bar |
d8  b8  g8  fis8 g8  a8 %\bar |
b8  g8  e8  e4
  }
}
 }

\score {
 \new Staff \melody
 \layout{}
 \midi { }
}







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


Re: alternatives and bars problem

2007-10-01 Thread Gilles THIBAULT

Oh sorry.
I didn't see that a solution was already given

Gilles


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