Re: incipit index help

2005-10-11 Thread Mats Bengtsson

I don't understand what Donald talked about. The syntax for
a \score{...} block is
\score{
 music_expression
 optional_layout_block
 optional_midi_block
 optional_header_block
}
and as soon as you have more than a single note, the music expression
is formed by including several notes within curly braces, for example
\score{
{c d e f}
}

(of course, if you have several simultaneous staves/voices, then the
top level music_expression is << ... >> so the score block looks like
\score{<< ... >> }).

As long as you follow this structure, there's no limit to how many 
\score{...}

blocks you can have in a single file.

LilyPond does actually specify which of your score blocks has a problem
if you look at the line numbers in the error message. The problematic
score block is

\score {
{
 \set Staff.midiInstrument = "oboe"
   \time 4/4
   \key e \minor
   \clef treble

   \partial 8 b8 
	e'2 g'8 e' b e' |

g'4 g'8. a'16 g'2\grace e'8  |
g'2 a'8 g' e' g' |
a'4. b'8 a'2 |
%5
a'4 b'\prall  g'2 |
g'4 a'\prall  e'2 \grace e'8  |
a'4 a'  g'8. fis'16 e'8. fis'16 |
g'2 \afterGrace b2
   }
}

Unfortunately, the error message doesn't point out exactly what the
problem is, but if you look carefully, you will notice that the snippet
ends with an incomplete \afterGrace command. LilyPond expects the
grace note to come after the b2 and gets confused when it instead finds
a right-hand curly brace. Just include the grace note as well and everything
should work without problems.

  /Mats


Aaron Mehl wrote:


Hi all,
A friend of mine who is a python person wrote a script
to create and index file from aprox the first 25 notes
of each lilypond file in a directory and dump them
into a lilypond file.

There are some problems such as what to do with
\repeats and \breaks but I resolved to edit the
resulting file manually.

my attempt at this has failed because I keep getting
an error that my {} aren't matching.
But look as hard as I can I just can't catch the
error.

If anyone is interested in the script I can post it to
a site on the net.

but here is the file that it generated after I removed
the repeats and breaks.

\version "2.7.6"

\paper {
 #(define dump-extents #t)

 linewidth = 160\mm
 indent = 0\mm
}
#(set-global-staff-size 14 )
\layout { raggedright = ##t }


\score {
{
 \set Staff.midiInstrument = "oboe"
   \time 4/4
   \key e \minor
   \clef treble

   \partial 8 e'8
a'4 gis'8 f' e'4. e'8 |
gis'16 gis'8. ~ gis'4. e'8 gis' b' |
\time 3/4 a' gis' f'4. e'8 |
%5
d'2 r8 e'  |
\time 4/4 a'4. b'8 c''4 b'8 a' |
\time 3/4 gis'2. |
\time 4/4 a'4. b'8 c'' b' d''16 c'' b' a' |
gis'4. f'8 e'4. e'8 |
%10
e' f' gis'4
   }
}
\score {
{
 \set Staff.midiInstrument = "oboe"
   \time 4/4
   \key e \minor
   \clef treble

   b4 b\override Script #'padding = #1  dis'\turn c'8
b |
e'1 |
fis'4 g' a' fis' |
g'1 |
%5
fis'4 g'8 a' g'4 fis' |
	e'1 
	e'4 fis'8 g' fis'4 e'|

dis'1|
b4 b dis'\turn cis'8 dis'|
%10
	e'1  
	b4 b dis'\turn c'8 b |

e'1\grace e'8 |
fis'4 g' a' fis' |
g'1\grace g'8 |
%15
fis'4 g'8
   }
}
\score {
{
 \set Staff.midiInstrument = "oboe"
   \time 4/4
   \key e \minor
   \clef treble

   b8 e' g' b' ais' b' g' b' |
ais' b' g' b' a' g' fis' e' |
r d'' cis'' b' ais' g' fis' e' |
ais' cis'' b'2. |
%5
r8 e' g' b' ais' b' g' b' |
ais' b' g' b' a' g' fis' e' |
r g' a' b' a' g' fis' e' |
fis' g' e'2 ~ e'8 b' |

%repeat goes here
e''4. d''8\prall e''4. d''8\prall |

%10
\time 4/4 g'' fis'' e''4. d''8 cis'' d'' |
\time 3/4 e'' d'' cis''4. b'8 |
cis'' b' ais'4. g'8 |
\time 4/4 ais' b' cis'' b' ais'\prall g' fis' e' |
%firstending
ais' cis'' b'2.
%15
e''4. d''8\prall e''4. d''8\prall |

%10
\time 4/4 g'' fis'' e''4. d''8 cis'' d'' |
\time 3/4 e'' d'' cis''4. b'8 |
cis'' b' ais'4. g'8
   }
}
\score {
{
 \set Staff.midiInstrument = "oboe"
   \time 4/4
   \key e \minor
   \clef treble

   \partial 8 b8 
	e'2 fis'16 e'8. fis'16 e'8.\grace e'8 |

dis'4. dis'8 b2 |
dis'16 b8. g'16 fis'8.\turn e'4. b16 b16  |
%5
\time 3/4 e'4 e'2 |
\time 4/4 fis'16 e'8. fis'16 e'8. dis'4 b4
   }
}
\score {
{
 \set Staff.midiInstrument = "oboe"
   \time 4/4
   \key e \minor
   \clef treble

   \partial 8 b8 |
g'4 e' e' e'8\tenuto b |
g'4 e'4 e'8 fis'16 e'16 dis'8 b8 |
dis'8 fis'  e'2 b4 |
%5
	g' fis'8 e' fis'4 dis'8 b 
	dis' fis' e'2 b'4 
	ais'8. cis''16  b'4 b' b'8. b'16 |

ais'8. cis''16
   }
}
\score {
{
 \set Staff.midiInstrument = "oboe"
   \time 4/4
   \key e \minor
   \clef treble

   \partial 8 d''8 |
d''8\override Script #'padding = #1 g''8\fermata r8
d''8 \grace { b'16([ c''16 d''16 e''16 ]) } d''4. b'8
|
\times 2/3 {b'8 d''8 c''8 } b'4. a'8 g'4 |
\grace d''8 

Re: Repeats and rehearsal mark in drummode music

2005-10-11 Thread Mats Bengtsson



Abbey Lincoln-GLMA001 wrote:


I just started using LilyPond to notate drumset music.  It's working
very well for me so far.  But I can't figure out how to do two things:
 
 1. Put a rehearsal mark at the beginning of the first bar ("[A]"), and


Just add the \mark command before the first note!


 2. Put the bars between repeat symbols ("|:" and ":|")


Why not use the ordinary mechanism for repeats?

One example of the above is to rewrite your score block into

   \new DrumStaff <<
   \time 4/4
   \mark \default
   \new DrumVoice { \voiceOne \repeat volta 2 \threeSingleF }
   \new DrumVoice { \voiceTwo \repeat volta 2 \bdSingleFHhFour }
   >>

  /Mats


Here some representative LilyPond code I'd like to be able to do these
things to:
 
\version "2.6.3"

threeSingleF = \drummode {
cymr16-> sn cymr 
cymr16-> sn cymr 
cymr16-> sn cymr 
cymr16-> sn cymr 
}
bdSingleFHhFour = \drummode {
8 bd
8 bd
8 bd
8 bd
}
\new DrumStaff <<
\time 4/4
\new DrumVoice { \voiceOne \threeSingleF \threeSingleF }
\new DrumVoice { \voiceTwo \bdSingleFHhFour \bdSingleFHhFour }
>>
 
Would you be able to give me the syntax for those two things?
 
Thanks very much,
 
Lincoln Abbey

Chicago, Illinois, USA



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



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Completing the Lilypond puzzle

2005-10-11 Thread Joe Neeman

I'm afraid I can't help with all of the issues, but I can give you a start:




 latest attempt --
\version "2.6.0"

\paper {
hsize = 21\cm
vsize = 27.5\cm
leftmargin = 2\cm
linewidth = 17\cm
topmargin = 1\cm
bottommargin = 0\cm
printpagenumber = ##f


Not only does this leave the page numbers, it makes the first system on 
odd/even pages start at a different Y-offset. Bug?





\score {
\new PianoStaff \with {
% \override TimeSignature #’transparent = ##t
% defaultBarType = #""
%% the two lines above cause output generation to fail completely
%% despite having been suggested by the manual.


You have the wrong kind of apostrophe in the "#'transparent". This 
probably happened if you copy+pasted from a pdf: the pdf files try to 
make the output prettier by substituting a different symbol for 
apostrophes (the issue has come up previously on this list).



\remove Bar_number_engraver


This is wrong because Bar_number_engraver is part of the Score context, 
not the PianoStaff context. This stuff is pretty complicated, but the 
information is all available in the web documentation. The 
Bar_number_engraver page 
[http://lilypond.org/doc/v2.6/Documentation/user/out-www/lilypond-internals/Bar_005fnumber_005fengraver.html#Bar_005fnumber_005fengraver] 
says which contexts it belongs to. I would suggest turning the layout 
block into

\layout {
indent = 0.0\cm
\context {
\Score
\remove Bar_number_engraver
}
}
to get rid of bar numbers.

Hope that helps a little,
Joe


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


Re: Completing the Lilypond puzzle

2005-10-11 Thread Erik Sandberg
On Sunday 09 October 2005 14.46, lars prins wrote:
> Lilypond can do everything and lilypond is for everybody.
> Yet, I don't seem to be part of this equation somehow.
>
> I am getting very frustrated to get Lilypond to do the
> simplest thing, to create a PDF file with 4 pages of empty
> piano sheet music that I can use to jot notes on. That
> shouldn't be too difficult right? But how do all these little
> fragments of the Lilypond manual fit together?
>
> I need the \PianoStaff to get the braces I guess.
> I need \skip to get empty sheet music.
> I need some paper control for margins etc.
> I want to suppress indenting of the first system.
> I don't want page numbers
> I don't want bar numbers
> I don't want the big 'C' to appear
> All I want is 4 pages of empty piano systems with a
> trebble and bass clef.
>
> After having spent about 8 hours in total during the last
> week, I am running out of permutations to try. This is
> after about 3 previous attempts the last years to get
> into Lilypond. This time, it started to look very promising.
>
> However, especially the various possible combinations of
> new, context, staff, pianostaff and score (some working,
> some don't), puzzle me. I guess it is all there in the manual,
> but I can't put it together.

Lilypond isn't mainly a 'musical symbol drawing program'. It's a program that 
knows about nice conventions for music formatting. If you want something 
outside this, then it's likely that lilypond isn't what you want.

I think the easiest way for you, should be to create 3 pages of skips, output 
it to a .svg output file, open it in Inkscape, throw away the first and last 
page, erase everything you don't want, and print out that in four copies. 
It's possible to do in other ways, but I think using Inkscape is the easiest 
solution in your case.

> If the learning curve is really this steep, I'm affraid that Lilypond
> will stay reserved for that rare combination of Unix programmer
> and Music enthousiast. Personally I'm more interested in working
> with music than with notation tools per se. I really appreciate
> the effort that has gone in Lilypond, and a non-profit effort
> at that, 
(btw: the nice thing is about freedom/openness, not about non-profit. One of 
us makes enough profit on LilyPond, to make a living on it)

-- 
Erik


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


Re: 2.6.3 on debian

2005-10-11 Thread Jan Nieuwenhuizen
D. Josiah Boothby writes:

> I just installed 2.6.3 from source on Debian Sarge/Sid. I didn't have
> any problems, though I did not try to make the documentation. I am
> interested in making a debian package, but am a little intimidated by
> that whole process. Hints are needed and encouragement is welcome :)

Have you seen

http://lilypond.org/web/devel/packaging

Caveat: the information is probably outdated.

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


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


Re: 2.6.3 on debian

2005-10-11 Thread Gilles
Hi!

> I just installed 2.6.3 from source on Debian Sarge/Sid. I didn't have any 
> problems, though I did not try to make the documentation. I am interested 
> in making a debian package, but am a little intimidated by that whole 
> process. Hints are needed and encouragement is welcome :)

As stated in a previous post, I'm willing to help with this.
I followed the instructions on the "packaging" page, but it didn't
work through, even without trying to build the documentation.


Best,
Gilles


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


Re: BIG problem

2005-10-11 Thread Han-Wen Nienhuys

P B wrote:
I have the following file that simply will NOT compile.  I've done it 
on two separate machines and re-installed LilyPond twice; it keeps 
crashing.


Any particular idea why?




It has something to do with your use of \autochange, you're probably 
using the wrong name for the staves. I've fixed the crash in CVS.


I removed the \autochange tags and it worked; however, I NEED to 
cross-staff in order to retain the original print integrity (i.e., 
that's what it looks like in the original).  So, what is the proper use 
of the \autochange tag based on what I was trying to do?


I recommend you read our Fine Manual more carefully.

--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: Completing the Lilypond puzzle

2005-10-11 Thread Sven Axelsson
On 09/10/05, lars prins <[EMAIL PROTECTED]> wrote:
Lilypond can do everything and lilypond is for everybody.Yet, I don't seem to be part of this equation somehow.I am getting very frustrated to get Lilypond to do thesimplest thing, to create a PDF file with 4 pages of empty
piano sheet music that I can use to jot notes on. Thatshouldn't be too difficult right? No, it isn't very difficult. But I agree with you, the first step tolearning Lilypond is fairly steep. Now for your problem - here's
how I would do a bunch of blank sheets for piano music:pages = {  % 4 pages with 6 systems each \repeat unfold 24 { s1 \break }}\new PianoStaff <<  \new Staff {\clef treble \pages}
  \new Staff {\clef bass \pages}>> \layout {  indent = 0.0\cm  \context {    \Score    % Remove things we don't need.    \remove Bar_number_engraver    \remove Bar_engraver
    \remove Time_signature_engraver  }}\paper {  % Tweak the dimensions so the desired number of systems fit.  hsize = 21\cm  vsize = 27.5\cm  leftmargin = 2\cm  linewidth = 17\cm  topmargin = 
0.5\cm  bottommargin = 0\cm  % Set all of these to empty, else Lilypond will use them in  % the layout and that might mess up formatting.  tagline = ""  bookTitleMarkup = ""  scoreTitleMarkup = ""
  oddHeaderMarkup = ""  evenHeaderMarkup = ""}-- Sven Axelsson
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tie between voices

2005-10-11 Thread Edward Neeman
I'm afraid it's impossible to tie notes between
voices.  From your example I think you want something
like this:

8.-> 
<<
 {\voiceOne 16~ c'4~ c4.} 
 \new Voice
 {\voiceTwo \stemUp 4*1/4~ 
 \stemDown 8 8~ 8. 16 r8} 
>> 
\oneVoice
d32( c32 bf32 a32 | bf2->)~

I've made the  in voice Two a crochet to avoid
hiding the flag.  I think the r8 is probably part of
voice Two to match the dotted crochet in the top
voice.  Taking it out shouldn't change anything
though.

Cheers,
Edward Neeman

--
Alex Melhuish wrote:
Hello,

I hope you can help me. I'm trying to typeset a piano
score - Gershwin
actually :).

I've come across a bar where the first chord slurs
into the next,
which LilyPond handles fine. This second chord then
ties to another
identical chord. However, the top note of this chord
breaks off into a
second voice (where the bottom notes of the chord are
quavers (eighth
notes), this note is a crotchet (quarter note)).
No matter what I try, I cannot get LilyPond to tie
from the first
chord to the second, which is actually broken across
two voices. How
should I be doing this?
Here's the code in question:
8.-> 16 << {c'4~ c4.} \\ {8
8~ 8.
16} >> r8 d32( c32 bf32 a32 | bf2->)~

As you can see, I've added ties to each note in the
chord. Previously,
I've tried tying the whole chord (16~...); this
also didn't
work. The other problem I have with this is that
LilyPond insists on
adding an additional 'r8' after the polyphony. I have
no idea how it's
adding together note values for these two bars!

Please help me,
--
Alex Melhuish



 
Do you Yahoo!? 
The New Yahoo! Movies: Check out the Latest Trailers, Premiere Photos and full 
Actor Database. 
http://au.movies.yahoo.com


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


Re: Completing the Lilypond puzzle

2005-10-11 Thread Mats Bengtsson

Did you read the section on "Blank Music Sheet" in the
manual? It answers how to get rid of bar numbers and
the time signature.

Also, as has already been pointed out, the normal use of LilyPond
is to typeset actual music, so you should not consider your example
"the simplest thing".

For the page numbers, I think this was a bug in version 2.6.0 that
was fixed in 2.6.1. Version 2.6.3 is available for Windows, so I
recommend you to upgrade.

I have sent a bug report on the problem that you get different number
of systems on different pages. The easiest solution for you should be
to make a single page and print out several copies of that.

/Mats

lars prins wrote:


Lilypond can do everything and lilypond is for everybody.
Yet, I don't seem to be part of this equation somehow.

I am getting very frustrated to get Lilypond to do the
simplest thing, to create a PDF file with 4 pages of empty
piano sheet music that I can use to jot notes on. That
shouldn't be too difficult right? But how do all these little
fragments of the Lilypond manual fit together?

I need the \PianoStaff to get the braces I guess.
I need \skip to get empty sheet music.
I need some paper control for margins etc.
I want to suppress indenting of the first system.
I don't want page numbers
I don't want bar numbers
I don't want the big 'C' to appear
All I want is 4 pages of empty piano systems with a
trebble and bass clef.

After having spent about 8 hours in total during the last
week, I am running out of permutations to try. This is
after about 3 previous attempts the last years to get
into Lilypond. This time, it started to look very promising.

However, especially the various possible combinations of
new, context, staff, pianostaff and score (some working,
some don't), puzzle me. I guess it is all there in the manual,
but I can't put it together.

If the learning curve is really this steep, I'm affraid that Lilypond
will stay reserved for that rare combination of Unix programmer
and Music enthousiast. Personally I'm more interested in working
with music than with notation tools per se. I really appreciate
the effort that has gone in Lilypond, and a non-profit effort
at that, but that doesn't get me over the first hurdle.

Below is the latest attempt. It still generates page numbers, bar
numbers, and it refuses to put 6 systems on the last page.
It always wants to put the last system of the last page on a new
page, even though it fits 6 systems on each earlier page. And it
puts the 'C' in the first bar.

I'm using Lilypond 2.6.0 on windows XP.
Any idea's/help?

Thanks, Lars

 latest attempt --
\version "2.6.0"

\paper {
hsize = 21\cm
vsize = 27.5\cm
leftmargin = 2\cm
linewidth = 17\cm
topmargin = 1\cm
bottommargin = 0\cm
printpagenumber = ##f
%% doesn't prevent page numbers
raggedlastbottom = ##t
%% doesn't prevent stretching systems over additional page
}

onepage = {
\repeat unfold 6 {
\skip 1 \break
}
}

upper = {
\clef treble
\time 4/4
% \key c \major
%% big 'C' symbols still generated
\repeat unfold 4 {
\onepage
%% ínsists on using 5 pages, the last containing a single system
}
}

lower = {
\clef bass
\time 4/4
% \key c \major
\repeat unfold 4 {
\onepage
}
}

\score {
\new PianoStaff \with {
% \override TimeSignature #’transparent = ##t
% defaultBarType = #""
%% the two lines above cause output generation to fail completely
%% despite having been suggested by the manual.
\remove Bar_number_engraver
}
{
<<
\new Staff {\upper}
\new Staff {\lower}
>>
}
\layout {
indent = 0.0 \cm
}
}


[EMAIL PROTECTED]




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



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Empty Lyric lines taking up vertical space

2005-10-11 Thread Ian Hawthorn
Apologies for the long description of the problem.


I am typesetting barbershop arrangements for my chorus.

This type of music is typeset on two staves of two voices each. Most of
the time all four voices sing the same words, and at those times I need
a single lyric line centered between the staves. However there are often
syncopated portions where each part may need its own lyric line. The
lyrics for each voice are typset above and below the stave with two
lyric lines between the staves.

I am using a template similar to the SATB template which I modified from
an arrangement on the web.

\score {
  \context ChoirStaff <<
\context Lyrics = tenorlyrs { s1 }
\context Staff = TopStaff <<
  \clef "G_8"
  \partcombine
  \context Voice = tenorvox { \voiceOne \tenrNotes }
  \context Voice = leadvox { \voiceTwo \leadNotes }
>>
  \context Lyrics = leadlyrs { s1 }
  \context Lyrics = barilyrs { s1 }
\context Staff = BottomStaff <<
  \clef bass
  \partcombine
  \context Voice = barivox { \voiceOne \bariNotes }
  \context Voice = bassvox { \voiceTwo \bassNotes }
>>
\context Lyrics = basslyrs { s1 }
 
% Now match up the lyrics with each part's notes
\context Lyrics = tenorlyrs \lyricsto tenorvox \tenrWords
\context Lyrics = leadlyrs \lyricsto leadvox \leadWords
\context Lyrics = barilyrs \lyricsto barivox \bariWords
\context Lyrics = basslyrs \lyricsto bassvox \bassWords
 
  >>

to suppress unneeded lyrics I have been making very frequent use of _.

The trouble with this is that lilypond always makes allowance for the
vertical space of each lyric line even when there are no actual lyrics
in it. Hence for most of the arrangement where there is only one lyric
line present (the lead), the lyrics are crammed up against the bottom of
the top staff to make room for the empty baritone lyric line. Also each
system takes up more room than is needed on the page as the staves are
often further apart than they should be, and furthermore lilypond makes
allowance for often empty lyric lines above and below the staves.

Can anyone suggest a modification to the template (or my use of it) that
might get around this problem? Can `_' be redefined so that it has no
vertical size? Does the vertical space allocation to empty lyric lines
deserve to be called a bug? Thanks for your thought.


Best Wishes
Ian H


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


LyricOn and LyricOff

2005-10-11 Thread Ian Hawthorn
Suggested feature: Commands (e.g.) `\LOn' and `\LOff' to turn on and off
the synchronisation of lyrics  and avoid overuse of  `_'. For example

{ \LOff b4 a g a |  \LOn b b b r  | \LOff a a a r | b d d r }
addlyrics { lit -- tle lamb }

To give the same result as

{  b4 a g a |  b b b r  | a a a r | b d d r }
addlyrics{ _ _ _ _ | li -- tle lamb | _ _ _ | _ _ _ }

Sometimes I feel like I am drowning in  _ _ _ _ | _ _ _ _ | _ _ _ _ and
it is so easy to lose count or forget to take account of a tie and end
up with the words out of synch.

Best Wishes
Ian H


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


[no subject]

2005-10-11 Thread Luke Sharkey








Hello

Whenever I start lilypond in shell, I get this message:

 

/usr/share/guile/1.6/srfi/srfi-13.scm:159:1: In
procedure dynamic-link in _expression_ (load-extension
"libguile-srfi-srfi-13-14-v-1" "scm_init_srfi_13"):

/usr/share/guile/1.6/srfi/srfi-13.scm:159:1: file:
"libguile-srfi-srfi-13-14-v-1", message: "libguile-srfi-srfi-13-14-v-1.so:
cannot open shared object file: No such file or directory"

 

 

 

Any idea what it means / what to do about it?

(I have guile-1.6.7-2, which came installed as default on
Fedora Core 4, which I’m using)

 

 

 

Thank you,

Luke Sharkey,  Linux newbie








***
This e-mail is confidential and privileged.  If you are not the intended
recipient do not disclose, copy or distribute information in this e-mail
or take any action in reliance on its content.
***

***
This email has been checked for known viruses.
***

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


Note chart

2005-10-11 Thread David Bobroff
Possibly a bit off-topic:

I'm helping a colleague prepare a trombone method book (the first such
to be prepared in Icelandic).  He wants some basic music theory
information in the front material.  Specifically, he wants one of those
charts with a whole note at the top and then below it, two half notes
connected to it with lines, below that would be four quarters etc.  In
other words, the kind of thing one would find at the beginning of the
Arban book.

This is probably not strictly a LilyPond question.  I suspect I'll need
some LaTeX graphing package or other, one that makes trees.  Then I want
to hang feta note glyphs on the tree.

Can someone point me in the right direction?

-David



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


Re: Note chart

2005-10-11 Thread Peter Mogensen
David Bobroff wrote:
> I'm helping a colleague prepare a trombone method book (the first such
> to be prepared in Icelandic).  

I play trombone... ok ... more relevant. I know what kind of charts you
talk about :)

> This is probably not strictly a LilyPond question.  I suspect I'll need
> some LaTeX graphing package or other, one that makes trees.  Then I want
> to hang feta note glyphs on the tree.

Yes... that's also what I would think. You need to use Lilypond through
LaTeX and create the lines with some LaTeX grapic package.

You could probably hack something in pure Lilypond using more than one
staff and \glissando
... but I would think the nice way would be LaTeX.

Peter



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


note chart follow-up

2005-10-11 Thread David Bobroff
I found qtree.sty which seems to do pretty much exactly what I need.
Now to put feta glyphs on the tree...Any hints...?

-David



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


RE: Completing the Lilypond puzzle

2005-10-11 Thread Fairchild
Lars -

You may find some clues in the attached .ly.

   - Bruce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
lars prins
Sent: Sunday, October 09, 2005 7:47 AM
To: lilypond-user@gnu.org
Cc: [EMAIL PROTECTED]
Subject: Completing the Lilypond puzzle


Lilypond can do everything and lilypond is for everybody.
Yet, I don't seem to be part of this equation somehow.

I am getting very frustrated to get Lilypond to do the
simplest thing, to create a PDF file with 4 pages of empty piano sheet music
that I can use to jot notes on. That shouldn't be too difficult right? But
how do all these little fragments of the Lilypond manual fit together?

I need the \PianoStaff to get the braces I guess.
I need \skip to get empty sheet music.
I need some paper control for margins etc.
I want to suppress indenting of the first system.
I don't want page numbers
I don't want bar numbers
I don't want the big 'C' to appear
All I want is 4 pages of empty piano systems with a
trebble and bass clef.

After having spent about 8 hours in total during the last
week, I am running out of permutations to try. This is
after about 3 previous attempts the last years to get
into Lilypond. This time, it started to look very promising.

However, especially the various possible combinations of
new, context, staff, pianostaff and score (some working,
some don't), puzzle me. I guess it is all there in the manual, but I can't
put it together.

If the learning curve is really this steep, I'm affraid that Lilypond will
stay reserved for that rare combination of Unix programmer and Music
enthousiast. Personally I'm more interested in working with music than with
notation tools per se. I really appreciate the effort that has gone in
Lilypond, and a non-profit effort at that, but that doesn't get me over the
first hurdle.

Below is the latest attempt. It still generates page numbers, bar numbers,
and it refuses to put 6 systems on the last page. It always wants to put the
last system of the last page on a new page, even though it fits 6 systems on
each earlier page. And it puts the 'C' in the first bar.

I'm using Lilypond 2.6.0 on windows XP.
Any idea's/help?

Thanks, Lars

 latest attempt -- \version
"2.6.0"

\paper {
  hsize = 21\cm
  vsize = 27.5\cm
  leftmargin = 2\cm
  linewidth = 17\cm
  topmargin = 1\cm
  bottommargin = 0\cm
  printpagenumber = ##f
%% doesn't prevent page numbers
  raggedlastbottom = ##t
%% doesn't prevent stretching systems over additional page
}

onepage = {
  \repeat unfold 6 {
\skip 1 \break
  }
}

upper = {
  \clef treble
  \time 4/4
%  \key c \major
%% big 'C' symbols still generated
  \repeat unfold 4 {
\onepage
%% ínsists on using 5 pages, the last containing a single system
  }
}

lower = {
  \clef bass
  \time 4/4
%  \key c \major
  \repeat unfold 4 {
\onepage
  }
}

\score {
  \new PianoStaff \with {
%\override TimeSignature #’transparent = ##t
%defaultBarType = #""
%% the two lines above cause output generation to fail completely %% despite
having been suggested by the manual.
\remove Bar_number_engraver
  }
  {
<<
  \new Staff {\upper}
  \new Staff {\lower}
>>
  }
  \layout {
indent = 0.0 \cm
  }
}


[EMAIL PROTECTED]




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



Blank.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Help with chord alignment

2005-10-11 Thread Josh Lawrence
Hello list,

I am new to Lilypond, and I am learning how to properly input
information.  Currently, I am using the standard Just Friends to
practice with.  From looking at other people's input files, I have
been able to come up with the following partial lead sheet score:

--begin justfriends.ly--
\version "2.6.1"
 \header {
   title = "Just Friends"
   composer = "John Klenner"
   arranger = "Josh Lawrence"
   texttranslator = "Translator"
 }
<<
\chords {
 s2 | c1:maj7 | s1 | a1:m5-.7 | d1:9- | 
 g1:maj7 | s1 | bes1:min7 | ees1:7 |
 a1:min7 | d1:9- | fis2:m5-.7 b2:7 | e1:min7 |
 a1:7 | s1 | a1:min7 | d2:7 des2:9 |
}
\relative c'' { \time 4/4  \key g \major  \clef treble  \partial 4
 b4 | b1 ~ | b2 \times 2/3 {a4 b a} | ees1 ~ | ees2 a |
 a1 ~ | a2 \times 2/3 {g4 a g} | des1 ~ | des2 r4 g |
 g4. e8 g8 e r fis ~ | fis2 r4 fis | fis4. d8 fis d r e ~ | e4 fis g b |
 e2 b ~ | b4 e, \times 2/3 {e fis g} | d'2 b ~ | b b |
}
>>
--end justfriends.ly--

Here are my questions:

First, my chords are not aligning up with the beginning of the bar that
they apply to in the pdf output.  How can I make sure that the
chords fall at the beginning of the measure?

Second, I would like for my chart to be 4 bars per line, "Real Book"
style.  Is there a simple way that I can tell Lilypond to use 4
bars per line, and still keep a reasonable look to the score?

Finally, is there a jazz font I can use?

I am running Lilypond 2.6.1 on Windows and Linux.  This particular file was written and tested using the Windows version.

Please let me know if I need to provide more information.  Thank you very much for your help.

Josh Lawrence

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


Re: Help with chord alignment

2005-10-11 Thread Sven Axelsson
On 11/10/05, Josh Lawrence <[EMAIL PROTECTED]> wrote:
Hello list,

I am new to Lilypond, and I am learning how to properly input
information.  Currently, I am using the standard Just Friends to
practice with.  From looking at other people's input files, I have
been able to come up with the following partial lead sheet score:

Here are my questions:

First, my chords are not aligning up with the beginning of the bar that
they apply to in the pdf output.  How can I make sure that the
chords fall at the beginning of the measure?That is because your music starts with a quarter note partial, and your chords with a semibreve. If you look at the log file you should see something like:
warning: barcheck failed at: 1/4 s2     | c1:maj7 | s1 | a1:m5-.7 | d1:9- |Fix that and the alignment is fine.

Second, I would like for my chart to be 4 bars per line, "Real Book"
style.  Is there a simple way that I can tell Lilypond to use 4
bars per line, and still keep a reasonable look to the score?Insert \break where you want a new line. 

Finally, is there a jazz font I can use?Don't know, what is a jazz font? Do you need symbols not included in Lilyponds Feta fonts?-- Sven Axelsson
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help with chord alignment

2005-10-11 Thread Josh Lawrence
Sven,

Thank you for your help.

To answer your question, when I say "jazz font" I am making a reference
to other notation program's inclusion of a particular font that
resembles hand-written scores.  I would like for my scores to have
this hand-written look, if possible.  But your question raises
another one for me - I do not know what feta fonts are in Lilypond, nor
how to use them.  Can you point me to a resource where I can learn
about them?  Maybe what I'm looking for is there.

Thank you,

JoshOn 10/11/05, Sven Axelsson <[EMAIL PROTECTED]> wrote:
On 11/10/05, Josh Lawrence <[EMAIL PROTECTED]> wrote:

Hello list,

I am new to Lilypond, and I am learning how to properly input
information.  Currently, I am using the standard Just Friends to
practice with.  From looking at other people's input files, I have
been able to come up with the following partial lead sheet score:

Here are my questions:

First, my chords are not aligning up with the beginning of the bar that
they apply to in the pdf output.  How can I make sure that the
chords fall at the beginning of the measure?That
is because your music starts with a quarter note partial, and your
chords with a semibreve. If you look at the log file you should see
something like:
warning: barcheck failed at: 1/4 s2     | c1:maj7 | s1 | a1:m5-.7 | d1:9- |Fix that and the alignment is fine.


Second, I would like for my chart to be 4 bars per line, "Real Book"
style.  Is there a simple way that I can tell Lilypond to use 4
bars per line, and still keep a reasonable look to the score?Insert \break where you want a new line. 


Finally, is there a jazz font I can use?Don't know, what is a jazz font? Do you need symbols not included in Lilyponds Feta fonts?-- Sven Axelsson

-- There are 10 types of people in the world, those that understand binary, and those that don't.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help with chord alignment

2005-10-11 Thread Sven Axelsson
On 11/10/05, Josh Lawrence <[EMAIL PROTECTED]> wrote:
Sven,

Thank you for your help.

To answer your question, when I say "jazz font" I am making a reference
to other notation program's inclusion of a particular font that
resembles hand-written scores.  I would like for my scores to have
this hand-written look, if possible.  But your question raises
another one for me - I do not know what feta fonts are in Lilypond, nor
how to use them.  Can you point me to a resource where I can learn
about them?  Maybe what I'm looking for is there.If you mean a font to make the actual notes and symbols look like hand written, then, no, Lilypond doesn't have that. It is supposedly possible to use other music fonts than the one provided (Feta), but it would mean a lot of work.
You can see what symbols are available in Lilyponds music fonts here: http://lilypond.org/doc/v2.7/Documentation/user/out-www/lilypond/The-Feta-font.html#The-Feta-font
-- Sven Axelsson
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LyricOn and LyricOff

2005-10-11 Thread Erik Sandberg
On Tuesday 11 October 2005 01.39, Ian Hawthorn wrote:
> Suggested feature: Commands (e.g.) `\LOn' and `\LOff' to turn on and off
> the synchronisation of lyrics  and avoid overuse of  `_'. For example
>
> { \LOff b4 a g a |  \LOn b b b r  | \LOff a a a r | b d d r }
> addlyrics { lit -- tle lamb }
>
> To give the same result as
>
> {  b4 a g a |  b b b r  | a a a r | b d d r }
> addlyrics{ _ _ _ _ | li -- tle lamb | _ _ _ | _ _ _ }
>
> Sometimes I feel like I am drowning in  _ _ _ _ | _ _ _ _ | _ _ _ _ and
> it is so easy to lose count or forget to take account of a tie and end
> up with the words out of synch.

You can use two different voices for the notes, and then use \lyricsto to 
assign lyrics only to one of the voices:

<<
  \new Staff <<
\context Voice="song" {s1 | b4 b b r | s1 | s1 | }
\context Voice="instr" {b4 a g a |  s1  | a4 a a r | b d d r }
  >>
  \lyricsto "song" { li -- tle lamb }
>>

Notice that the "song" voice here is kept alive with skip notes all the time. 
In principle, I think it also should be possible to do it like this:
 {  \context Voice="instr" {b4 a g a} | \context Voice="song" {b b b r}  | 
\context Voice="instr" {a a a r | b d d r} }
However, I think there are bugs that prevent this, so I don't recommend it.

-- 
Erik


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


Re: note chart follow-up

2005-10-11 Thread Erik Sandberg
On Tuesday 11 October 2005 21.49, David Bobroff wrote:
> I found qtree.sty which seems to do pretty much exactly what I need.
> Now to put feta glyphs on the tree...Any hints...?

Hm.. it's outside my area of knowledge, but if I'd get this problem, I would 
grab an old lily version (<=2.4). Then I'd write a simple .lytex file, and do 
lilypond-book on it. Then I'd look at the resulting .tex file, and try to 
remove stuff from it until it just produced a single feta glyph.

-- 
Erik


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


giving up frustrated ... :-(

2005-10-11 Thread Roland Goretzki
Hi at all,

since many weeks now I would like to use lilypond 2.6.x on my debian
system, but with autopacke there was a problem concerning the guile
version.

Now, after completely new installing a clean debian sarge 3.1 system
(from printemps 2004) there still remaines the following problem:

executing
[EMAIL PROTECTED]:~/noten/2.3.6.1$ ./lilypond-2.6.3.1-upgrade.x86.package

there appears the following:

  # Preparing: LilyPond
  # Checking for required C library versions ... passed
  # Checking for FreeType font library ... passed
  # Checking for Standard C++ library ... passed
  # Checking for Glib Utility Library ... passed
  # Checking for Python language runtime ... passed
  # Checking for zlib compression library ... passed
  # Checking for Pango ... passed
  # Checking for Guile ... failed
  # FAIL:
  # Package 'Guile' was found but was of the wrong version and the correct 
version could not be located.
  # 
  # [IV 1.67 for @gnu.org/guile]
  FAIL:  Unable to prepare package LilyPond.

Trying to install 
  guile-1.6_1.6.7-1.1_i386.deb
with dpkg -i results in the following error:

  dpkg: regarding libc6_2.3.5-6_i386.deb containing libc6:
   libc6 conflicts with e2fsprogs (<< 1.35-7)
e2fsprogs (version 1.34+1.35-WIP-2004.01.31-1) is installed.
  dpkg: error processing libc6_2.3.5-6_i386.deb (--install):
   conflicting packages - not installing libc6
  Errors were encountered while processing:
   libc6_2.3.5-6_i386.deb

I'm not able to solve these problems, and so I tend to give up, not
willing to work with lilypond further in the older version, regarding
that there might be too much to change later, because the tool
convert-ly only succeeds if there are not too many tweakings in the
score. :-(

Nevertheless, I'd be glad about a helpful hint.

Best Regards   Roland


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


Re: giving up frustrated ... :-(

2005-10-11 Thread Pedro Kröger
Roland Goretzki <[EMAIL PROTECTED]> writes:

> Trying to install 
>   guile-1.6_1.6.7-1.1_i386.deb
> with dpkg -i results in the following error:

I suppose the best way is 

apt-get install guile-1.6

so it will take care of all dependencies for you.

Pedro Kröger


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


breakbefore / StaffGroup / Opus Marking -- Not working is it a bug? (2.7.12)

2005-10-11 Thread Trent J
Hi All,
 
I don't know whether these are bugs or not so I've sent it here first.
 
The breakbefore = ##t command doesn't seem to work when I put it in a header to force a page break.. for that matter... if I put "pagebreakbefore"... "gobblygoppagebreakbefore" (yes I put that line as I was so frustrated) Lilypond doesn't even seem to register that the last two words are a mistake. Is the program ignoring what is in the header?
 
Also with the first header with titles and composer and opus. The titles composer and opus are printed correctly on the first page but for some reason the opus is printed on each subsequent new score for no apparent reason.
 
Lastly the StaffGroup function seems only to work with the first group it comes across now. In scores processed from previous versions my staff groups print fine with the bracket around each group. But for some reason only the first staff group defined in a score prints with a bracket.
 
I'm using Windows XP / Lilypond 2.7.12 (Native)
 
Thanks in advance.
 
Trent



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


ties and accidentals

2005-10-11 Thread Edward Neeman
Hi,

I'm typesetting a piece using #(set-accidental-style
'forget) and I would like accidentals to appear by
default on ALL notes, including tied ones.  At the
moment it seems the accidental only appears on a tied
note if there's a line break.  How can I fix this? 
Here is an example:

\version "2.7.12"

\relative c' {
#(set-accidental-style 'forget)
cis1~ cis~ \break cis
}

Thanks,
Edward Neeman






 
Do you Yahoo!? 
Try Yahoo! Photomail Beta: Send up to 300 photos in one email! 
http://au.photomail.mail.yahoo.com


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


Re: giving up frustrated ... :-(

2005-10-11 Thread Roland Goretzki
Hello list, hello Pedro,

You wrote:

> Roland Goretzki <[EMAIL PROTECTED]> writes:
> I suppose the best way is 
> 
> apt-get install guile-1.6
> 
> so it will take care of all dependencies for you.

Well, I did so on my unstable system, the only system with e-mail and
internet (host neptun), but the version problem was the same.
The version, which existed there, was guile 1.6.4.
I tried to update with apt-get update and then to install as You
suggested with apt-get install guile-1.6, and the problem with e2fsprogs
came the first time.

Since this moment, on neptun it is not yet possible for many other
programs and packages to update, they all conflict with e2fsprogs.

So I had the idea to make a clean new stable system on my notebook to
get the possibility to work with lilypond again ...

There now, on pluto (without internet), there is the same version guile
1.6.4. Only for this reason I tried with dpkg after fetching the .deb
per ssh from neptun.

In one of the list-e-mails was said, that the autopackage would success
also on older systems, so I cannot quite believe, that guile 1.6.4 is
that wrong ...

Thanks for the help, though it is not yet helpful! ;-)

Best Regards   Roland


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


Re: giving up frustrated ... :-(

2005-10-11 Thread Jan Nieuwenhuizen
Roland Goretzki writes:

> [EMAIL PROTECTED]:~/noten/2.3.6.1$ ./lilypond-2.6.3.1-upgrade.x86.package

Please use the full version.  The -upgrade package does not not contain
guile or any other dependencies.

> with dpkg -i results in the following error:

However, you should ask on a debian-user forum how to get your
installation fixed.  apt-get update, apt-get upgrade/install
should work, or you'll get in trouble later.

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


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