Re: Newbie problems

2013-04-14 Thread Thomas Scharkowski



 Original-Nachricht 


Thomas Scharkowski  t-online.de> writes:


">>" (without quotes) is missing at the end of your code.


It's more likely that your mail reader interpreted ">>" as a quoted
line and didn't show it to you. The final ">>" came through just fine
for me.


Hi James,
you are right, I looked at the source of the mail - Thunderbird converts 
the >>.

Silly!

Thomas

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


Re: svg output

2013-04-14 Thread Bric


> On March 18, 2013 at 1:38 PM Eluze  wrote:
>
>
> Bric wrote
> >
> > lilypond -o outfile.svg -fsvg infile.ly
>
> please note that lilypond adds the extension automatically so probably you
> want to write
>
> lilypond -o outfile -dbackend=svg infile.ly
>
> Eluze
>

How hard would it be to enhance the svg export with robust svg element id's that
retain (at least SOME of) the original lilypond's note characteristics ??

instead of assigning anonymous generic inkscape object names (e.g.,
id="rect7306" ), have id's such as:





...
etc.

Maybe there's a category of elements that comprises both sounding notes and
rests?  I.e., "duration elements" ... in which case, perhaps, that should be
used instead of "note" above?

Also:




etc...

---

I thought about the svg grouping option, but that would be a more radical
revision than creating "smart" id's like above. Such id's would IMPLY grouping,
semantically.  The parsers could sort out and group elements much more easily,
it seams, actually adding the svg grouping, post factum, if need be.




>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/svg-output-tp137775p142987.html
> Sent from the User mailing list archive at Nabble.com.
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

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


Re: Newbie problems

2013-04-14 Thread James Harkins
Thomas Scharkowski  t-online.de> writes:

> ">>" (without quotes) is missing at the end of your code.

It's more likely that your mail reader interpreted ">>" as a quoted
line and didn't show it to you. The final ">>" came through just fine
for me.

> Also, I recommend using R1 instead of r1.

Yes -- for Peter's benefit: R1 will display the rest symbol centered
between the barlines. "r1" aligns the rest symbol with the first "note
column" in the measure.


Peter: FWIW, I could not reproduce the problem with lilypond exiting
early based on that input file. On my Linux machine, it does produce
the PDF (though I did have to change the \version statement to match
my installed version):

~~
Starting lilypond 2.16.1 [Untitled]...
Processing `/tmp/frescobaldi-4E1iGF/tmpDMpz69/document.ly'
Parsing...
Interpreting music...[8]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `document.ps'...
Converting to `./document.pdf'...
Success: compilation successfully completed
Completed successfully in 1.2".
~~

Unfortunately, I have no idea what the problem *is* but at least my
result seems to confirm that there is nothing wrong with the input
file.

hjh


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


Re: Newbie problems

2013-04-14 Thread Urs Liska




Phil Holmes  schrieb:

>Re: Newbie problemsDon't believe this is a good idea.  I have double
>clicking .ly files associated with running my own helper application -
>if it reverted to opening lilypad every time I installed a new version
>of lilypond, I'd be very annoyed.

Ok, but then it should be clearly documented.
Urs
>
>--
>Phil Holmes
>
>
>  - Original Message - 
>  From: Urs Liska 
>  To: lilypond-user@gnu.org 
>  Sent: Sunday, April 14, 2013 7:34 PM
>  Subject: Re: Newbie problems
>
>
>  Am 14.04.2013 19:27, schrieb Peter Toye:
>
>-
>
>> Federico Bruni  schrieb:
>
>
>   >>I think that you have to associate the .ly extension with Lilypad.
>
>That would seem to be the case. It's the sort of thing I'd expect the
>installation routine to do automatically.
>
>  Yes, indeed.
>Could someone else on Windows check this and send a bug-report if
>appropriate?
>
>  Best
>  Urs
>
>
>
>--
>
>
>  ___
>  lilypond-user mailing list
>  lilypond-user@gnu.org
>  https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Re: Newbie problems

2013-04-14 Thread Francisco Vila
2013/4/14 Urs Liska :
>>>I think that you have to associate the .ly extension with Lilypad.
>
> That would seem to be the case. It's the sort of thing I'd expect the
> installation routine to do automatically.
>
> Yes, indeed.
> Could someone else on Windows check this and send a bug-report if
> appropriate?

Last time I looked at it, on install under Windows, the .ly extension
was associated with the lilypond compiler executable and
double-clicking a document icon made the PDF to appear. It was a very
long time ago and I remember a .log file appeared, also (say, 2.11.x;
Archaeolilypondlogy.).

Whatever. I think this has some logic if you have nothing else but
lilypond installed. New programs you install could associate with
themselves, which has also some logic.
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: Frescobaldi fails on lilydev and RHEL Server 6.2 64 bits

2013-04-14 Thread Wilbert Berendsen
Op Sun, 14 Apr 2013 18:11:20 +0200
Jacques Menu  schreef:

> Having read that Frescobaldi is great, I tried it out, but here is
> what I observed. What did I miss?

I think PyQt4 is too old.

-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


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


Re: Newbie problems

2013-04-14 Thread Phil Holmes
Re: Newbie problemsDon't believe this is a good idea.  I have double clicking 
.ly files associated with running my own helper application - if it reverted to 
opening lilypad every time I installed a new version of lilypond, I'd be very 
annoyed.

--
Phil Holmes


  - Original Message - 
  From: Urs Liska 
  To: lilypond-user@gnu.org 
  Sent: Sunday, April 14, 2013 7:34 PM
  Subject: Re: Newbie problems


  Am 14.04.2013 19:27, schrieb Peter Toye:

-

> Federico Bruni  schrieb:


>>I think that you have to associate the .ly extension with Lilypad.

That would seem to be the case. It's the sort of thing I'd expect the 
installation routine to do automatically.

  Yes, indeed.
  Could someone else on Windows check this and send a bug-report if appropriate?

  Best
  Urs



--


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


Re: RemoveEmptyStaves and the ambitus_engraver

2013-04-14 Thread Roman Stawski
Janek Warchoł  gmail.com> writes:

> 
> On Mon, Apr 1, 2013 at 3:41 PM, Roman Stawski  stawski.fr> wrote:
> 
> Interesting.  If i were you, i'd place the skips inside MainSequence
> and have the ambitus appear at the very beginning, and keep that first
> system alive (which makes
> some sense in my opinion):
> 
>   \new Staff \relative c' {
> \clef treble
> \new MainSequence {
>   \skip 1*8
>   \repeat unfold 2 { e1 e'1 }
> }
>   }

Unfortunately, in the real piece that doesn't work so well. Ah well, I'll
try and find a work around...

Cześć

Roman


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


Re: Rests in TabVoice

2013-04-14 Thread Keith OHara
Peter Crighton  googlemail.com> writes:

> > Peter Crighton  googlemail.com> writes:
> >
> > > Hello there,
> > >
> > > would it be possible to attach rests in a TabVoice to a different
> > > line? At least whole and half rests look terribly vertically
> > > off-centered, especially in four-line staffs, and they would benefit
> > > from being attached one line lower.
> > > Other rests might appear too low then, but I would like to know if I
> > > at least can try this out to see what’s best.
> >

Peter,
  Maybe nobody answered your actual question.
You can try shifting the position of all the rests with
  \new TabStaff \with {
\override MultiMeasureRest #'staff-position = #1
\override Rest #'staff-position = #-1
  }

The bug report that Phil started is generating activity, including the
proposal to let the shorter rests center on a space, rather than on a
line.  This would be the output you get using version 2.16 with 
\override Rest #'staff-position = 0
but for the quarter and shorter rests only.  With the larger line-spacing
in the TabStaff, the lines barely clear the dots on a 16-rest.

The bug report is hungry for information about what high-quality engravers
of tablature do (because rests in tabalture are so rare).


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


Re: Newbie problems

2013-04-14 Thread David Kastrup
Peter Toye  writes:

>>>BTW, I recommend using Frescobaldi instead of Lilypad:
>>>http://frescobaldi.org/download
>
> Is this the right place to be recommending a rival product? I'll have
> a look. Thanks.

It's not a rival product.  Lilypad is just an add-on packaged with
LilyPond on some operating systems to get people started.  Frescobaldi
is a quite fuller IDE for editing and compiling LilyPond files, a bit
too large to throw it into our prepackaged stuff (and it has some
problems under MacOSX I think).

"Our" core product is LilyPond, not Lilypad.  Whether it is Lilypad or
Frescobaldi or Emacs or whatever else what makes you enjoy working with
LilyPond, nobody minds.

If you leave programs in control of writing LilyPond files (like
Denemo), people consider it so-so.  "So-so" is good, very good, very
excellent good.  And yet it is not: it is but so-so.

If you use a program other than LilyPond for the actual typesetting,
people bring out the torches.

But Frescobaldi?  That's good, very good.

-- 
David Kastrup


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


Re: sustain pedals way below staff

2013-04-14 Thread Derek
You are probably entirely correct on my mac I run 2.16 but on Linux it runs
2.14 and that is where I encountered the issue. Thanks for the heads up! 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/sustain-pedals-way-below-staff-tp144406p144464.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Newbie problems

2013-04-14 Thread Urs Liska

Am 14.04.2013 19:27, schrieb Peter Toye:

Re: Newbie problems -

> Federico Bruni  schrieb:


>>I think that you have to associate the .ly extension with Lilypad.

That would seem to be the case. It's the sort of thing I'd expect the 
installation routine to do automatically.

Yes, indeed.
Could someone else on Windows check this and send a bug-report if 
appropriate?


Best
Urs
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Newbie problems

2013-04-14 Thread Urs Liska

Am 14.04.2013 19:27, schrieb Peter Toye:

Re: Newbie problems -

>>BTW, I recommend using Frescobaldi instead of Lilypad:
>>http://frescobaldi.org/download

Is this the right place to be recommending a rival product? I'll have 
a look. Thanks.


It's not a rival product.

LilyPond is only a program for engraving music.
LilyPad is an editor as a frontend that is very basic and which is 
provided for your convenience.


I think everybody working seriously with LilyPond will use a more 
dedicated editor as a front end.

Frescobaldi is one of them.
See http://www.lilypond.org/easier-editing.html

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


Re: Newbie problems

2013-04-14 Thread Thomas Scharkowski

Hi Peter,

">>" (without quotes) is missing at the end of your code.
Also, I recommend using R1 instead of r1.

Thomas


 Original-Nachricht 


-
Sunday, April 14, 2013, 1:44:33 PM, you wrote:






Federico Bruni  schrieb:



2013/4/14 Peter Toye 


  Just starting to try out Lilypond, and finding a few problems in

getting

to work at all.

The OS is Windows 7, if that makes any difference.



which version of lilypond?


The latest download. 2.16.2 I think.





1) Double-clicking on a .ly file gets into Wordpad, and doesn't

compile

the file. To compile it I have to drag-and-drop the file onto the

Lilypond

icon on the desktop. This doesn't seem to conform to the

documentation.




I think that you have to associate the .ly extension with Lilypad.


That would seem to be the case. It's the sort of thing I'd expect the 
installation routine to do automatically.


BTW, I recommend using Frescobaldi instead of Lilypad:
http://frescobaldi.org/download


Is this the right place to be recommending a rival product? I'll have a look. 
Thanks.





2) Once it's compiled there's no output, just a log file without

errors

(see below).

# -*-compilation-*-
Processing `D:/Peter/Music/Lilypond/Warlock1.ly'
Parsing...
Interpreting music...[8]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...




can you see a pdf file here?
D:/Peter/Music/Lilypond/Warlock1.pdf


If "Drawing systems" really is the end of the output there's something wrong.


No, there's no PDF file. If there were, I wouldn't have commented!


Could you post your file?
Urs


see below. Nothing (I hope) too complex, until I get over the learning curve.





\version "2.16.2"  % necessary for upgrading to future LilyPond versions.

\header{
   title = "Lullaby"
   composer= "Peter Warlock"
   arranger="Peter Toye"
}

\language "english"

<<

\new Staff { \clef "treble" \key f \minor \time 4/4 \relative c''
 { r1 | af4 bf c f | ef8 df8 c4 df8 cf bf4 | c2 r |
   r1 | af4 bf c f | c8 bf af4 g8 f d4 | f2 r2 |
 }
   }

\new Staff { \clef "treble_8" \key f \minor \relative c'
 { r1 | f4 g4 af4 c4 | bf4 af2 g4 | af2 r2 |
   r1 | f4 g af bf | g f d d | c2 r2 |
 }
   }








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


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



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


Re: Newbie problems

2013-04-14 Thread Peter Toye
-
Sunday, April 14, 2013, 1:44:33 PM, you wrote:





> Federico Bruni  schrieb:

>>2013/4/14 Peter Toye 
>>
>>>  Just starting to try out Lilypond, and finding a few problems in
>>getting
>>> to work at all.
>>>
>>> The OS is Windows 7, if that makes any difference.
>>>
>>>
>>which version of lilypond?

The latest download. 2.16.2 I think.

>>
>>
>>> 1) Double-clicking on a .ly file gets into Wordpad, and doesn't
>>compile
>>> the file. To compile it I have to drag-and-drop the file onto the
>>Lilypond
>>> icon on the desktop. This doesn't seem to conform to the
>>documentation.
>>>
>>>
>>I think that you have to associate the .ly extension with Lilypad.

That would seem to be the case. It's the sort of thing I'd expect the 
installation routine to do automatically.

>>BTW, I recommend using Frescobaldi instead of Lilypad:
>>http://frescobaldi.org/download

Is this the right place to be recommending a rival product? I'll have a look. 
Thanks.

>>
>>
>>> 2) Once it's compiled there's no output, just a log file without
>>errors
>>> (see below).
>>>
>>> # -*-compilation-*-
>>> Processing `D:/Peter/Music/Lilypond/Warlock1.ly'
>>> Parsing...
>>> Interpreting music...[8]
>>> Preprocessing graphical objects...
>>> Finding the ideal number of pages...
>>> Fitting music on 1 page...
>>> Drawing systems...
>>>
>>>
>>
>>can you see a pdf file here?
>>D:/Peter/Music/Lilypond/Warlock1.pdf
>>
> If "Drawing systems" really is the end of the output there's something wrong.

No, there's no PDF file. If there were, I wouldn't have commented!

> Could you post your file?
> Urs

see below. Nothing (I hope) too complex, until I get over the learning curve.
>>
>>

\version "2.16.2"  % necessary for upgrading to future LilyPond versions.

\header{
  title = "Lullaby"
  composer= "Peter Warlock"
  arranger="Peter Toye"
}

\language "english"

<<

\new Staff { \clef "treble" \key f \minor \time 4/4 \relative c''
{ r1 | af4 bf c f | ef8 df8 c4 df8 cf bf4 | c2 r | 
  r1 | af4 bf c f | c8 bf af4 g8 f d4 | f2 r2 |
}
  }

\new Staff { \clef "treble_8" \key f \minor \relative c'
{ r1 | f4 g4 af4 c4 | bf4 af2 g4 | af2 r2 |
  r1 | f4 g af bf | g f d d | c2 r2 | 
}
  }

>>


>>
>>___
>>lilypond-user mailing list
>>lilypond-user@gnu.org
>>https://lists.gnu.org/mailman/listinfo/lilypond-user___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics both above and below the staff with splits?

2013-04-14 Thread Avi Drissman
I'm sorry; I was banging my head against this for so long that I just
emailed out of frustration.

So that's how you re-use a Lyrics. That works, but is a bit ugly in that
you have to create new voices over and over. So I tried re-using a voice
using that \context trick:

\version "2.16.1"

altonotes = \relative c' {
  fis2\p e | d cis | d cis | b
  << \new Voice = "altoone" { \voiceOne fis'8( a) b4~ | b a( fis d) | fis1 }
{ \voiceTwo fis2~ | fis4 e( cis8 b a4) | a1 } >> \oneVoice
  r4 d\f d4. fis8 | fis1 | r1 |
  << \context Voice = "altoone" { \voiceOne d8[^\markup { \italic "cresc.
poco a poco" } e] fis2.~( | fis2 e4.) }
{ \voiceTwo r1 | r2 cis8 d e } >> \oneVoice
  e8~ | e4
}

altowords = \lyricmode {
  cooled my head and warmed my heart
  doo __ doo __ on
  this road to -- night.
  Nev -- er run,
}
altoonewords = \lyricmode {
  doo __ doo __ doo __ on
  Car -- ry on, __
}

\score {
  \new ChoirStaff <<
\new Staff = "alto" <<
  \new Voice = "alto" <<
\altonotes
  >>
  \lyricsto "alto" \new Lyrics \altowords
  \lyricsto "altoone" \new Lyrics \with { alignAboveContext = alto }
\altoonewords
  \set Staff.instrumentName = A
>>
  >>
  \layout {}
}

But the words don't show up the second time. Must I create a new voice each
time and put in a new new \lyricsto for each split?

Thanks,

Avi


On Sun, Apr 14, 2013 at 6:11 AM, Thomas Morley <
thomasmorle...@googlemail.com> wrote:

> 2013/4/14 Avi Drissman :
> > I'm trying to type up a vocal piece. At several places, the part splits
> > (with completely different notes, rhythms, and lyrics), and returns to
> > unison. During the splits, I'd like the lyrics to go above the staff for
> the
> > high part, and below the staff for the low part.
> >
> > At first, I split using:
> >
> > << { ..notes.. } \\ { ..notes.. } >>
> >
> > When you do that, though, you get no lyrics. Bummer. So I started
> explicitly
> > specifying the second voice:
> >
> >   ..notes.. << { \voiceOne ..high notes.. }
> > \new Voice { \voiceTwo ..low notes.. } >> \oneVoice ..notes..
> >
> > Better, as you get your lyrics, but not ideal: the lyrics are attached to
> > high notes and are printed below the staff.
> >
> > Next attempt: explicitly name the voice. I went a little unorthodox here,
> > making the upper voice the new voice and making the lower voice continue
> the
> > original:
> >
> >   << \new Voice = "altoone" { \voiceOne ..notes.. }
> > { \voiceTwo ..notes.. } >> \oneVoice
> >
> > and added on the lyrics to that part:
> >
> > \new Staff = "alto" <<
> >   \new Voice = "alto" <<
> > \global
> > \altonotes
> >   >>
> >   \lyricsto "alto" \new Lyrics \altowords
> >   \lyricsto "altoone" \new Lyrics \with { alignAboveContext = alto }
> > \altoonewords
> >   \set Staff.instrumentName = A
> > >>
> >
> > which worked well. Awesome! But doing it a second time didn't get me
> lyrics
> > on the second split:
> >
> >   ..notes..
> >   << \new Voice = "altoone" { \voiceOne ..notes.. }
> > { \voiceTwo ..notes.. } >> \oneVoice
> >   ..notes..
> >   << \new Voice = "altoone" { \voiceOne ..notes.. }
> > { \voiceTwo ..notes.. } >> \oneVoice
> >   ..notes..
> >
> > The first instance of "altoone" was decorated with lyrics, but the second
> > instance didn't get any. So I thought that perhaps I needed to name the
> > voices differently:
> >
> >   ..notes..
> >   << \new Voice = "altoonei" { \voiceOne ..notes.. }
> > { \voiceTwo ..notes.. } >> \oneVoice
> >   ..notes..
> >   << \new Voice = "altooneii" { \voiceOne ..notes.. }
> > { \voiceTwo ..notes.. } >> \oneVoice
> >   ..notes..
> >
> > \new Staff = "alto" <<
> >   \new Voice = "alto" <<
> > \global
> > \altonotes
> >   >>
> >   \lyricsto "alto" \new Lyrics \altowords
> >   \lyricsto "altoonei" \new Lyrics \with { alignAboveContext = alto }
> > \altooneiwords
> >   \lyricsto "altooneii" \new Lyrics \with { alignAboveContext = alto
> }
> > \altooneiiwords
> >   \set Staff.instrumentName = A
> > >>
> >
> > But that doesn't work, as "altoonei" and "altooneii" are positioned at
> > different heights. I want one consistent position for all of the lyrics
> > above the staff.
> >
> > I'm stuck at this point, and am out of ideas. Any suggestions?
> >
> > Thanks,
> >
> > Avi
>
> Hi Avi,
>
> _please_ post a _compilable_ example!!
> I tend to ignore posts without compilable code. Or I have to make a guess:
>
>
> \version "2.16.2"
> mI = \relative c' { \repeat unfold 8 c'4 }
> mII = \relative c' { \repeat unfold 4 d2 }
>
> altowords = \lyricmode { \repeat unfold 10 foo }
> altoonewords = \lyricmode { \repeat unfold 8 bar }
>
> altonotes = \relative c' {
> <<
>   \context Voice = "altoonex" { \voiceOne \mI }
>   { \voiceTwo \mII }
> >>
> \oneVoice
> e1
>
> <<
>   \context Voice = "altoone" { \voiceOne \mI }
>   { \voiceTwo \mII }
>  

Re: sustain pedals way below staff

2013-04-14 Thread Keith OHara
Derek  shmerek.com> writes:

> Nevermind i think I sorted it wiht \override VerticalAxisGroup etc etc
> 

In case anybody else has the same problem, 
His output looked like version 2.14, so let's guess this was the bug
http://code.google.com/p/lilypond/issues/detail?id=2102, fixed for 2.16,
and that the workaround for version 2.14 was 
 \override VerticalAxisGroup #'staff-affinity = #UP
in the Dynamics line that held his pedal markings.
(We can also put pedal markings in the left-had staff.)



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


Frescobaldi fails on lilydev and RHEL Server 6.2 64 bits

2013-04-14 Thread Jacques Menu
Hello,

Having read that Frescobaldi is great, I tried it out, but here is what I 
observed. What did I miss?

Regards,

--

lilidev:

menu@lilydev:~/menumac/Downloads/frescobaldi-2.0.9 > python 
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 
menu@lilydev:~/menumac/Downloads/frescobaldi-2.0.9 > 

menu@lilydev:~/menumac/Downloads/frescobaldi-2.0.9 > ./frescobaldi
Traceback (most recent call last):
  File "./frescobaldi", line 3, in 
import frescobaldi_app.main
  File "/mnt/hgfs/menu/Downloads/frescobaldi-2.0.9/frescobaldi_app/main.py", 
line 40, in 
import guistyle # Setup GUI style
  File 
"/mnt/hgfs/menu/Downloads/frescobaldi-2.0.9/frescobaldi_app/guistyle.py", line 
48, in 
setStyle()
  File 
"/mnt/hgfs/menu/Downloads/frescobaldi-2.0.9/frescobaldi_app/guistyle.py", line 
40, in setStyle
style = QSettings().value("guistyle", "", type("")).lower()
TypeError: QSettings.value(QString, QVariant defaultValue=QVariant()): too many 
arguments

--

Some RHEL server:

jmenu@bellatrix:~/frescobaldi-2.0.9 > python
Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48) 
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 
jmenu@bellatrix:~/frescobaldi-2.0.9 > 

jmenu@bellatrix:~/frescobaldi-2.0.9 > ./frescobaldi
Traceback (most recent call last):
  File "./frescobaldi", line 3, in 
import frescobaldi_app.main
  File "/home/jmenu/frescobaldi-2.0.9/frescobaldi_app/main.py", line 40, in 

import guistyle # Setup GUI style
  File "/home/jmenu/frescobaldi-2.0.9/frescobaldi_app/guistyle.py", line 48, in 

setStyle()
  File "/home/jmenu/frescobaldi-2.0.9/frescobaldi_app/guistyle.py", line 40, in 
setStyle
style = QSettings().value("guistyle", "", type("")).lower()
TypeError: too many arguments to QSettings.value(), 2 at most expected

--

Jacques Menu
Ch. de la Pierre 12
1023 Crissier

mailto:jacques.m...@tvtmail.ch





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


Re: Newbie problems

2013-04-14 Thread Urs Liska




Federico Bruni  schrieb:

>2013/4/14 Peter Toye 
>
>>  Just starting to try out Lilypond, and finding a few problems in
>getting
>> to work at all.
>>
>> The OS is Windows 7, if that makes any difference.
>>
>>
>which version of lilypond?
>
>
>> 1) Double-clicking on a .ly file gets into Wordpad, and doesn't
>compile
>> the file. To compile it I have to drag-and-drop the file onto the
>Lilypond
>> icon on the desktop. This doesn't seem to conform to the
>documentation.
>>
>>
>I think that you have to associate the .ly extension with Lilypad.

While that's quite easy to fix on the user's pc I think especially the first 
start with LilyPond should exactly match the documentation.

So someone on a windows machine should check this and write a bug report if it 
turns out to be one.
Urs

>BTW, I recommend using Frescobaldi instead of Lilypad:
>http://frescobaldi.org/download
>
>
>> 2) Once it's compiled there's no output, just a log file without
>errors
>> (see below).
>>
>> # -*-compilation-*-
>> Processing `D:/Peter/Music/Lilypond/Warlock1.ly'
>> Parsing...
>> Interpreting music...[8]
>> Preprocessing graphical objects...
>> Finding the ideal number of pages...
>> Fitting music on 1 page...
>> Drawing systems...
>>
>>
>
>can you see a pdf file here?
>D:/Peter/Music/Lilypond/Warlock1.pdf
>
>
>
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Newbie problems

2013-04-14 Thread Urs Liska




Federico Bruni  schrieb:

>2013/4/14 Peter Toye 
>
>>  Just starting to try out Lilypond, and finding a few problems in
>getting
>> to work at all.
>>
>> The OS is Windows 7, if that makes any difference.
>>
>>
>which version of lilypond?
>
>
>> 1) Double-clicking on a .ly file gets into Wordpad, and doesn't
>compile
>> the file. To compile it I have to drag-and-drop the file onto the
>Lilypond
>> icon on the desktop. This doesn't seem to conform to the
>documentation.
>>
>>
>I think that you have to associate the .ly extension with Lilypad.
>BTW, I recommend using Frescobaldi instead of Lilypad:
>http://frescobaldi.org/download
>
>
>> 2) Once it's compiled there's no output, just a log file without
>errors
>> (see below).
>>
>> # -*-compilation-*-
>> Processing `D:/Peter/Music/Lilypond/Warlock1.ly'
>> Parsing...
>> Interpreting music...[8]
>> Preprocessing graphical objects...
>> Finding the ideal number of pages...
>> Fitting music on 1 page...
>> Drawing systems...
>>
>>
>
>can you see a pdf file here?
>D:/Peter/Music/Lilypond/Warlock1.pdf
>
If "Drawing systems" really is the end of the output there's something wrong.

Could you post your file?
Urs
>
>
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Re: Newbie problems

2013-04-14 Thread Federico Bruni
2013/4/14 Peter Toye 

>  Just starting to try out Lilypond, and finding a few problems in getting
> to work at all.
>
> The OS is Windows 7, if that makes any difference.
>
>
which version of lilypond?


> 1) Double-clicking on a .ly file gets into Wordpad, and doesn't compile
> the file. To compile it I have to drag-and-drop the file onto the Lilypond
> icon on the desktop. This doesn't seem to conform to the documentation.
>
>
I think that you have to associate the .ly extension with Lilypad.
BTW, I recommend using Frescobaldi instead of Lilypad:
http://frescobaldi.org/download


> 2) Once it's compiled there's no output, just a log file without errors
> (see below).
>
> # -*-compilation-*-
> Processing `D:/Peter/Music/Lilypond/Warlock1.ly'
> Parsing...
> Interpreting music...[8]
> Preprocessing graphical objects...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
>
>

can you see a pdf file here?
D:/Peter/Music/Lilypond/Warlock1.pdf
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Newbie problems

2013-04-14 Thread Peter Toye
Just starting to try out Lilypond, and finding a few problems in getting to 
work at all.

The OS is Windows 7, if that makes any difference.

1) Double-clicking on a .ly file gets into Wordpad, and doesn't compile the 
file. To compile it I have to drag-and-drop the file onto the Lilypond icon on 
the desktop. This doesn't seem to conform to the documentation.

2) Once it's compiled there's no output, just a log file without errors (see 
below).

# -*-compilation-*-
Processing `D:/Peter/Music/Lilypond/Warlock1.ly'
Parsing...
Interpreting music...[8]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
 
Regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: warning in midi

2013-04-14 Thread Urs Liska




Phil Holmes  schrieb:

>- Original Message - 
>From: "Eluze" 
>To: 
>Sent: Sunday, April 14, 2013 9:58 AM
>Subject: Re: warning in midi
>
>
>> MING TSANG wrote
>>>
>>>
>>> Here is the full code. The error log is copy below.
>>
>> hi Ming
>>
>> that's too much - and also some part missing!
>>
>> please try to reduce your code to the absolutely minimal size, voices
>and
>> instruments necessary to reproduce the error/warning (often this will
>be
>> only one measure of one voice)!
>>
>> does this warning come up when you compile the bass only?
>>
>> Eluze
>
>
>The meaning of the warning is normally exactly what it says.  The code 
>contains a cresc or dim, but no dynamic from which to start.  All
>that's 
>necessary is to put a dynamic marking before the cresc.  A performer
>would 
>have the same problem - "OK - you want me to get louder, but starting
>at 
>what volume?".
In theory, yes.
But practically a performer wouldn't even notice that but just start at some 
"giusto" dynamics and realize the crescendo as an expression. 
So I think it shouldn't issue a warning ...

>
>IIRC the latest development version sets a default volume, so the
>warning 
>isn't issued.
... but behave like this :-)
Urs

>
>--
>Phil Holmes 
>
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: enlarging default stem length

2013-04-14 Thread Thomas Morley
2013/4/14 Helge Kruse :

> I am looking for a way to get a larger minimum but keep the length of the
> stem in general. Unfortunately I found nothing to overwrite at
> http://lilypond.org/doc/v2.16/Documentation/internals/stem as well as I
> didn't find magstep there.

For beamed Stems try to play with the values of
\override Stem #'details #'beamed-minimum-free-lengths = #'(1.83 1.5 1.25)
The first value affects beamed 8th, the second 16th the last 32th and shorter.

magstep is a procedure defined in /scm/font.scm:

(define-public (magstep s)
  (exp (* (/ s 6) (log 2)))

affecting the argument `s´ with some calculations.


Cheers.
  Harm

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


Re: [Spam??] Re: enlarging default stem length

2013-04-14 Thread Trevor Daniels

Helge Kruse wrote Sunday, April 14, 2013 10:05 AM

> I am looking for a way to get a larger minimum but keep the length of 
> the stem in general. Unfortunately I found nothing to overwrite at 
> http://lilypond.org/doc/v2.16/Documentation/internals/stem as well as I 
> didn't find magstep there.

Have a look at http://lilypond.org/doc/v2.16/Documentation/internals/beam

It looks like overriding 'beamed-stem-shorten might help, assuming it's
only beamed stems that you'd like to lengthen.

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


Re: Suppress the header on first bookpart page

2013-04-14 Thread Thomas Morley
2013/4/14 Eluze :
> Helge Kruse-4 wrote
>> For each instrument I have a header. How I can I suppress the head line
>> for the pages with header. That's the first page of a bookpart?
>
> see /part-first-page/ in
> http://lilypond.org/doc/v2.16/Documentation/notation-big-page#custom-titles-headers-and-footers

IIUC, Helge wants no page-header (apart from the page-number?) on a
bookparts first page.
The link above is not sufficient, because `not-part-first-page´
doesn't work out of the box with "2.16.2" (it does with "2.17.15")

The needed definitions have to be written in the file:

\version "2.16.0"

 #(define (part-first-page? layout props)
   (= (chain-assoc-get 'page:page-number props -1)
  (ly:output-def-lookup layout 'first-page-number)))

 #(define (not-part-first-page layout props arg)
   (if (not (part-first-page? layout props))
   (interpret-markup layout props arg)
   empty-stencil))

\paper {
  oddHeaderMarkup = \markup \fill-line {
\on-the-fly #not-first-page
  \on-the-fly #not-part-first-page
\fromproperty #'header:composer
\on-the-fly #not-first-page
  \on-the-fly #not-part-first-page
\fromproperty #'header:title
\on-the-fly #not-first-page
  \on-the-fly #not-part-first-page
   \fromproperty #'header:instrument
\on-the-fly #print-page-number-check-first
  \fromproperty #'page:page-number-string
  }
  evenHeaderMarkup = \oddHeaderMarkup
}

\header {
  title = "Melancholia"
  composer = "The one who must not be named"
}

music = \relative c' { \repeat unfold 200 { c2 r4 r } }

\book {
  \bookpart {
\header { instrument = "Violino 1" }
\score { \music }
  }
  \bookpart {
\header { instrument = "Violino 2" }
\score { \music }
  }
}

HTH,
  Harm

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


Re: Lyrics both above and below the staff with splits?

2013-04-14 Thread Phil Holmes
How about something like:

\version "2.16.0"
{
  <<
\new Staff = "Song"
<<
  \new Voice = "Soprano" { s1 | \voiceOne  a'4 b'4 c''4 d''4 | \oneVoice  
s1 }
  \new Lyrics \with { alignAboveContext = Song } \lyricsto "Soprano" {  A 
-- bove the stave }
  \new Voice = "Alto" {  a'4 b'4 c''4 d''4  | \voiceTwo  c'4 d'4 e'4 f'4  | 
\oneVoice  a'4 b'4 c''4 d''4 }
  \new Lyrics \lyricsto "Alto" { U -- ni -- son words Be -- low the stave U 
-- ni -- son words }
>> % Staff end
  >>  % Group end
}

--
Phil Holmes


  - Original Message - 
  From: Avi Drissman 
  To: lilypond-user@gnu.org 
  Sent: Sunday, April 14, 2013 9:46 AM
  Subject: Lyrics both above and below the staff with splits?


  I'm trying to type up a vocal piece. At several places, the part splits (with 
completely different notes, rhythms, and lyrics), and returns to unison. During 
the splits, I'd like the lyrics to go above the staff for the high part, and 
below the staff for the low part.


  At first, I split using:


  << { ..notes.. } \\ { ..notes.. } >>


  When you do that, though, you get no lyrics. Bummer. So I started explicitly 
specifying the second voice:


..notes.. << { \voiceOne ..high notes.. }
  \new Voice { \voiceTwo ..low notes.. } >> \oneVoice ..notes..


  Better, as you get your lyrics, but not ideal: the lyrics are attached to 
high notes and are printed below the staff.


  Next attempt: explicitly name the voice. I went a little unorthodox here, 
making the upper voice the new voice and making the lower voice continue the 
original:


<< \new Voice = "altoone" { \voiceOne ..notes.. }
  { \voiceTwo ..notes.. } >> \oneVoice


  and added on the lyrics to that part:


  \new Staff = "alto" <<
\new Voice = "alto" <<
  \global
  \altonotes
>>
\lyricsto "alto" \new Lyrics \altowords
\lyricsto "altoone" \new Lyrics \with { alignAboveContext = alto } 
\altoonewords
\set Staff.instrumentName = A
  >>


  which worked well. Awesome! But doing it a second time didn't get me lyrics 
on the second split:


..notes..
<< \new Voice = "altoone" { \voiceOne ..notes.. }
  { \voiceTwo ..notes.. } >> \oneVoice
..notes..
<< \new Voice = "altoone" { \voiceOne ..notes.. }
  { \voiceTwo ..notes.. } >> \oneVoice
..notes..


  The first instance of "altoone" was decorated with lyrics, but the second 
instance didn't get any. So I thought that perhaps I needed to name the voices 
differently:


..notes..
<< \new Voice = "altoonei" { \voiceOne ..notes.. }
  { \voiceTwo ..notes.. } >> \oneVoice
..notes..
<< \new Voice = "altooneii" { \voiceOne ..notes.. }
  { \voiceTwo ..notes.. } >> \oneVoice
..notes..


  \new Staff = "alto" <<
\new Voice = "alto" <<
  \global
  \altonotes
>>
\lyricsto "alto" \new Lyrics \altowords
\lyricsto "altoonei" \new Lyrics \with { alignAboveContext = alto } 
\altooneiwords
\lyricsto "altooneii" \new Lyrics \with { alignAboveContext = alto } 
\altooneiiwords
\set Staff.instrumentName = A
  >>


  But that doesn't work, as "altoonei" and "altooneii" are positioned at 
different heights. I want one consistent position for all of the lyrics above 
the staff.


  I'm stuck at this point, and am out of ideas. Any suggestions?


  Thanks,


  Avi


--


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


Re: warning in midi

2013-04-14 Thread Phil Holmes
- Original Message - 
From: "Eluze" 

To: 
Sent: Sunday, April 14, 2013 9:58 AM
Subject: Re: warning in midi



MING TSANG wrote



Here is the full code. The error log is copy below.


hi Ming

that's too much - and also some part missing!

please try to reduce your code to the absolutely minimal size, voices and
instruments necessary to reproduce the error/warning (often this will be
only one measure of one voice)!

does this warning come up when you compile the bass only?

Eluze



The meaning of the warning is normally exactly what it says.  The code 
contains a cresc or dim, but no dynamic from which to start.  All that's 
necessary is to put a dynamic marking before the cresc.  A performer would 
have the same problem - "OK - you want me to get louder, but starting at 
what volume?".


IIRC the latest development version sets a default volume, so the warning 
isn't issued.


--
Phil Holmes 



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


Re: Lyrics both above and below the staff with splits?

2013-04-14 Thread Thomas Morley
2013/4/14 Avi Drissman :
> I'm trying to type up a vocal piece. At several places, the part splits
> (with completely different notes, rhythms, and lyrics), and returns to
> unison. During the splits, I'd like the lyrics to go above the staff for the
> high part, and below the staff for the low part.
>
> At first, I split using:
>
> << { ..notes.. } \\ { ..notes.. } >>
>
> When you do that, though, you get no lyrics. Bummer. So I started explicitly
> specifying the second voice:
>
>   ..notes.. << { \voiceOne ..high notes.. }
> \new Voice { \voiceTwo ..low notes.. } >> \oneVoice ..notes..
>
> Better, as you get your lyrics, but not ideal: the lyrics are attached to
> high notes and are printed below the staff.
>
> Next attempt: explicitly name the voice. I went a little unorthodox here,
> making the upper voice the new voice and making the lower voice continue the
> original:
>
>   << \new Voice = "altoone" { \voiceOne ..notes.. }
> { \voiceTwo ..notes.. } >> \oneVoice
>
> and added on the lyrics to that part:
>
> \new Staff = "alto" <<
>   \new Voice = "alto" <<
> \global
> \altonotes
>   >>
>   \lyricsto "alto" \new Lyrics \altowords
>   \lyricsto "altoone" \new Lyrics \with { alignAboveContext = alto }
> \altoonewords
>   \set Staff.instrumentName = A
> >>
>
> which worked well. Awesome! But doing it a second time didn't get me lyrics
> on the second split:
>
>   ..notes..
>   << \new Voice = "altoone" { \voiceOne ..notes.. }
> { \voiceTwo ..notes.. } >> \oneVoice
>   ..notes..
>   << \new Voice = "altoone" { \voiceOne ..notes.. }
> { \voiceTwo ..notes.. } >> \oneVoice
>   ..notes..
>
> The first instance of "altoone" was decorated with lyrics, but the second
> instance didn't get any. So I thought that perhaps I needed to name the
> voices differently:
>
>   ..notes..
>   << \new Voice = "altoonei" { \voiceOne ..notes.. }
> { \voiceTwo ..notes.. } >> \oneVoice
>   ..notes..
>   << \new Voice = "altooneii" { \voiceOne ..notes.. }
> { \voiceTwo ..notes.. } >> \oneVoice
>   ..notes..
>
> \new Staff = "alto" <<
>   \new Voice = "alto" <<
> \global
> \altonotes
>   >>
>   \lyricsto "alto" \new Lyrics \altowords
>   \lyricsto "altoonei" \new Lyrics \with { alignAboveContext = alto }
> \altooneiwords
>   \lyricsto "altooneii" \new Lyrics \with { alignAboveContext = alto }
> \altooneiiwords
>   \set Staff.instrumentName = A
> >>
>
> But that doesn't work, as "altoonei" and "altooneii" are positioned at
> different heights. I want one consistent position for all of the lyrics
> above the staff.
>
> I'm stuck at this point, and am out of ideas. Any suggestions?
>
> Thanks,
>
> Avi

Hi Avi,

_please_ post a _compilable_ example!!
I tend to ignore posts without compilable code. Or I have to make a guess:


\version "2.16.2"
mI = \relative c' { \repeat unfold 8 c'4 }
mII = \relative c' { \repeat unfold 4 d2 }

altowords = \lyricmode { \repeat unfold 10 foo }
altoonewords = \lyricmode { \repeat unfold 8 bar }

altonotes = \relative c' {
<<
  \context Voice = "altoonex" { \voiceOne \mI }
  { \voiceTwo \mII }
>>
\oneVoice
e1

<<
  \context Voice = "altoone" { \voiceOne \mI }
  { \voiceTwo \mII }
>>
\oneVoice
e1
}

\new Staff = "alto" <<
  \new Voice = "alto" <<
%\global
\altonotes
  >>
  \lyricsto "alto" \new Lyrics \altowords
  \new Lyrics = "lyr" \with { alignAboveContext = alto } \lyricsto
"altoonex"  \altoonewords
  \context Lyrics = "lyr" \with { alignAboveContext = alto }
\lyricsto "altoone"  \altoonewords
  \set Staff.instrumentName = A
>>

-Harm

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


Re: Suppress the header on first bookpart page

2013-04-14 Thread Eluze
Helge Kruse-4 wrote
> For each instrument I have a header. How I can I suppress the head line 
> for the pages with header. That's the first page of a bookpart?

see /part-first-page/ in
http://lilypond.org/doc/v2.16/Documentation/notation-big-page#custom-titles-headers-and-footers

hth
Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Suppress-the-header-on-first-bookpart-page-tp144419p144420.html
Sent from the User mailing list archive at Nabble.com.

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


Suppress the header on first bookpart page

2013-04-14 Thread Helge Kruse
I want to write all instrument's part in one book. I use a bookpart for 
each instrument. The headline should identify the piece, instrument and 
page to reduce the time for sort pages when all sheets dropped to the 
floor. ;-)


For each instrument I have a header. How I can I suppress the head line 
for the pages with header. That's the first page of a bookpart?


Regards
Helge

Example:

\version "2.16.0"

\paper {
  oddHeaderMarkup = \markup \fill-line {
\on-the-fly #not-first-page \fromproperty #'header:composer
\on-the-fly #not-first-page \fromproperty #'header:title
\on-the-fly #not-first-page \fromproperty #'header:instrument
\on-the-fly #print-page-number-check-first \fromproperty 
#'page:page-number-string

  }
  evenHeaderMarkup = \markup \fill-line {
\on-the-fly #not-first-page \fromproperty #'header:composer
\on-the-fly #not-first-page \fromproperty #'header:title
\on-the-fly #not-first-page \fromproperty #'header:instrument
\on-the-fly #print-page-number-check-first \fromproperty 
#'page:page-number-string

  }
}

\header {
  title = "Melancholia"
  composer = "The one who must not be named"
}

music = \relative c' { \repeat unfold 200 { c2 r4 r } }

\book {
  \bookpart {
\header { instrument = "Violino 1" }
\score { \music }
  }
  \bookpart {
\header { instrument = "Violino 2" }
\score { \music }
  }
}



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


Re: enlarging default stem length

2013-04-14 Thread Helge Kruse

Am 14.04.2013 10:05, schrieb Nick Payne:

On 14/04/13 17:49, Helge Kruse wrote:

I find that sometimes the notes looks clumsy. I think the length of
the stem is too short as in this example:

\version "2.16"

\score { \relative c { \clef bass
\times 4/6 { f,16 c f g a c }
\times 4/6 { a g f c f, c' } r2 |
}
}

I would like the stem length as in this example:

\score { \relative c { \clef bass
\once \override Beam #'positions = #'(2 . 3)
\times 4/6 { f,16 c f g a c }
\once \override Beam #'positions = #'(2.5 . 1.5)
\times 4/6 { a g f c f, c' } r2 |
}
}

I am reluctant to splatter this overrides all over the score. Can I
set this somehow with a general?


This does approximately what you want:

\score { \relative c { \clef bass
\override Stem.length-fraction = #(magstep 3)
\times 4/6 { f,16 c f g a c }
\times 4/6 { a g f c f, c' } r2 |
}
}
Ok, so I don't have to try the position values for the individual beams. 
That's an improvement. But when I set this globally it gives a bad look 
at other notes. It looks like that the reason for this behavior is that 
Lilypond tries to set the center of all beam lines at a specific point. 
Only when the distance between the note head a the closest line is less 
a minimum the beam is move a bit away.


You can see this in this example (measures 2 and 4). Without the changed 
length-fraction the middle of the beam has always the same Y-position.


\score {
  \relative c {
\clef bass
c8 e c e
c16 e c e c e c e |
c8 e c e
c32 e c e c e c e c e c e c e c e
\override Stem #'length-fraction = #(magstep 3)
c8 e c e
c16 e c e c e c e |
c8 e c e
c32 e c e c e c e c e c e c e c e
  }
}

I am looking for a way to get a larger minimum but keep the length of 
the stem in general. Unfortunately I found nothing to overwrite at 
http://lilypond.org/doc/v2.16/Documentation/internals/stem as well as I 
didn't find magstep there.


Regards
Helge

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


Re: warning in midi

2013-04-14 Thread Eluze
MING TSANG wrote
>   
> 
> Here is the full code. The error log is copy below.

hi Ming

that's too much - and also some part missing!

please try to reduce your code to the absolutely minimal size, voices and
instruments necessary to reproduce the error/warning (often this will be
only one measure of one voice)!

does this warning come up when you compile the bass only?

Eluze




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/warning-in-midi-tp144400p144417.html
Sent from the User mailing list archive at Nabble.com.

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


Lyrics both above and below the staff with splits?

2013-04-14 Thread Avi Drissman
I'm trying to type up a vocal piece. At several places, the part splits
(with completely different notes, rhythms, and lyrics), and returns to
unison. During the splits, I'd like the lyrics to go above the staff for
the high part, and below the staff for the low part.

At first, I split using:

<< { ..notes.. } \\ { ..notes.. } >>

When you do that, though, you get no lyrics. Bummer. So I started
explicitly specifying the second voice:

  ..notes.. << { \voiceOne ..high notes.. }
\new Voice { \voiceTwo ..low notes.. } >> \oneVoice ..notes..

Better, as you get your lyrics, but not ideal: the lyrics are attached to
high notes and are printed below the staff.

Next attempt: explicitly name the voice. I went a little unorthodox here,
making the upper voice the new voice and making the lower voice continue
the original:

  << \new Voice = "altoone" { \voiceOne ..notes.. }
{ \voiceTwo ..notes.. } >> \oneVoice

and added on the lyrics to that part:

\new Staff = "alto" <<
  \new Voice = "alto" <<
\global
\altonotes
  >>
  \lyricsto "alto" \new Lyrics \altowords
  \lyricsto "altoone" \new Lyrics \with { alignAboveContext = alto }
\altoonewords
  \set Staff.instrumentName = A
>>

which worked well. Awesome! But doing it a second time didn't get me lyrics
on the second split:

  ..notes..
  << \new Voice = "altoone" { \voiceOne ..notes.. }
{ \voiceTwo ..notes.. } >> \oneVoice
  ..notes..
  << \new Voice = "altoone" { \voiceOne ..notes.. }
{ \voiceTwo ..notes.. } >> \oneVoice
  ..notes..

The first instance of "altoone" was decorated with lyrics, but the second
instance didn't get any. So I thought that perhaps I needed to name the
voices differently:

  ..notes..
  << \new Voice = "altoonei" { \voiceOne ..notes.. }
{ \voiceTwo ..notes.. } >> \oneVoice
  ..notes..
  << \new Voice = "altooneii" { \voiceOne ..notes.. }
{ \voiceTwo ..notes.. } >> \oneVoice
  ..notes..

\new Staff = "alto" <<
  \new Voice = "alto" <<
\global
\altonotes
  >>
  \lyricsto "alto" \new Lyrics \altowords
  \lyricsto "altoonei" \new Lyrics \with { alignAboveContext = alto }
\altooneiwords
  \lyricsto "altooneii" \new Lyrics \with { alignAboveContext = alto }
\altooneiiwords
  \set Staff.instrumentName = A
>>

But that doesn't work, as "altoonei" and "altooneii" are positioned at
different heights. I want one consistent position for all of the lyrics
above the staff.

I'm stuck at this point, and am out of ideas. Any suggestions?

Thanks,

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


Re: enlarging default stem length

2013-04-14 Thread Nick Payne

On 14/04/13 17:49, Helge Kruse wrote:
I find that sometimes the notes looks clumsy. I think the length of 
the stem is too short as in this example:


\version "2.16"

\score { \relative c { \clef bass
\times 4/6 { f,16 c f g a c }
\times 4/6 { a g f c f, c' } r2 |
   }
}

I would like the stem length as in this example:

\score {  \relative c { \clef bass
\once \override Beam #'positions = #'(2 . 3)
\times 4/6 { f,16 c f g a c }
\once \override Beam #'positions = #'(2.5 . 1.5)
\times 4/6 { a g f c f, c' } r2 |
  }
}

I am reluctant to splatter this overrides all over the score. Can I 
set this somehow with a general?


This does approximately what you want:

\score { \relative c { \clef bass
\override Stem.length-fraction = #(magstep 3)
\times 4/6 { f,16 c f g a c }
\times 4/6 { a g f c f, c' } r2 |
   }
}


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


enlarging default stem length

2013-04-14 Thread Helge Kruse
I find that sometimes the notes looks clumsy. I think the length of the 
stem is too short as in this example:


\version "2.16"

\score { \relative c { \clef bass
\times 4/6 { f,16 c f g a c }
\times 4/6 { a g f c f, c' } r2 |
   }
}

I would like the stem length as in this example:

\score {  \relative c { \clef bass
\once \override Beam #'positions = #'(2 . 3)
\times 4/6 { f,16 c f g a c }
\once \override Beam #'positions = #'(2.5 . 1.5)
\times 4/6 { a g f c f, c' } r2 |
  }
}

I am reluctant to splatter this overrides all over the score. Can I set 
this somehow with a general?


Regards
Helge


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


enlarging default stem length

2013-04-14 Thread Helge Kruse
I find that sometimes the notes looks clumsy. I think the length of the 
stem is too short as in this example:


\version "2.16"

\score { \relative c { \clef bass
\times 4/6 { f,16 c f g a c }
\times 4/6 { a g f c f, c' } r2 |
   }
}

I would like the stem length as in this example:

\score {  \relative c { \clef bass
\once \override Beam #'positions = #'(2 . 3)
\times 4/6 { f,16 c f g a c }
\once \override Beam #'positions = #'(2.5 . 1.5)
\times 4/6 { a g f c f, c' } r2 |
  }
}

I am reluctant to splatter this overrides all over the score. Can I set 
this somehow with a general?


Regards
Helge


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