Re: vowel aligned lyrics - want to improve it

2010-02-22 Thread Wolf Alight
What a way to start the monday morning!
Thank you Neil!

I will put this in the Snippet Repository. I just thought of one enhancement
I want to make and one "feature" that came up:

* Enhancement: Multiple alignments of notes for one lyric word. For example
the swedish word "begynnelsen" has 4 vowels that each should be aligned with
a note in the score I'm working on and using "be -- gyn -- nel -- sen" takes
to much space. I thought that a simple solution to this would be to have it
as 4 words and simply force 0 space between the syllables(words) in the
lyrics but I find no command to do that.

* Unwanted feature with \remove "Bar_engraver". The lyrics do not keep
within the left limits of the staff since the vowel-alignment shifts them
(usually) to the left. See example below.

   - Any clever workarounds like adding a s-note with after line
breaking ? In that case, how do I set the width of that note?
   - Or should I set the X-extent of the grob-parent?

All the best.
/Tor

\version "2.12.1"

#(set-default-paper-size "a5" 'portrait)

#(define vowel-set (list->char-set (string->list "AEIOUYÅÄÖaeiouyåäö")))

#(define (width grob text-string)
(let* (
   (layout (ly:grob-layout grob))
   (props (ly:grob-alist-chain grob (ly:output-def-lookup layout
'text-font-defaults
  (cdr (ly:stencil-extent (ly:text-interface::interpret-markup layout
props (markup text-string)) X

#(define (center-on-vowel grob)
 (let* ((syllable (ly:grob-property-data grob 'text))
(vowel-count (string-count syllable vowel-set))
(vowel-position (string-index syllable vowel-set))
(prevowel (substring syllable 0 vowel-position))
(vowel (substring syllable vowel-position (+ vowel-position 1)))
(prevowel-width (width grob prevowel))
(vowel-width (width grob vowel))
; TODO: get the note width dynamically instead of hard coded
(note-width (interval-length (ly:grob-property (ly:grob-parent grob X)
'X-extent
   (- (/ (- note-width vowel-width) 2) prevowel-width)))

chant =

 \relative c'' {

c4 c4 c4 c4 c4 c4 c4 c4 c4 a2 \bar "|"
c4 c4 c4 \break

c4 c4 c4 c4
a4 a2 \bar "|"
c4 c4 c4 c4 c4 c4 c4 c2 \break

c4 b4 a4 c4 c2 \bar "|"
c4 c4 c4 c4 c4 c4 c4 c2 \bar "|"
\break

c4

}

words = \lyricmode {
  \set stanza = "℣." Lat mig pri -- sa dig he -- li -- ga Jung -- fru. \set
stanza = "℟." Ge mig kraft
   mot di -- na fi -- en -- der.
  \set stanza = "℣." Hell dig Mar -- i -- a, full av nad, Herren _ ar med
dig
  \set stanza = "℟." Val -- sign -- ad ar du bland kvin -- nor,
}

\score {
  \new Staff

  <<
\new Voice = "melody" \chant
\new Lyrics \lyricsto "melody" \words
  >>

  \layout {

\context { \Score
  \remove "Time_signature_engraver"
  timing = ##t
  \override Stem #'transparent = ##t
}

\context { \Staff
  \override StaffSymbol #'line-count = #4
  \remove "Time_signature_engraver"
  \remove "Bar_engraver"
}
\context { \Voice
  \override Stem #'length = #0
  \override TextScript #'font-shape = #'italic
  \override TextScript #'font-series = #'bold
}

\context { \Lyrics
  \override LyricText #'X-offset = #center-on-vowel
}
  }
}

\paper {
   indent = 0\cm
right-margin = 2\cm
line-width = 11.5\cm
ragged-last = ##t
ragged-right = ##f
}



2010/2/20 Neil Puttock 

> On 19 February 2010 12:24, Wolf Alight  wrote:
>
> > My inner perfectionist only have one complaint: the note width has been
> hard
> > coded and the value should be adjusted if non default notehead sizes are
> > used.
>
> The LyricText grob's X-parent is a NoteHead, so it's easy to get the
> extent:
>
> (note-width (interval-length (ly:grob-property (ly:grob-parent grob X)
> 'X-extent)))
>
> Regards,
> Neil
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: recovering LilyPond user....

2010-02-22 Thread Mats Bengtsson

Mika Kuuskankare wrote:

(2) Can I change the number of staff-lines in the middle of a measure (or by 
measure at least), say when switching between different percussion instruments?
  
This is described in one of the examples of 
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Modifying-single-staves#Staff-symbol


   /Mats


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


Re: vowel aligned lyrics - want to improve it

2010-02-22 Thread Christ van Willegen
On Mon, Feb 22, 2010 at 9:01 AM, Wolf Alight  wrote:
> What a way to start the monday morning!
> Thank you Neil!
> I will put this in the Snippet Repository. I just thought of one enhancement
> I want to make and one "feature" that came up:
> * Enhancement: Multiple alignments of notes for one lyric word. For example
> the swedish word "begynnelsen" has 4 vowels that each should be aligned with
> a note in the score I'm working on and using "be -- gyn -- nel -- sen" takes
> to much space. I thought that a simple solution to this would be to have it
> as 4 words and simply force 0 space between the syllables(words) in the
> lyrics but I find no command to do that.

Exactly what I was think of last week!

This would make a very nice addition to Lily...

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
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: full repeat bracket for 2nd ending

2010-02-22 Thread Robin Bannister

You're welcome.

Richard Wattenbarger wrote: 
 If I could [ ... ] , I would! 


I would prefer your response to 
It would help in this regard if you could explain why you need the 
bracket to be closed like this, e.g. does it involve a coda? 


Cheers,
Robin


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


Re: recovering LilyPond user....

2010-02-22 Thread Mika Kuuskankare

On 22.2.2010, at 10:26, Mats Bengtsson wrote:

> Mika Kuuskankare wrote:
>> (2) Can I change the number of staff-lines in the middle of a measure (or by 
>> measure at least), say when switching between different percussion 
>> instruments?
>>  
> This is described in one of the examples of 
> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Modifying-single-staves#Staff-symbol

Thank you... my problem (1) is already solved so I have everything now.
BTW, I'm working with a set of percussion symbols for my own software and as I 
need them in Lilypond myself I export them as a collection of postscript 
markups. I'm not sure if this would be of interest to the Lilypond community. 
There are, of course, no standards but perhaps some pretty established 
conventions at least... I can send an example of what I mean a little bit 
later...

-Mika

> 
>   /Mats

Dr. Mika Kuuskankare
Composer, programmer and researcher
Centre for Music & Technology 
Sibelius Academy

Henkilökohtainen postiosoite/Personal post address
PL 342 - PO Box 342
FIN-00121 Helsinki, FINLAND
Mobile: +358 (0)40 5415 233 (Finland)
Skype: mkuuskan
personal home page: www.siba.fi/~mkuuskan
project home page: www.siba.fi/PWGL









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


"Strange" spacing: systems, pages and ragged-last-bottom

2010-02-22 Thread Dmytro O. Redchuk
Hi!

Sorry, rather "strange question".

I have one particular score (68 measures, with lyrics, no manual breaks,
one \noBreak), lilypond lays it out in four pages (4+5+4+2 = 15
systems).

When i put "page-count = #3" in \paper block, lilypond lays it out in
three pages (4+5+6 = 15 systems), but last system runs out of page,
overlaying tagline.

When i comment out page-count and put "ragged-last-bottom = ##f" ---
i get "almost perfect" layout (better to specify "system-count = #13" in
this case), in three pages (4+5+4 = 13 systems).

To be honest, the last result is the strangest for me :-)


I believe, here is something to improve --- can i help to do that? Which
information should i provide? Which tests to perform?-)

Yes, i believe that here is a little, minor, low-priority imperfectness,
and i would like to be of help.

-- 
  Dmytro O. Redchuk



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


Re: ly to musicXML converter

2010-02-22 Thread Thomas Bonte

Hi Ami,
You may be interested to follow this topic:
http://code.google.com/p/lilypond/issues/detail?id=665

-- 
View this message in context: 
http://old.nabble.com/ly-to-musicXML-converter-tp27677006p27685765.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Lilypond vs Score

2010-02-22 Thread Bertalan Fodor (LilyPondTool)
I found a page about Score at 
http://www.jeffreygrossman.com/engraving.html showing the problems with 
Sibelius and showing Score's superiority.
I created the same example using LilyPond 2.12.3 (attached) - definitely 
not perfect, but almost is - using only the default settings and the 
easiest ways, as I almost never engrave piano music. Certainly beats the 
Sibelius example (I don't know the Sibelius version, though).


Bert

Bobber wrote:
I have been having a discussion with a small publisher who uses the 
music manuscript program called Score.  He says that neither Lilypond 
or Finale can produce engraving that is comparable to Score.  And that 
most of the major music publishers in the world use Score.


Is anyone familiar with Score and what makes it superior?



% Created on Sun Feb 21 22:51:50 CET 2010
\version "2.12.3"

#(set-global-staff-size 18)

\header {
	title = "Score vs LilyPond vs Sibelius" 
 subtitle = "Example from http://www.jeffreygrossman.com/engraving.html"; 

}

\include "deutsch.ly"


staffZongora = \new PianoStaff {
	\set PianoStaff.midiInstrument = #"acoustic grand"
	\set PianoStaff.instrumentName = #""
		\time 12/8
<<
		\context Staff = "RH" {  % Right hand
\override Staff.TimeSignature #'stencil = ##f

			\clef treble
			\key c \major
			\relative c'' {
\context Voice = "1" { 16.[(   ] }
<< { [   ] } \\ 
{ g,8 b! des! c a e } >> |
\time 4/4
\context Voice = "1" {
16.[   ] 8[ ]) } |
\context Voice = "2" { 
	r8\< 
\override Staff.Stem #'stemlet-length = #0.75
\times 2/3 { r16[ ais_( h] } 
\times 2/3 { [ dis' ] }
}
<< { r32 fis''16.-> fis1 } \\ { 4\!_\ff ~
			
\times 4/5 { 8[) \> 
	 



]
}
\oneVoice
4.
8\!_\p ~
8.[
16] 2^\startTrillSpan 2\>\stopTrillSpan 8\!

} >>
			}
		}
		\context Staff = "LH" {  % Left hand
	\override Staff.TimeSignature #'stencil = ##f
 			
			\clef bass
			\key c \major
			\relative c {		
d,,8\sustainOn des' b' f' a des s4. s | 
des8[^\< a f] e[ des c] 
\once \override Voice.TupletBracket #'transparent = ##t
\once \override Voice.TupletNumber #'extra-offset = #'( 0 . 0.5 )
\once \override Voice.TupletNumber #'text = \markup { \italic "3:2" }
\times 2/3 { b[ g\! f] } |
\time 13/8 
d,8[\sustainOn dis'16 cis'] [ ] r4. r r2 |
\time 11/8
R8*11

			}
			
		}
	>>
}



\score {
	<<
		\staffZongora
	>>
	
	\midi {
	}

  \layout {
  }
}

\paper {
	#(set-paper-size "a4")
	indent = 0
}


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


Re: Problem getting started on Mac

2010-02-22 Thread James Lowe

Hello,

If you don't mind using a development version 2.13, then the 
documentation (which now includes how to use Lilypond with screenshots) 
and the lilypad application works just fine. There were issues with 
Lilypad/Lilypond with the menus not doing anything which I never 
bothered to find out why because the 2.13 works for me.


I use it all the time (am running 2.13.10 with OSX (one *before* Snow 
Leopard - whatever that is called).


James



James Bailey wrote:
Although not completely without problems, once it's set up, jEdit is 
probably the easiest method.


On 21.02.2010, at 20:12, Huub van Niekerk wrote:


Hi,

After successfully working on Linux and Windows, I wanted to try it on
Mac. But after installation, all I get is the name Lilypond, which is
just there and doing nothing. No menu or anything. How do I get started?

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




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


Re: Lilypond vs Score

2010-02-22 Thread David Stocker
Odds are this was much easier to do in LilyPond than it was in SCORE (or 
Sibelius, for that matter). I think it looks better than either of the 
example on Grossman's page.


Nice job.

On 02/22/2010 08:02 AM, Bertalan Fodor (LilyPondTool) wrote:
I found a page about Score at 
http://www.jeffreygrossman.com/engraving.html showing the problems 
with Sibelius and showing Score's superiority.
I created the same example using LilyPond 2.12.3 (attached) - 
definitely not perfect, but almost is - using only the default 
settings and the easiest ways, as I almost never engrave piano music. 
Certainly beats the Sibelius example (I don't know the Sibelius 
version, though).


Bert

Bobber wrote:
I have been having a discussion with a small publisher who uses the 
music manuscript program called Score.  He says that neither Lilypond 
or Finale can produce engraving that is comparable to Score.  And 
that most of the major music publishers in the world use Score.


Is anyone familiar with Score and what makes it superior?




___
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: Lilypond vs Score

2010-02-22 Thread Bertalan Fodor (LilyPondTool)



David Stocker wrote:
Odds are this was much easier to do in LilyPond than it was in SCORE 
(or Sibelius, for that matter). I think it looks better than either of 
the example on Grossman's page.

There are some issues with the LilyPond output:
- the most severe is 16th beam-accidental collision in measure 3
- the hairpin alignment (can be easily fixed though)
- the > hairpin start position in measure 3
- the ties in measure 3 (though I think that would need tweaking in all 
softwares)


Bert

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


Re: Problem getting started on Mac

2010-02-22 Thread James Lowe

Hmmm,

http://ivo.bouwmans.name/

works so maybe there is a missing file?

I don't know if there is any place else the OSX 10.5 binary is held 
(although seems I cannot hit http://download.linuxaudio.org/ either).


James

Huub van Niekerk wrote:
> I don't mind using a devel version, but I can't get it to download. Some
> "internal server error" at http://ivo.bouwmans.name/lilypondleopard. I
> guess it's down.
>
> On Mon, Feb 22, 2010 at 2:32 PM, James Lowe  > wrote:
>
> Hello,
>
> If you don't mind using a development version 2.13, then the
> documentation (which now includes how to use Lilypond with
> screenshots) and the lilypad application works just fine. There were
> issues with Lilypad/Lilypond with the menus not doing anything which
> I never bothered to find out why because the 2.13 works for me.
>
> I use it all the time (am running 2.13.10 with OSX (one *before*
> Snow Leopard - whatever that is called).
>
> James
>
>
>
>
> James Bailey wrote:
>
> Although not completely without problems, once it's set up,
> jEdit is probably the easiest method.
>
> On 21.02.2010, at 20:12, Huub van Niekerk wrote:
>
> Hi,
>
> After successfully working on Linux and Windows, I wanted to
> try it on
> Mac. But after installation, all I get is the name Lilypond,
> which is
> just there and doing nothing. No menu or anything. How do I
> get started?
>
> 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
>
>


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


Partials and upbeats

2010-02-22 Thread Phil Holmes
I have a piece of music which has 3 vocal parts and 2 piano lines (3 
voices).  It's in 2/4 and starts with an eighth note (a quaver) in the piano 
left hand, and 2 16th notes in the piano right hand.  I want to use whole 
measure rests for the vocal parts, so that they are removed from the start, 
where there is only piano music.  If I start each vocal part with:


\time 2/4  R8   |

and the top piano part with:

\time 2/4  \partial 8  ees''16 \mf  [  g''16 ]   |

then the score is produced in the way I want.  However, if I either start 
the vocal parts:


\time 2/4  \partial 8  R8   |

or I re-arrange the piano parts so that they lie above the vocal parts, then 
I get bar-line warnings:


D:/Music/Test.ly:61:1: warning: barcheck failed at: -1/8
R8   |  % 1

Is it correct that the \partial command applies to all voices below the one 
in which it is issued, and that it cannot be used with whole measure rests? 
Both of these seem counter-intuitive to me - it seems to me that (all other 
things being equal) \partial should apply to the whole score, or just the 
single voice for which it is issued, and that it should also apply to 
whole-measure rests - otherwise you can't lose "empty" vocals with an 
upbeat.


--
Phil Holmes




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


percussion pictograms (was: Re: recovering LilyPond user....)

2010-02-22 Thread Mark Polesky
Mika Kuuskankare wrote:
> BTW, I'm working with a set of percussion symbols for my
> own software and as I need them in Lilypond myself I
> export them as a collection of postscript markups. I'm not
> sure if this would be of interest to the Lilypond
> community. There are, of course, no standards but perhaps
> some pretty established conventions at least... I can send
> an example of what I mean a little bit later...

Mika,

I have done quite a lot of work on producing percussion
pictograms for LilyPond (natively, without needing to export
from another program).  Perhaps we should compare notes, so
to speak?

- Mark


  


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


Re: percussion pictograms (was: Re: recovering LilyPond user....)

2010-02-22 Thread Mika Kuuskankare
Mark,

On 22.2.2010, at 18:20, Mark Polesky wrote:

> Mika Kuuskankare wrote:
>> BTW, I'm working with a set of percussion symbols for my
>> own software and as I need them in Lilypond myself I
>> export them as a collection of postscript markups. I'm not
>> sure if this would be of interest to the Lilypond
>> community. There are, of course, no standards but perhaps
>> some pretty established conventions at least... I can send
>> an example of what I mean a little bit later...
> 
> Mika,
> 
> I have done quite a lot of work on producing percussion
> pictograms for LilyPond (natively, without needing to export
> from another program).  

I did try to google for this before I started... I wasn't aware of your work. I 
think this would be a nice feature for Lilypond, though.
For me the PS export is the easiest way actually as I'm producing these 
algorithmically. Naturally, I would like to use something more 
lilypond-native...

> Perhaps we should compare notes, so
> to speak?

Sure Mark, please find below my notes :)
I'm afraid mine is just a small (but maybe practical) set for myself with 
symbols stolen, copied and adapted from various sources and defined in Lilypond 
in the following manner:

- 8< -
trianglePS = #"gsave
0.05 setlinewidth 
1 setlinecap 
0.0 0.0 0.0 setrgbcolor
newpath
0.0 0.1 moveto
0.5 1.0 lineto
1.0 0.0 lineto
0.1 0.0 lineto
stroke
grestore
"
triangleMARK = \markup {
  \postscript #trianglePS
}
- >8 -

-Mika


BTW, I tried to use fonts inside the embedded PS code but it failed. Does 
anybody know how to do it?
"/Helvetica findfont 22 scalefont setfont (a) show"did not work...



> 
> - Mark
> 
> 


.pdf
Description: Adobe PDF document
> 
> 

Dr. Mika Kuuskankare
Composer, programmer and researcher
Centre for Music & Technology 
Sibelius Academy

Henkilökohtainen postiosoite/Personal post address
PL 342 - PO Box 342
FIN-00121 Helsinki, FINLAND
Mobile: +358 (0)40 5415 233 (Finland)
Skype: mkuuskan
personal home page: www.siba.fi/~mkuuskan
project home page: www.siba.fi/PWGL







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


Re: Problem getting started on Mac

2010-02-22 Thread James Bailey
Ah. I see the problem. That's a link that's really no longer needed.  
it's a carry-over from the days when lilypond didn't work on 10.5.  
That should probably be removed and the normal PPC/Intel links will  
work just fine.


So, James, (I love meeting people who share my name), you can  
download the architecture version for your computer (Intel or PPC)  
and it should work without problem.



On 22.02.2010, at 16:07, James Lowe wrote:


Hmmm,

http://ivo.bouwmans.name/

works so maybe there is a missing file?

I don't know if there is any place else the OSX 10.5 binary is held  
(although seems I cannot hit http://download.linuxaudio.org/ either).


James

Huub van Niekerk wrote:
> I don't mind using a devel version, but I can't get it to  
download. Some
> "internal server error" at http://ivo.bouwmans.name/ 
lilypondleopard. I

> guess it's down.
>
> On Mon, Feb 22, 2010 at 2:32 PM, James Lowe  > wrote:
>
> Hello,
>
> If you don't mind using a development version 2.13, then the
> documentation (which now includes how to use Lilypond with
> screenshots) and the lilypad application works just fine.  
There were
> issues with Lilypad/Lilypond with the menus not doing  
anything which

> I never bothered to find out why because the 2.13 works for me.
>
> I use it all the time (am running 2.13.10 with OSX (one *before*
> Snow Leopard - whatever that is called).
>
> James
>
>
>
>
> James Bailey wrote:
>
> Although not completely without problems, once it's set up,
> jEdit is probably the easiest method.
>
> On 21.02.2010, at 20:12, Huub van Niekerk wrote:
>
> Hi,
>
> After successfully working on Linux and Windows, I  
wanted to

> try it on
> Mac. But after installation, all I get is the name  
Lilypond,

> which is
> just there and doing nothing. No menu or anything.  
How do I

> get started?
>
> 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
>
>


___
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: percussion pictograms (was: Re: recovering LilyPond user....)

2010-02-22 Thread Patrick McCarty
On Mon, Feb 22, 2010 at 9:39 AM, Mika Kuuskankare  wrote:
>
> BTW, I tried to use fonts inside the embedded PS code but it failed. Does 
> anybody know how to do it?
> "/Helvetica findfont 22 scalefont setfont (a) show"    did not work...

This was a problem in 2.13.13 that should be fixed when 2.13.14 comes out.

Thanks,
Patrick


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



Glissando tweaking - help !!

2010-02-22 Thread Eby Mani
Is there a way to print aesthetically pleasing Glissandos, that doesn't print 
over "Dots" and "accidentals" ?. It prints over the "dot" of the starting note 
and over the "sharp" of the ending note.

Also any simple way to print text such as "gliss" or "slide" over the 
glissando, without using  markup and rotate ?.

Many thanks,

Eby
*
\version "2.12.3"

vOne = \relative c' { c4 e g a c d \once \override Glissando #'style = #' trill 
e,4.\glissando dis'8 }

\score { 
<<
\new Voice = "Glissando" \vOne >> 

\layout {
\context { \Voice
\override Glissando #'minimum-length = #10 
\override Glissando #'springs-and-rods = 
#ly:spanner::set-spacing-rods
  } } 
}

***





  



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


Re: Glissando tweaking - help !!

2010-02-22 Thread David Stocker

Hi Eby,

You'll need to \override Score.Glissando #'(bound-details left padding) 
and adjust the values until they suit you. As far as I can tell, the 
bound-details padding adjustments are sensitive down to increments of 
0.25, but not smaller than that. Try running the code below, which 
compiled successfully on 2.13.9 and gave a satisfactory result.


Adding "Gliss." to the line is, if I recall, one of the "Known Issues." 
I don't know if someone else has an answer but you may try the snippet 
repository.


To the list, is LilyPond's not respecting dots and accidentals in the 
\glissando command a bug?


Cheers.


%%%

\version "2.12.3"

vOne = {
  \relative c' {
c4 e g a c d
\once \override Glissando #'style = #' trill
\once \override Score.Glissando #'(bound-details left padding) = #2.25
\once \override Score.Glissando #'(bound-details right padding) = #2.5
e,4. \glissando dis'8
  }
}

\score {
<<
\new Voice = "Glissando"
\vOne
>>
  \layout {
\context {
  \Voice
  \override Glissando #'minimum-length = #10
  \override Glissando #'springs-and-rods = 
#ly:spanner::set-spacing-rods

}
  }
}

%%%
On 02/22/2010 03:12 PM, Eby Mani wrote:

Is there a way to print aesthetically pleasing Glissandos, that doesn't print over "Dots" and 
"accidentals" ?. It prints over the "dot" of the starting note and over the "sharp" of 
the ending note.

Also any simple way to print text such as "gliss" or "slide" over the 
glissando, without using  markup and rotate ?.

Many thanks,

Eby
*
\version "2.12.3"

vOne = \relative c' { c4 e g a c d \once \override Glissando #'style = #' trill 
e,4.\glissando dis'8 }

\score {
<<
\new Voice = "Glissando" \vOne>>

\layout {
\context { \Voice
\override Glissando #'minimum-length = #10
\override Glissando #'springs-and-rods = 
#ly:spanner::set-spacing-rods
   } }
}

***









___
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: Glissando tweaking - help !!

2010-02-22 Thread Nick Payne

On 23/02/10 07:12, Eby Mani wrote:

\version "2.12.3"

vOne = \relative c' { c4 e g a c d \once \override Glissando #'style = #' trill 
e,4.\glissando dis'8 }

\score {
<<
\new Voice = "Glissando" \vOne>>

\layout {
\context { \Voice
\override Glissando #'minimum-length = #10
\override Glissando #'springs-and-rods = 
#ly:spanner::set-spacing-rods
   } }
}
   

%===
\version "2.12.3"

vOne = \relative c' { c4 e g a c d \once \override Glissando #'style = 
#' trill

\once \override Glissando #'bound-details #'left #'padding = #2
\once \override Glissando #'bound-details #'right #'padding = #1.8
e,4.\glissando dis'8 }

\score {
<<
\new Voice = "Glissando" \vOne >>

\layout {
\context { \Voice
\override Glissando #'minimum-length = #10
\override Glissando #'springs-and-rods = 
#ly:spanner::set-spacing-rods

  } }
}
%===

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


Re: Partials and upbeats

2010-02-22 Thread Mats Bengtsson

Quoting Phil Holmes :

I have a piece of music which has 3 vocal parts and 2 piano lines (3 
voices).  It's in 2/4 and starts with an eighth note (a quaver) in 
the piano left hand, and 2 16th notes in the piano right hand.  I 
want to use whole measure rests for the vocal parts, so that they are 
removed from the start, where there is only piano music.  If I start 
each vocal part with:


\time 2/4  R8   |

and the top piano part with:

\time 2/4  \partial 8  ees''16 \mf  [  g''16 ]   |

then the score is produced in the way I want.  However, if I either 
start the vocal parts:


\time 2/4  \partial 8  R8   |

or I re-arrange the piano parts so that they lie above the vocal 
parts, then I get bar-line warnings:


D:/Music/Test.ly:61:1: warning: barcheck failed at: -1/8
R8   |  % 1

Is it correct that the \partial command applies to all voices below 
the one in which it is issued,
No, the \partial command sets some properties on the Score level, so 
the order shouldn't matter. Hard to say why you see such a difference 
without having access to your full test file.



and that it cannot be used with whole measure rests?
Correct! You can find some discussions on this phenomenon in the 
mailing list archives. Do you really want the rest symbol produced by  
R8? I thought that and ordinary eight note rest (r8) was the standard 
notation practice for upbeats.


  /Mats



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


Re: Partials and upbeats

2010-02-22 Thread Xavier Scheuer
On 22 February 2010 22:05, Mats Bengtsson  wrote:

> Correct! You can find some discussions on this phenomenon in the mailing
> list archives. Do you really want the rest symbol produced by  R8? I thought
> that and ordinary eight note rest (r8) was the standard notation practice
> for upbeats.

Yes but r8 does not permit \RemoveEmptyStaffContext and
  \override VerticalAxisGroup #'remove-first = ##t
to work, and I suppose that Phil is using this because he said:

> I want to use whole measure rests for the vocal parts, so that they
> are removed from the start, where there is only piano music.
> [...]
> otherwise you can't lose "empty" vocals with an upbeat.

Dear Phil,

I had the same issue and I posted on bug-lilypond
http://lists.gnu.org/archive/html/bug-lilypond/2009-09/msg00095.html
http://code.google.com/p/lilypond/issues/detail?id=849

Nicolas Sceaux gave an interesting hack in his answer here:
http://lists.gnu.org/archive/html/bug-lilypond/2009-10/msg00011.html

%%%
%%% The following hack make regular rests hara-kiri-able
%%%
#(let* ((rest-def (assoc 'Rest all-grob-descriptions))
(meta-def (assoc 'meta (cdr rest-def)))
(interfaces-def (assoc 'interfaces (cdr meta-def)))
(interfaces (filter (lambda (interface)
(not (eqv? interface 'rhythmic-grob- interface)))
(cdr interfaces-def
(set-cdr! interfaces-def interfaces))


This worked for me.

Hope it helps,
Xavier

--
Xavier Scheuer 


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


Re: Problem getting started on Mac

2010-02-22 Thread Steven White
I no longer have any 10.4 (Tiger) or 10.5 (Leopard) machines, but the 10.5 
build works fine on 10.6 (Snow Leopard) I'm a avid user of textmate and 
there is a pretty good bundle for integrating LilyPond with textmate.


http://svn.textmate.org/trunk/Bundles/LilyPond.tmbundle/

Steven

On 2/21/10 3:33 PM, James Bailey wrote:

Although not completely without problems, once it's set up, jEdit is
probably the easiest method.

On 21.02.2010, at 20:12, Huub van Niekerk wrote:


Hi,

After successfully working on Linux and Windows, I wanted to try it on
Mac. But after installation, all I get is the name Lilypond, which is
just there and doing nothing. No menu or anything. How do I get started?

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




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


Re: Glissando tweaking - help !!

2010-02-22 Thread Marc Hohl

Hello David,

David Stocker schrieb:

[...]

To the list, is LilyPond's not respecting dots and accidentals in the 
\glissando command a bug?
Yes, it is already in the tracker (#40) - I was working on it for some 
time, but a proper solution

requires more C++ knowledge than I have today.

Marc



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