Re: Lyrics inside the staff

2010-10-20 Thread zbigb

Thanks Kieren, but I meant overlapping the staff lines, I want the words to
be in place of the notes

regards, 
zb
 

Kieren MacMillan wrote:
> 
> Hi "zb",
> 
>> I couldn't find anything useful re: placing the lyrics inside the staff
> 
> Does the snippet  not do what you
> want?
> If not, please be more specific in your question, and include an image of
> the desired output if possible.
> 
> Cheers,
> Kieren.
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Lyrics-inside-the-staff-tp30004819p30007424.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: Lyrics inside the staff

2010-10-20 Thread Jan-Peter Voigt

Hi ZB,

I did a short "hack" to place the lyrics on top/across the staff:

--snip--

\version "2.12.3"

% a short hack to place Lyrics on top of the staff
<<
  \new Staff <<
\new Voice = "voc" \relative c' { a bes c8 b c4 }
>>
  \new Lyrics \with {
% to place something on top of the staff, it may not use use any space
\override VerticalAxisGroup #'Y-extent = #'(0 . 0)
% now we shift Lyric text *and* extenders *and* hyphens.
% the amount here is found by trial and error - there's probably a 
better way to align it vertically ...

\override LyricText #'extra-offset = #'(0 . 8)
\override LyricExtender #'extra-offset = #'(0 . 8)
\override LyricHyphen #'extra-offset = #'(0 . 8)
  } \lyricsto "voc" { La la -- la __ _ la }
>>

--snip--

Is this what you're looking for?

Regards,
Jan-Peter.


On 20.10.2010 00:24, zbigb wrote:

Hello,

I couldn't find anything useful re: placing the lyrics inside the staff -
i.e. shifting vertically
is it possible?

thanks,
zb
   



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


Re: Lyrics inside the staff

2010-10-20 Thread zbigb

yes! perfect, thank you very much

Jan-Peter Voigt wrote:
> 
> Hi ZB,
> 
> I did a short "hack" to place the lyrics on top/across the staff:
> 
> --snip--
> 
> \version "2.12.3"
> 
> % a short hack to place Lyrics on top of the staff
> <<
>\new Staff <<
>  \new Voice = "voc" \relative c' { a bes c8 b c4 }
>  >>
>\new Lyrics \with {
>  % to place something on top of the staff, it may not use use any
> space
>  \override VerticalAxisGroup #'Y-extent = #'(0 . 0)
>  % now we shift Lyric text *and* extenders *and* hyphens.
>  % the amount here is found by trial and error - there's probably a 
> better way to align it vertically ...
>  \override LyricText #'extra-offset = #'(0 . 8)
>  \override LyricExtender #'extra-offset = #'(0 . 8)
>  \override LyricHyphen #'extra-offset = #'(0 . 8)
>} \lyricsto "voc" { La la -- la __ _ la }
>  >>
> 
> --snip--
> 
> Is this what you're looking for?
> 
> Regards,
> Jan-Peter.
> 
> 
> On 20.10.2010 00:24, zbigb wrote:
>> Hello,
>>
>> I couldn't find anything useful re: placing the lyrics inside the staff -
>> i.e. shifting vertically
>> is it possible?
>>
>> thanks,
>> zb
>>
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Lyrics-inside-the-staff-tp30004819p30007583.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: Lyrics inside the staff

2010-10-20 Thread Dmytro O. Redchuk
On Wed 20 Oct 2010, 09:47 Jan-Peter Voigt wrote:
> Hi ZB,
> \override VerticalAxisGroup #'Y-extent = #'(0 . 0)
You also can try 
\override VerticalAxisGroup #'Y-extent = #'(1 . -1)

This can give you a possibility to use Y-offset instead of extra-offset
(this can be better in some cases).

> a better way to align it vertically ...
> \override LyricText #'extra-offset = #'(0 . 8)
> \override LyricExtender #'extra-offset = #'(0 . 8)
> \override LyricHyphen #'extra-offset = #'(0 . 8)
>   } \lyricsto "voc" { La la -- la __ _ la }
> >>
> 
> --snip--
> 
> Is this what you're looking for?

-- 
  Dmytro O. Redchuk
  Bug Squad

  Be careful! These are some commonly used abbreviations:
   • LM -- Learning Manual
   • NR -- Notation Reference
   • IR -- Internal Reference

  Look at LilyPond’s documentation to find more.

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


fine-tuning Lyrics size

2010-10-20 Thread Werner LEMBERG

Folks,


using 

  \override LyricText #'font-size = #'-1

to make the lyrics smaller is too coarse for me.  In my particular
case, there is both Italian lyrics and a German translation (using a
cursive font shape), and I have to make the cursive text just a bit
smaller.  AFAIK, LilyPond converts all font sizes into discrete steps
(6 steps is a factor of two).  How can I circumvent that?


Werner

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


Re: fine-tuning Lyrics size

2010-10-20 Thread Alexander Kobel

On 2010-10-20 13:48, Werner LEMBERG wrote:

Folks,


using

   \override LyricText #'font-size = #'-1

to make the lyrics smaller is too coarse for me.


Hi, Werner,

sorry if I misunderstood you - the solution just seems to obvious to 
imagine that you could not have found it.
You can use decimal values (well, actually every real value if you 
really want to), and the default 'font-size for Lyrics is 1, not 0 (as 
would be expected).


Of course, you're the font guy; it's no news for you that exploiting 
x-heights and so on would be nice, but we're not there yet...



HTH,
Alexander

{ c'4 c' c' c' }
\addlyrics { Uh la la la }
\addlyrics { \override LyricText #'font-size = #'0.9 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'0.8 Uh la la la }
\addlyrics { \override LyricText #'font-size = #(sqrt (/ 1. 2)) Uh la la 
la }

\addlyrics { \override LyricText #'font-size = #'0.7 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'0.6 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'0.5 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'0.4 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'0.3 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'0.2 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'0.1 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'0.0 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'-0.1 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'-0.2 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'-0.3 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'-0.4 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'-0.5 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'-0.6 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'-0.7 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'-0.8 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'-0.9 Uh la la la }
\addlyrics { \override LyricText #'font-size = #'-1.0 Uh la la la }

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


Re: fine-tuning Lyrics size

2010-10-20 Thread Werner LEMBERG

> sorry if I misunderstood you - the solution just seems to obvious to
> imagine that you could not have found it.  You can use decimal
> values (well, actually every real value if you really want to), and
> the default 'font-size for Lyrics is 1, not 0 (as would be
> expected).

Doh, I've tried that, but I've erroneously assumed that the default
size is #0.  No wonder that I get a big jump if I try #-0.5 ...

Thanks for the help.

> Of course, you're the font guy; it's no news for you that exploiting
> x-heights and so on would be nice, but we're not there yet...

:-)


Werner

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


problem with LSR 643

2010-10-20 Thread Werner LEMBERG

The LSR 643 snippet gives a very nice function to append punctuation
to an extender line.  However, using \extendComma to get

  __ ,


the depth of the comma glyph is cut while using lilypond-book if it
happens that this particular extender line is the lower edge of the
image, and if there are no other letters with descenders.  I suspect
that for lyrics extenders, skyline computation is not taken into
account, and this must be added somehow.  Any idea how to fix that?


Werner


PS: How can I find out who has written that snippet?

\documentclass{article}

\begin{document}

foo

\begin[quote]{lilypond}
#(define (extend text . padding)
   (let ((extender (make-music 'ExtenderEvent))
 ;; optional padding
 (padding (if (pair? padding)
  (car padding)
  0)))

 (set! (ly:music-property extender 'tweaks)
   (acons 'stencil (lambda (grob)
 (ly:stencil-combine-at-edge
  (ly:lyric-extender::print grob)
  X RIGHT
  (grob-interpret-markup grob text)
  padding))
  (ly:music-property extender 'tweaks)))

 extender))

%Define custom extenders, first with extra padding
extendComma = #(extend "," 0.2)

\score {  
  <<
\new Staff \new Voice = melody \relative c' {
  c4( d e f)
}
\new Lyrics \lyricsto melody {
  AAA \extendComma
}
  >>
  \layout {
\context {
  \Lyrics
  \consists "Tweak_engraver"
}
  }
}
\end{lilypond}

bar

\end{document}
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


midi2ly extracting velocity

2010-10-20 Thread zbigb

Hi 

I'm looking for a way to extract velocity information from the midi file and
use it for dynamic marking, 
is there any midi2ly guru here that can point to the best way to hack the
code? 

thanks in advance, 
zb
-- 
View this message in context: 
http://old.nabble.com/midi2ly-extracting-velocity-tp30010352p30010352.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: alternative notation for tuplets (idea)?

2010-10-20 Thread Janek Warchoł
2010/10/16 James Lowe 

> You can read lots (lots!)  here
> http://thread.gmane.org/gmane.comp.gnu.lilypond.general/26600
> and here
> http://thread.gmane.org/gmane.comp.gnu.lilypond.devel/14847/focus=14853


I've finally read all this and i'm still not convinced, because these
dicsussions don't mention my idea at all (i suggest that numbers 3, 5, 6, 7,
9, 10, 11, 12, 13, 14, 15, 17 etc. should become valid durations, and work
like the familiar 1, 2 , 4, 8, 16 etc.). Nevertheless, i think i should put
this on hold (unless someone wants to discuss privately) - maybe my english
is not good enough to explain this...

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


Re: orchestral template, please comment

2010-10-20 Thread Phil Holmes
Now approved.  http://lsr.dsi.unimi.it/LSR/Item?id=719 .  This will mean 
deleting snippet 713, since I've renamed this.  I always like to check 
before doing that - anyone any problems with that deletion?


I don't do this moving to git stuff, I'm afraid.

--
Phil Holmes


- Original Message - 
From: "Trevor Daniels" 

To: "Phil Holmes" 
Cc: ; "Keith E OHara" 
Sent: Tuesday, October 19, 2010 8:31 PM
Subject: Re: orchestral template, please comment



Phil

I'm happy to replace this template in the LM now.  If you're happy too,
could you approve it please?   Are you able to run makelsr.py to move
it to git?

Trevor

- Original Message - 
From: "Keith E OHara" 

To: 
Sent: Tuesday, October 19, 2010 6:25 PM
Subject: Re: orchestral template, please comment


On Tue, 19 Oct 2010 09:00:55 -0700,  
wrote:



While all these suggestions are perfectly reasonable, let's not forget
after all this is a *template*.



Yep.  If any clear need comes to light from this discussion of the new 
spacing, let's make it an enhancement request to adjust the defaults.  My 
submission to LSR will not override the default spacing.y


I'm quite happy to have a point of interest that gets people looking at 
 and hopefully taking a moment 
to think if it would have helped them when they were new users.  (For a 
while there I though I might need to start a \transpose \transposition 
flame-war.)



___
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: \chordmode chords jumping about on PDF using Mac OSX

2010-10-20 Thread James Bailey

On Oct 20, 2010, at 6:20 PM, James wrote:

> Hello
> 
> I am using Mac OSX Snow Leopard (10.6.x) with LilyPond 2.13.35
> 
> Here is the smallest example I could get down to
> 
> --
> 
> \version "2.13.35"
> 
> RH = \relative c'' {
> \repeat unfold 30 { a8 a a a }
> }
> 
> LH = {
>\clef bass
>\repeat unfold 30 { a8 a a a }
> }
> 
> \score {
>\new PianoStaff
><<
> \chords { f1*5 bes :m }
> \new Staff  \RH
> \new Staff  \LH
>>>
> }
> 
> ---
> 
> The symptom is after each compile the chord symbols move 'randomly' up and 
> down on the next PDF output. No changes are made to the .ly file, the file is 
> just compiled again and the chord symbols move.
> 
> If I use
> 
> \chords { f1 bes :m } instead (as a test) then the jumping about isn't so 
> weird - that is it does still jump up and down but it seems to be consistent 
> - but it occurs every time I recompile.
> 
> All other notes in the score are fine.
> 
> I have attached a small screen-shot to show you what I mean, from left to 
> right is the output of the PDF after each compile.
> 
> There is no pattern I can see, occasionally I get a message about
> --
> 
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> programming error: insane spring min_distance requested, ignoring it
> continuing, cross fingers
> Layout output to `test.ps'...
> Converting to `./test.pdf'...
> 
> --
> 
> But there is no correlation to this message and the output.
> 
> Also I have tried this same file on Windows 7 and cannot (yet) get this to 
> occur.
> 
> regards
> 
> James


That is an awesome bug. I don't get the complaint about insane min spring 
distance, but I do get the jumping around. I wouldn't even know how to add this 
to the tracker. This also happens on 2.13.36, which is where I tested it.


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


Re: \chordmode chords jumping about on PDF using Mac OSX

2010-10-20 Thread Patrick Schmidt


Am 20.10.2010 um 18:20 schrieb James:


Hello

I am using Mac OSX Snow Leopard (10.6.x) with LilyPond 2.13.35

Here is the smallest example I could get down to

--

\version "2.13.35"

RH = \relative c'' {
 \repeat unfold 30 { a8 a a a }
}

LH = {
\clef bass
\repeat unfold 30 { a8 a a a }
}

\score {
\new PianoStaff
<<
 \chords { f1*5 bes :m }
 \new Staff  \RH
 \new Staff  \LH
>>
}

I haven't consulted the manuals but I think you shouldn't use \chords  
within a PianoStaff.


This works as expected (2.13.34):

\score {
<<
\chords { f1*5 bes :m }
\new PianoStaff
 \new Staff  \RH
 \new Staff  \LH
>>
}

HTH
patrick

---

The symptom is after each compile the chord symbols move 'randomly'  
up and down on the next PDF output. No changes are made to the .ly  
file, the file is just compiled again and the chord symbols move.


If I use

 \chords { f1 bes :m } instead (as a test) then the jumping  
about isn't so weird - that is it does still jump up and down but  
it seems to be consistent - but it occurs every time I recompile.


All other notes in the score are fine.

I have attached a small screen-shot to show you what I mean, from  
left to right is the output of the PDF after each compile.


There is no pattern I can see, occasionally I get a message about
--

Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
programming error: insane spring min_distance requested, ignoring it
continuing, cross fingers
Layout output to `test.ps'...
Converting to `./test.pdf'...

--

But there is no correlation to this message and the output.

Also I have tried this same file on Windows 7 and cannot (yet) get  
this to occur.


regards

James


___
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: \chordmode chords jumping about on PDF using Mac OSX

2010-10-20 Thread Patrick Schmidt


Am 20.10.2010 um 19:49 schrieb Patrick Schmidt:



Am 20.10.2010 um 18:20 schrieb James:


Hello

I am using Mac OSX Snow Leopard (10.6.x) with LilyPond 2.13.35

Here is the smallest example I could get down to

--

\version "2.13.35"

RH = \relative c'' {
 \repeat unfold 30 { a8 a a a }
}

LH = {
\clef bass
\repeat unfold 30 { a8 a a a }
}

\score {
\new PianoStaff
<<
 \chords { f1*5 bes :m }
 \new Staff  \RH
 \new Staff  \LH
>>
}

I haven't consulted the manuals but I think you shouldn't use  
\chords within a PianoStaff.


This works as expected (2.13.34):

\score {
<<
\chords { f1*5 bes :m }
\new PianoStaff
 \new Staff  \RH
 \new Staff  \LH
>>
}


Oops, I forgot the system brace:
\score {
  <<
\chords { f1*5 bes :m }
\new PianoStaff  <<
 \new Staff  \RH
 \new Staff  \LH
 >>
  >>
}


HTH
patrick

---

The symptom is after each compile the chord symbols move  
'randomly' up and down on the next PDF output. No changes are made  
to the .ly file, the file is just compiled again and the chord  
symbols move.


If I use

 \chords { f1 bes :m } instead (as a test) then the jumping  
about isn't so weird - that is it does still jump up and down but  
it seems to be consistent - but it occurs every time I recompile.


All other notes in the score are fine.

I have attached a small screen-shot to show you what I mean, from  
left to right is the output of the PDF after each compile.


There is no pattern I can see, occasionally I get a message about
--

Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
programming error: insane spring min_distance requested, ignoring it
continuing, cross fingers
Layout output to `test.ps'...
Converting to `./test.pdf'...

--

But there is no correlation to this message and the output.

Also I have tried this same file on Windows 7 and cannot (yet) get  
this to occur.


regards

James


___
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: problem with LSR 643

2010-10-20 Thread Valentin Villenave
On Wed, Oct 20, 2010 at 3:25 PM, Werner LEMBERG  wrote:
>
> The LSR 643 snippet gives a very nice function to append punctuation
> to an extender line.  However, using \extendComma to get
>  __ ,
> the depth of the comma glyph is cut while using lilypond-book if it
> happens that this particular extender line is the lower edge of the
> image, and if there are no other letters with descenders.  I suspect
> that for lyrics extenders, skyline computation is not taken into
> account, and this must be added somehow.  Any idea how to fix that?

I have an idea!
Let's open a tracker page! :-)

> PS: How can I find out who has written that snippet?

I'm pretty sure it was Neil:
http://lists.gnu.org/archive/html/lilypond-user/2009-10/msg00563.html

This snippet is pure bliss. I was seriously thinking about adding this
feature to LilyPond; if the issue you described is addressed, that is.

Cheers,
Valentin

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


Re: Lyrics inside the staff

2010-10-20 Thread Valentin Villenave
On Wed, Oct 20, 2010 at 9:47 AM, Jan-Peter Voigt  wrote:
> I did a short "hack" to place the lyrics on top/across the staff:

Very nice; would you consider adding it to the LSR?
http://lsr.dsi.unimi.it/LSR/html/contributing.html

Yours Pondly,
Valentin.

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


Re: alternative notation for tuplets (idea)?

2010-10-20 Thread Valentin Villenave
2010/10/20 Janek Warchoł :
> I've finally read all this and i'm still not convinced, because these
> dicsussions don't mention my idea at all (i suggest that numbers 3, 5, 6, 7,
> 9, 10, 11, 12, 13, 14, 15, 17 etc. should become valid durations, and work
> like the familiar 1, 2 , 4, 8, 16 etc.). Nevertheless, i think i should put
> this on hold (unless someone wants to discuss privately) - maybe my english
> is not good enough to explain this...

Your idea is interesting, but *very* un-LilyPond-ish in its logic. I
couldn't explain it better (and certainly not in English!), but maybe
in a few years you'll understand what I mean ;-)
You may think of LilyPond as a language (that is now almost 15-years
old, which is a long, long time). Of course, like every language, it
can evolve, but it evolves very slowly and everything that changes,
does so for a reason. A change like what you propose is quite a big
and sudden modification, which not everybody may feel comfortable
with.

Bernardo: for four years, I have never ever written \times 2/3 { },
since I read the following mail from Mats, and the snippet he posted:
http://lists.gnu.org/archive/html/lilypond-user/2007-01/msg00503.html
http://lsr.dsi.unimi.it/LSR/Item?id=328

What I use in my code is:
\t { c d e } instead of \times 2/3 { c d e }
\tt { c d e f g } instead of \times 4/5 { c d e f g }
\ttt { c d e f g a } instead of \times 4/6
\ttt { } instead of \times 4/7,
etc.

It is *very* quick to type. I mean, *very* *very* quick.

That's when I finally understood how powerful LilyPond really is, and
how foolish I was to ask the developers to adapt Lily to my needs,
where *I* could adapt it myself just the way I wanted.

GLHF
Valentin

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


Re: midi2ly extracting velocity

2010-10-20 Thread Valentin Villenave
On Wed, Oct 20, 2010 at 4:15 PM, zbigb  wrote:
> I'm looking for a way to extract velocity information from the midi file and
> use it for dynamic marking,
> is there any midi2ly guru here that can point to the best way to hack the
> code?

Sadly, we don't have any midi2ly guru anymore, and the midi2ly script
is barely maintained at all.


If you have a precise feature request in mind, you may send it to our
bug list: http://lilypond.org/bug-reports.html

If you're interested in hacking the code, maybe you'd be interested in
subscribing to our special MIDI mailing list on
http://lists.lilynet.net/midi/

(Yes, this is very much of a low-volume mailing list. But perhaps you
can help us with that :-)

Cheers,
Valentin

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


Re: \chordmode chords jumping about on PDF using Mac OSX

2010-10-20 Thread Valentin Villenave
On Wed, Oct 20, 2010 at 7:01 PM, James Bailey
 wrote:
>
> On Oct 20, 2010, at 6:20 PM, James wrote:
>> I am using Mac OSX Snow Leopard (10.6.x) with LilyPond 2.13.35
>> \version "2.13.35"
>>
>> RH = \relative c'' {
>>     \repeat unfold 30 { a8 a a a }
>> }
>>
>> LH = {
>>    \clef bass
>>    \repeat unfold 30 { a8 a a a }
>> }
>>
>> \score {
>>    \new PianoStaff
>>    <<
>>     \chords { f1*5 bes :m }
>>     \new Staff  \RH
>>     \new Staff  \LH
>>    >>
>> }
>>
>> ---
>>
>> The symptom is after each compile the chord symbols move 'randomly' up and 
>> down on the next PDF output. No changes are made to the .ly file, the file 
>> is just compiled again and the chord symbols move.

> That is an awesome bug. I don't get the complaint about insane min spring 
> distance, but I do get the jumping around. I wouldn't even know how to add 
> this to the tracker. This also happens on 2.13.36, which is where I tested it.

Very odd. Can't reproduce on GNU/Linux, the PDF compiles just fine here.

Can someone else reproduce it?

Cheers,
Valentin

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


Re: \chordmode chords jumping about on PDF using Mac OSX

2010-10-20 Thread Jan Warchoł
2010/10/20 Valentin Villenave 

>
> 2010/10/20 James .
>>
>> (...)
>> \version "2.13.35"
>>
>> RH = \relative c'' {
>> \repeat unfold 30 { a8 a a a }
>> }
>>
>> LH = {
>>\clef bass
>>\repeat unfold 30 { a8 a a a }
>> }
>>
>> \score {
>>\new PianoStaff
>><<
>> \chords { f1*5 bes :m }
>> \new Staff  \RH
>> \new Staff  \LH
>>>>
>> }
>>
>> Very odd. Can't reproduce on GNU/Linux, the PDF compiles just fine here.
>
> Can someone else reproduce it?


I've compiled this snippet 6 times with Lily 2.13.35 on Windows 7
professional 32-bit and every time the output was fine... I didn't notice
any warnings in log either.

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


using stored preferences with Lilypond

2010-10-20 Thread -Eluze

for the last years i have been using a self-made interface to Lilypond to
simplify the interaction from an editor (using key combinations like ctrl+f9
to produce a pdf score or ctrl+f10 to display the pdf score and many others
more) or from a command line (entering simple commands like ly png snippet
"test.ly"); it also takes care of your stored preferences.

now i think others might like to use it and therefore i make it public.

you can download it here  http://old.nabble.com/file/p30013980/ly.zip ly.zip 
unzip it and add the path of the folder whereto you unpack it to your path
variable and there you go. the ly.html file can give you some help! it works
under windows vista or xp (i did not have the opportunity to test it on
other platforms)

please feel free to comment!

Eluze


-- 
View this message in context: 
http://old.nabble.com/using-stored-preferences-with-Lilypond-tp30013980p30013980.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: fine-tuning Lyrics size

2010-10-20 Thread Valentin Villenave
On Wed, Oct 20, 2010 at 2:04 PM, Alexander Kobel  wrote:
> You can use decimal values (well, actually every real value if you really
> want to), and the default 'font-size for Lyrics is 1, not 0 (as would be
> expected).

> { c'4 c' c' c' }
> \addlyrics { Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'0.9 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'0.8 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #(sqrt (/ 1. 2)) Uh la la la}
> \addlyrics { \override LyricText #'font-size = #'0.7 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'0.6 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'0.5 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'0.4 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'0.3 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'0.2 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'0.1 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'0.0 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'-0.1 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'-0.2 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'-0.3 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'-0.4 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'-0.5 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'-0.6 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'-0.7 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'-0.8 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'-0.9 Uh la la la }
> \addlyrics { \override LyricText #'font-size = #'-1.0 Uh la la la }

Best. Score. Ever. :-D

Have you considered adding it to the LSR? I think it would be quite
useful. If you do (maybe in a slightly shorter version :), please add
the tags "Vocal" and "docs"; Trevor and I are precisely working on
this section of the docs.

Cheers,
Valentin

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


Re: using stored preferences with Lilypond

2010-10-20 Thread Valentin Villenave
On Wed, Oct 20, 2010 at 11:03 PM, -Eluze  wrote:
>
> for the last years i have been using a self-made interface to Lilypond to
> simplify the interaction from an editor (using key combinations like ctrl+f9
> to produce a pdf score or ctrl+f10 to display the pdf score and many others
> more) or from a command line (entering simple commands like ly png snippet
> "test.ly"); it also takes care of your stored preferences.

Interesting. Is it related to
http://news.lilynet.net/The-LilyPond-Report-21#outil_sommaire_6 ?

Cheers,
Valentin

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


Re: using stored preferences with Lilypond

2010-10-20 Thread -Eluze


Valentin Villenave-3 wrote:
> 
> 
> Interesting. Is it related to
> http://news.lilynet.net/The-LilyPond-Report-21#outil_sommaire_6 ?
> 
> Cheers,
> Valentin
> 
> 

not really - the only "relation" is that it is written in the same
"language" (it is a "simple" batch file, compiled so that users are not too
confused or induced to change parts of it…)

please have a look at the included html file which should reveal the basic
possibilities!

thanks!
Eluze

-- 
View this message in context: 
http://old.nabble.com/using-stored-preferences-with-Lilypond-tp30013980p30014244.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


Beam slope

2010-10-20 Thread Ralph Palmer
Greetings -

I'm currently using version 2.12.3. I've noticed that sometimes Lilypond
uses sloped beams, and sometimes uses level beams, in places that appear to
be almost identical. Specifically, see the snippet in the Learning Manual,
Section 1.1 Background => What symbols to engrave,
%ly snippet:
\sourcefileline 564
\include "engraver-example.ily"

The upper voice has 4 beamed 16th notes, and the beam is sloped. The lower
voice has a similar construction, and the beam is level. Any reason for
this? I prefer the sloped beams.

http://www.lilypond.org/doc/v2.12/Documentation/user/81/lily-ac7b5eb7.ly

Ralph

-- 
Ralph Palmer
Montague City, MA
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \chordmode chords jumping about on PDF using Mac OSX

2010-10-20 Thread James Worlton


On Oct 20, 2010, at 3:06 PM, Valentin Villenave wrote:


On Wed, Oct 20, 2010 at 7:01 PM, James Bailey
 wrote:


On Oct 20, 2010, at 6:20 PM, James wrote:

I am using Mac OSX Snow Leopard (10.6.x) with LilyPond 2.13.35
\version "2.13.35"

RH = \relative c'' {
\repeat unfold 30 { a8 a a a }
}

LH = {
   \clef bass
   \repeat unfold 30 { a8 a a a }
}

\score {
   \new PianoStaff
   <<
\chords { f1*5 bes :m }
\new Staff  \RH
\new Staff  \LH
   >>
}

---

The symptom is after each compile the chord symbols move  
'randomly' up and down on the next PDF output. No changes are  
made to the .ly file, the file is just compiled again and the  
chord symbols move.


That is an awesome bug. I don't get the complaint about insane min  
spring distance, but I do get the jumping around. I wouldn't even  
know how to add this to the tracker. This also happens on 2.13.36,  
which is where I tested it.


Very odd. Can't reproduce on GNU/Linux, the PDF compiles just fine  
here.


Can someone else reproduce it?



I compiled it several times (10+) and all of them came out looking  
the same. Mac OSX 10.4.11 PPC.


James Worlton





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


Re: \chordmode chords jumping about on PDF using Mac OSX

2010-10-20 Thread Valentin Villenave
On Thu, Oct 21, 2010 at 3:05 AM, James Worlton  wrote:
> I compiled it several times (10+) and all of them came out looking the same.
> Mac OSX 10.4.11 PPC.

Which implies that this doesn't affect all users running Mac OSX.

Or all users whose name is James.

Either way, that's a relief :-)

Cheers,
Valentin.

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


Re: Beam slope

2010-10-20 Thread Keith E OHara

On Wed, 20 Oct 2010 18:08:51 -0700, Ralph wrote:


I'm currently using version 2.12.3. I've noticed that sometimes Lilypond
uses sloped beams, and sometimes uses level beams, in places that appear to
be almost identical. Specifically, see the snippet in the Learning Manual,
Section 1.1 Background => What symbols to engrave,



I think you are noticing that the beam is level when the inner notes have the 
shorter stems :
\relative c' {d16 g g g  g d d d }

This is on purpose, and you might enjoy looking at the regression tests called 
beam-concave*.ly.  These might be in your installation 
/source/input/regression/, otherwise at
lilypond.org/doc/v2.12/input/
regression/collated-files.html
(Line break in the link because it's too big a file to fetch accidentally)
-Keith


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


how-to break lines before grace notes

2010-10-20 Thread Keith E OHara

I hesitate to admit this, but when I noticed that explicit line-breaks before grace notes 
were failing with "should you be using bar checks?", I searched the mailing 
list archives more thoroughly than I searched the manual.  The archives had nothing 
helpful, so I made up a solution . . . which seemed somehow familiar.

The friendly advice about grace notes and bar lines, applies to line breaks as 
well :
Notation Reference 1.2.6 Special rhythmic concerns - Grace notes, Acciaccatura, 
Appoggiatura
"Staff notation . . . are also synchronized [to grace notes].  Take care when you 
mix staves with grace notes and staves without . . .  This can be remedied by inserting 
grace skips of the corresponding durations in the other staves. "

 Either put the \break s in the staff with the grace notes, or put a 
synchronizing spacer grace in the voice with the \break s.

\relative c''{
<< \new Staff { e1\grace c16 d1 }
   \new Staff { s1 \break \grace s16 s1 }
}


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


Re: problem with LSR 643

2010-10-20 Thread Graham Percival
On Wed, Oct 20, 2010 at 03:25:57PM +0200, Werner LEMBERG wrote:
> 
> PS: How can I find out who has written that snippet?

I don't believe that there is any way.  It's just possible that
LSR keeps track of snippet authors, but I can't recall seeing
anything like that.

Cheers,
- Graham

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


Re: orchestral template, please comment

2010-10-20 Thread Graham Percival
On Wed, Oct 20, 2010 at 04:29:16PM +0100, Phil Holmes wrote:
> Now approved.  http://lsr.dsi.unimi.it/LSR/Item?id=719 .  This will
> mean deleting snippet 713, since I've renamed this.  I always like
> to check before doing that - anyone any problems with that deletion?

If the new one has exactly the same name as the previous one, and
the previous one is deleted, there shouldn't be any problem.

> I don't do this moving to git stuff, I'm afraid.

That's generally done by me or Neil.  It would be nice to have a
single dedicated person to do this, but that'll be a GOP task.

Cheers,
- Graham

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