Re: also, lyric help

2008-12-27 Thread Arjan Bos


On 26 dec 2008, at 21:35, James E. Bailey wrote:



Try:

upperVoice = \relative c'' {
%
c8 d e4 f g |
c8 d e4 f g |
c8 d e4 f g |
c8 d e4 f g |

}

lowerVoice = \relative c' {
%
s1 |
c8[ d] e4 f g |
s1 |
c8[ d] e4 f g

}


textOne = \lyricmode {
% You know how to write ly -- rics, don’t you?
}

textTwo = \lyricmode {
% You know how to write ly -- rics, don’t you?
}

\score {
<<
\context Staff = Upper <<
\context Voice = "one" \upperVoice
>>
\lyricsto "one" \new Lyrics { \textOne }
\context Staff = Lower <<
\context Voice = "two" \lowerVoice
>>
\lyricsto "two" \new Lyrics { \textTwo }
>>
}


Maybe that's oldfashioned, but it works for me (with 2.10.33).


I knew I would have to get into explaining this. There is no  
nesting. What I have are two verses, say,

{\autoBeamOff c8 d e4 f g}
and in the second verse,
{\autoBeamOff c8[ d] e4 f g}.
Engraving that isn't really a problem
\relative {\autoBeamOff <<{\voiceOne c8 d } \new Voice {\voiceTwo  
c8[ d] }>>\oneVoice e4 f g}
That's fine. I have it happening tons of times. The problem is then  
having lyrics automatically align to these notes. Usually I just  
name my voice context and be done with it:

\relative {
\context Voice = "unbeamed notes"
\autoBeamOff
<<
{ \voiceone c8 d}
\context Voice = "beamed notes" { \voiceTwo c8[ d] }
>> \oneVoice e4 f g
}
And then I automatically add text to it, using the above method.  
Problem is, with it happening 10 or more times in a single piece,  
I'm having problems aligning all of the lyrics to the appropriate  
notes.


Well, the way I do this is by doing exactly what Henning proposed:  
split your (almost) implicit voices in explicit, separate voices. The  
only problem I then have is filling up the second voice with enough  
spacer notes so that they are position correctly. I augmented the  
proposal with a few notes so as to make my idea clear. This makes the  
alignment of lyrics to notes automatically correct.


HTH,
Arjan



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


Re: rearrange music flow

2008-12-27 Thread Arjan Bos

On 26 dec 2008, at 18:41, Antanas Budriūnas wrote:


Hello Lily-users,

after few arrangements and engraving from my own manuscripts I'm
trying to move my composing work to Lilypond (without paper sheets). I
guess this is rare but IMHO worth to try.
Till now I puzzle over a problem each time when I need several
measures from one place in the score (all parts together, maybe with
lyrics) repeat somewhere in the middle of the piece or rearrange music
flow in general.
Some advance can be a naming (variables) relatively small chunks of
music, each bar or so. But this way source reading becomes
complicated.
I can imagine some intermediate element between Staff (StaffGroup) and
Score in the Lilypond hierarchy, which includes sevaral staves but
neither starts new line nor puts clef, key and time signature.
Maybe I'm missing something and a way does exist in Lilypond to
achieve such flexibility? (Sorry I'm not so brave to dive into Scheme
coding).



Hi Antanas,

Perhaps I'm not understanding your question, but it is possible to put  
almost everything in variables, including whole scores. So I'm very  
confident that it is possible to put something like:


\version "2.11.65"
tenorVoice = \context Voice { \relative c'' { a4 b c d }}
tenorStaff = \context Staff { \tenorVoice }
\score { \tenorStaff }

Will this help you?

Regards,
Arjan




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


Re: avoid slur help

2008-12-27 Thread James E. Bailey


Am 27.12.2008 um 01:07 schrieb Graham Percival:


On Sat, Dec 27, 2008 at 01:01:19AM +0100, James E. Bailey wrote:


he still omitted the easiest part of helping which could have
simple been,  \override TextScript #'extra-offset = #'( 0.0 . -5.0),
instead of the wonderful instruction in how to properly use lilypond.


Of course I omitted that.  You're assumed to have read the
Learning Manual.  In particular, LM 4.5.1 and 4.5.2.


So wait, the most useful piece of information, the piece of  
information which could have been extremely helpful, the piece of  
information which I obviously forgot, otherwise I wouldn't have  
asked, was intentionally omitted? I realise that Graham has all of  
the manuals memorised and can call them up in his mind like a  
database, but I am not so gifted. And most of the time, I need a  
reminder.



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


Re: also, lyric help

2008-12-27 Thread James E. Bailey


Am 27.12.2008 um 09:59 schrieb Arjan Bos:



On 26 dec 2008, at 21:35, James E. Bailey wrote:



Try:

upperVoice = \relative c'' {
%
c8 d e4 f g |
c8 d e4 f g |
c8 d e4 f g |
c8 d e4 f g |

}

lowerVoice = \relative c' {
%
s1 |
c8[ d] e4 f g |
s1 |
c8[ d] e4 f g

}


textOne = \lyricmode {
% You know how to write ly -- rics, don’t you?
}

textTwo = \lyricmode {
% You know how to write ly -- rics, don’t you?
}

\score {
<<
\context Staff = Upper <<
\context Voice = "one" \upperVoice
>>
\lyricsto "one" \new Lyrics { \textOne }
\context Staff = Lower <<
\context Voice = "two" \lowerVoice
>>
\lyricsto "two" \new Lyrics { \textTwo }
>>
}


Maybe that's oldfashioned, but it works for me (with 2.10.33).


I knew I would have to get into explaining this. There is no  
nesting. What I have are two verses, say,

{\autoBeamOff c8 d e4 f g}
and in the second verse,
{\autoBeamOff c8[ d] e4 f g}.
Engraving that isn't really a problem
\relative {\autoBeamOff <<{\voiceOne c8 d } \new Voice {\voiceTwo  
c8[ d] }>>\oneVoice e4 f g}
That's fine. I have it happening tons of times. The problem is  
then having lyrics automatically align to these notes. Usually I  
just name my voice context and be done with it:

\relative {
\context Voice = "unbeamed notes"
\autoBeamOff
<<
{ \voiceone c8 d}
\context Voice = "beamed notes" { \voiceTwo c8[ d] }
>> \oneVoice e4 f g
}
And then I automatically add text to it, using the above method.  
Problem is, with it happening 10 or more times in a single piece,  
I'm having problems aligning all of the lyrics to the appropriate  
notes.


Well, the way I do this is by doing exactly what Henning proposed:  
split your (almost) implicit voices in explicit, separate voices.  
The only problem I then have is filling up the second voice with  
enough spacer notes so that they are position correctly. I  
augmented the proposal with a few notes so as to make my idea  
clear. This makes the alignment of lyrics to notes automatically  
correct.


How is a voice (almost) implicit? I explicitly create the first voice  
"unbeamed notes" and then I explicitly create the second voice  
"beamed notes". Both voices are explicitly created. The problem I  
have is that when I switch between voices in my melody, the lyrics  
don't pick up when the voice comes back. Is that a bug? Maybe I don't  
understand voice or lyrics contexts, but I read that things are  
carried over in a voice context. Bah. I guess I'll just do this the  
long way.


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


Re: rearrange music flow

2008-12-27 Thread Francisco Vila
2008/12/26 Antanas Budriūnas :
> I can imagine some intermediate element between Staff (StaffGroup) and
> Score in the Lilypond hierarchy, which includes sevaral staves but
> neither starts new line nor puts clef, key and time signature.

You could try \stopStaff and \hideNotes, then \startStaff and
\unHideNotes. First setup the whole staff group, then hide all, then
unhide selectively what you want to show. HTH

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: also, lyric help

2008-12-27 Thread Arjan Bos


On 27 dec 2008, at 10:45, James E. Bailey wrote:



How is a voice (almost) implicit? I explicitly create the first  
voice "unbeamed notes" and then I explicitly create the second voice  
"beamed notes". Both voices are explicitly created.

Mmm, My Bad. Entschuldigung. You do explicitly create two voices.
What I meant was voices created in the score block instead of creating  
a new voice inside another voice.



The problem I have is that when I switch between voices in my  
melody, the lyrics don't pick up when the voice comes back. Is that  
a bug?
I've got no idea if that's a bug or not, but the way I work around it  
is by having two \context Voice statements in my \score block. One for  
the unbeamed notes and one for the beamed notes. This allows me to  
attach the lyrics with \lyricsto o the voice with the unbeamed notes,  
just like the examples in the NR 2.1.3 "Aligning lyrics to a melody".



Maybe I don't understand voice or lyrics contexts, but I read that  
things are carried over in a voice context. Bah. I guess I'll just  
do this the long way.


Kind regards,
Arjan Bos


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


\lyricsto vs. \set associatedVoice

2008-12-27 Thread james
What exactly is the difference between \lyricsto and \set  
associatedVoice? The documentation isn't very explicit on this point,  
and I've come to situation where I think I need to use \set  
associatedVoice because the output is different from the \lyricsto  
output.


The important issue here is that using \set associatedVoice it works,  
and using \lyricsto it does not. I think it might be helpful to point  
out at least this one difference between the two.


Also, if I try to put the two staves in the same \score block, I get  
a segmentation fault.


\version "2.11.65"

instrument = \relative c' {
   \context Voice = "NumberOne" { c4 }
   \context Voice = "NumberTwo" { d4 }
   \context Voice = "NumberOne" { e4 }
   \context Voice = "NumberTwo" { f4 }
}

Text = \context Lyrics {
   \lyricsto "NumberOne" { Cee }
   \lyricsto "NumberTwo" { Ray }
   \lyricsto "NumberOne" { Eee }
   \lyricsto "NumberTwo" { Fa }
}

TextTwo = \context Lyrics \lyricmode {
   \set associatedVoice = #"NumberOne" { Cee4 }
   \set associatedVoice = #"NumberTwo" { Ray4 }
   \set associatedVoice = #"NumberOne" { Eee4 }
   \set associatedVoice = #"NumberTwo" { Fa4 }
}

\score {
   <<
  \new Staff \instrument
  \Text
   >>
}

\score {
   <<
  \new Staff \instrument
  \TextTwo
   >>
}



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


Re: rearrange music flow

2008-12-27 Thread Johan Vromans
Arjan Bos  writes:

> Will this help you?

I don't think so. At least, if I understand Antanas correctly.

Assume you have a piece of music that consists of several sections.
For example, intro, verse1, chorus, verse2, chorus, bridge, verse3,
chorus, coda. 

The normal way to program this in LilyPond is to create the individual
voices:

sopranoMusic = { intro for soprano, verse1 for soprano, ... }
altoMusic= { intro for alto, verse1 for alto, ... }
tenorMusic   = { ... }
bassMusic= { ... }

and so on. Likewise the lyrics, orchestral, etc.

So far, so good. Now I decided that I want to rearrange some sections.
For example, add a chorus before the first verse, and swap verses 2
and 3.

There's no easy way to accomplish this. Using (many) variables will
help, but only if you applied the variables from the start, and then
it is still a cumbersome task. The main reason is that the programming
is done horizontally, per voice, while shuffling sections is a
vertical operation.

I think this is what Antanas refers to. His suggestion is to have a
grouping operator that you only need to apply to one voice, and that
will group all voices vertically.

-- Johan
   Chord is alive! http://chordii.sourceforge.net



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


Re: \lyricsto vs. \set associatedVoice

2008-12-27 Thread Francisco Vila
2008/12/27 james :
> What exactly is the difference between \lyricsto and \set associatedVoice?

I don't know, but trying to rewrite your example at my traditional
method, the TextFour syllable mysteriously dissapears, have I missed
something?

instrument = \relative c' {
  \context Voice = "NumberOne" { c4 }
  \context Voice = "NumberTwo" { d4 }
  \context Voice = "NumberOne" { e4 }
  \context Voice = "NumberTwo" { f4 }
}

TextOne =  \lyricmode { Cee }
TextTwo =  \lyricmode { Ray }
TextThree = \lyricmode { \skip 1 Eee }
TextFour = \lyricmode {  \skip 1 Fa }

\score {
  <<
 \new Staff \instrument
 \new Lyrics \lyricsto "NumberOne" { \TextOne }
 \new Lyrics \lyricsto "NumberTwo" { \TextTwo }
 \new Lyrics \lyricsto "NumberOne" { \TextThree }
 \new Lyrics \lyricsto "NumberTwo" { \TextFour }

  >>
}

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


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


Re: \lyricsto vs. \set associatedVoice

2008-12-27 Thread Francisco Vila
2008/12/27 Francisco Vila :
> 2008/12/27 james :
>> What exactly is the difference between \lyricsto and \set associatedVoice?
>
> I don't know, but trying to rewrite your example at my traditional
> method, the TextFour syllable mysteriously dissapears, have I missed
> something?
>
> instrument = \relative c' {
>  \context Voice = "NumberOne" { c4 }
>  \context Voice = "NumberTwo" { d4 }
>  \context Voice = "NumberOne" { e4 }
>  \context Voice = "NumberTwo" { f4 }
> }
>
> TextOne =  \lyricmode { Cee }
> TextTwo =  \lyricmode { Ray }
> TextThree = \lyricmode { \skip 1 Eee }
> TextFour = \lyricmode {  \skip 1 Fa }
>
> \score {
>  <<
> \new Staff \instrument
> \new Lyrics \lyricsto "NumberOne" { \TextOne }
> \new Lyrics \lyricsto "NumberTwo" { \TextTwo }
> \new Lyrics \lyricsto "NumberOne" { \TextThree }
> \new Lyrics \lyricsto "NumberTwo" { \TextFour }
>
>  >>
> }


Also, changing the score block to contain

\context Lyrics ="1" \lyricsto "NumberOne" { \TextOne }
 \context Lyrics ="2" \lyricsto "NumberTwo" { \TextTwo }
 \context Lyrics ="1" \lyricsto "NumberOne" { \TextThree }
 \context Lyrics ="2" \lyricsto "NumberTwo" { \TextFour }

instead, \TextFour keeps dissapearing but the layout is more as expected.

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


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


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


Re: rearrange music flow

2008-12-27 Thread Antanas Budriūnas
Thanks Arjan, thanks Francisco for replies.
Perhaps due my poor English you both misunderstood me.
There is a simplified example:

%
\version "2.11.65"

xi = \relative c' { << {e f} {c d}>> }
xii = \relative c'' { << {g f} {e d}>> }
xiii = \relative c' { << {e d} {c b}>> }

{ \xi \xii \xi \xiii }
%

Would be nice that all this code results the same score as from
%%
 \relative c' { << {e f g f e f e d} {c d e d c d c b}>> }
%%

2008/12/27 Johan Vromans :
> Arjan Bos  writes:
>
>> Will this help you?
>
> I don't think so. At least, if I understand Antanas correctly.
>
> Assume you have a piece of music that consists of several sections.
> For example, intro, verse1, chorus, verse2, chorus, bridge, verse3,
> chorus, coda.
>
> The normal way to program this in LilyPond is to create the individual
> voices:
>
> sopranoMusic = { intro for soprano, verse1 for soprano, ... }
> altoMusic= { intro for alto, verse1 for alto, ... }
> tenorMusic   = { ... }
> bassMusic= { ... }
>
> and so on. Likewise the lyrics, orchestral, etc.
>
> So far, so good. Now I decided that I want to rearrange some sections.
> For example, add a chorus before the first verse, and swap verses 2
> and 3.

Yess!! Johan catched the idea!

> There's no easy way to accomplish this. Using (many) variables will
> help, but only if you applied the variables from the start, and then
> it is still a cumbersome task.

The variable name system is of great importance. It's odd that I never
saw roman numbers used in variables' names in Lilypond code examples.
Would be pretty simple as they are letters;).

> The main reason is that the programming
> is done horizontally, per voice, while shuffling sections is a
> vertical operation.

MusicXML solved this with two variants of coding layout: 'partwise'
and 'timewise' and conversion mechanism between them.

> I think this is what Antanas refers to. His suggestion is to have a
> grouping operator that you only need to apply to one voice, and that
> will group all voices vertically.

This idea would be worth to think over too. But I didn't had this in my mind.
The problem is that \Staff (\StaffGroup) element behaves like text
paragraphs do �C it starts new line and wraps content according page
width. I guess that line-break is unnessessary when starting \Staff
and \StaffGroup element. So assume \StaffGroup elements could follow
each other in same line (such musical nonsense:) with possibility of
sections' shuffling.
The same is obvious for music (notes):
{ a }  { b }
% and
<< { a }  { b } >>

Sorry if I'm too bold... I understand thas it would be not so trivial
developing task.

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


Re: \lyricsto vs. \set associatedVoice

2008-12-27 Thread Bertalan Fodor

According to my understanding:
If you use lyricsto or associatedVoice you needn't (possibly must not) 
add duration to syllables. Their purpose is to synchronize the 
syllable's position to the notes of a voice.
Normally you use lyricsto. But there can be situations when in one 
stanza the rhythm of the lyrics is not the same as in the others.

In these cases we often use something like this:
\context Voice = "soprano" { c d e
<<
\context Voice = "soprano" { f4 }
\context Voice = "soprano_var" { f8 f }
>>
}

verseI = \lyricmode { this is the first verse }
verseII = \lyricmode { this is the \set associatedVoice = "soprano_var" 
se -- cond \unset associatedVoice verse }


\lyricsto "soprano" \context Lyrics \verseI
\lyricsto "soprano" \context Lyrics \verseII

As you can see we use associatedVoice to make sure that the syllables of 
the second verse are assigned correctly.


This is what I remember. Though I haven't wrote a single staff for a 
year now :-)


Bert

james írta:
What exactly is the difference between \lyricsto and \set 
associatedVoice? The documentation isn't very explicit on this point, 
and I've come to situation where I think I need to use \set 
associatedVoice because the output is different from the \lyricsto 
output.


The important issue here is that using \set associatedVoice it works, 
and using \lyricsto it does not. I think it might be helpful to point 
out at least this one difference between the two.


Also, if I try to put the two staves in the same \score block, I get a 
segmentation fault.


\version "2.11.65"

instrument = \relative c' {
   \context Voice = "NumberOne" { c4 }
   \context Voice = "NumberTwo" { d4 }
   \context Voice = "NumberOne" { e4 }
   \context Voice = "NumberTwo" { f4 }
}

Text = \context Lyrics {
   \lyricsto "NumberOne" { Cee }
   \lyricsto "NumberTwo" { Ray }
   \lyricsto "NumberOne" { Eee }
   \lyricsto "NumberTwo" { Fa }
}

TextTwo = \context Lyrics \lyricmode {
   \set associatedVoice = #"NumberOne" { Cee4 }
   \set associatedVoice = #"NumberTwo" { Ray4 }
   \set associatedVoice = #"NumberOne" { Eee4 }
   \set associatedVoice = #"NumberTwo" { Fa4 }
}

\score {
   <<
  \new Staff \instrument
  \Text
   >>
}

\score {
   <<
  \new Staff \instrument
  \TextTwo
   >>
}



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





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


Re: rearrange music flow

2008-12-27 Thread Francisco Vila
2008/12/27 Antanas Budriūnas :
> Thanks Arjan, thanks Francisco for replies.
> Perhaps due my poor English you both misunderstood me.
> There is a simplified example:

> { \xi \xii \xi \xiii }
> %
>
> Would be nice that all this code results the same score as from
> %%
>  \relative c' { << {e f g f e f e d} {c d e d c d c b}>> }

You get something close by means of
{ \new Voice \xi \xii \xi \xiii  }

With LilyPond you can achieve wonderful things with a terse code, but
with verbose, explicit code you get far more control.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


tempo marks

2008-12-27 Thread Hajo Baess
hello out there,

I am a LilyPond novice and just getting familiar with it. 
But one question is there which does not seem to 
be answered in a satisfactory way:

How do I insert a tempo indication such as Allegro, 
Adagio and the like above the beginning of the staff?

I'd be very grateful if anybody could show me how this #
can be done.


Hajo



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


Re: rearrange music flow

2008-12-27 Thread Antanas Budriūnas
Hello,

2008/12/27 Francisco Vila :
> 2008/12/27 Antanas Budriūnas :
>> Thanks Arjan, thanks Francisco for replies.
>> Perhaps due my poor English you both misunderstood me.
>> There is a simplified example:
>
>> { \xi \xii \xi \xiii }
>> %
>>
>> Would be nice that all this code results the same score as from
>> %%
>>  \relative c' { << {e f g f e f e d} {c d e d c d c b}>> }
>
> You get something close by means of
> { \new Voice \xi \xii \xi \xiii  }

Only *close* :) As well as with \new Staff I get all notes on one
staff instead of voices on separate staves. Imagine an orchestral
score :)

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


Re: rearrange music flow

2008-12-27 Thread Francisco Vila
2008/12/27 Antanas Budriūnas :
>> You get something close by means of
>> { \new Voice \xi \xii \xi \xiii  }
>
> Only *close* :) As well as with \new Staff I get all notes on one
> staff instead of voices on separate staves. Imagine an orchestral
> score :)

What you are looking for is a sort of container which you could put
your music in. Something like a multi-voice variable, a "module" that
one could easily drop-in into existing staves or sequential pieces of
music without having to bother about anything else. This sounds like
using LilyPond to compose/arrange, while it is designed firstly for
typesetting. Maybe another musical-phrase-based language like keykit
of Tim Thompson may help you. It handles MIDI phrases very easily.
Browse to nosuch.com and take it a look.


-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: tempo marks

2008-12-27 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Dienstag, 23. Dezember 2008 19:34:24 schrieb Hajo Baess:
> hello out there,
>
> I am a LilyPond novice and just getting familiar with it.
> But one question is there which does not seem to
> be answered in a satisfactory way:
>
> How do I insert a tempo indication such as Allegro,
> Adagio and the like above the beginning of the staff?
>
> I'd be very grateful if anybody could show me how this #
> can be done.

A good first step is looking at the documentation, e.g. looking for "tempo 
indication" (sorry if that's not the correct English term, but the lilypond 
webpage insists on always showing the German pages for me, even though I would 
prefer English much more!):
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-parts#index-
Tempobezeichnung

Cheers,
Reinhold

- -- 
- --
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJVlocTqjEwhXvPN0RAjXYAJ9EDEgor0n778cOzOY6M+hZeqE/WACfZ0fo
PcqRcIvdn/+iW9UKZ/Iza5U=
=76qJ
-END PGP SIGNATURE-


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


Re: rearrange music flow

2008-12-27 Thread Antanas Budriūnas
2008/12/27 Francisco Vila :
> What you are looking for is a sort of container which you could put
> your music in. Something like a multi-voice variable, a "module" that
> one could easily drop-in into existing staves or sequential pieces of
> music without having to bother about anything else. This sounds like
> using LilyPond to compose/arrange, while it is designed firstly for
> typesetting. Maybe another musical-phrase-based language like keykit
> of Tim Thompson may help you. It handles MIDI phrases very easily.
> Browse to nosuch.com and take it a look.

Hm, interesting toy. But from different field. Some years ago I was
playing with Cubase Phrase Synthesizer.
Of course MIDI applications very simple handles music structure
shuffling. But I'm affraid of import/export. Once I was making one
piece in Rosegarden and exported it into Lilypond. I got a terrible
formated code and editing it was a headache.

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


Re: rearrange music flow

2008-12-27 Thread Trevor Daniels
Doesn't \parallelMusic enable you to do this?  See "Writing music in 
parallel" in section 1.5.2 Multiple voices of the Notation Reference.


Trevor

- Original Message - 
From: "Antanas Budriūnas" 

To: 
Sent: Saturday, December 27, 2008 2:06 PM
Subject: Re: rearrange music flow



Thanks Arjan, thanks Francisco for replies.
Perhaps due my poor English you both misunderstood me.
There is a simplified example:

%
\version "2.11.65"

xi = \relative c' { << {e f} {c d}>> }
xii = \relative c'' { << {g f} {e d}>> }
xiii = \relative c' { << {e d} {c b}>> }

{ \xi \xii \xi \xiii }
%

Would be nice that all this code results the same score as from
%%
\relative c' { << {e f g f e f e d} {c d e d c d c b}>> }
%%

2008/12/27 Johan Vromans :

Arjan Bos  writes:


Will this help you?


I don't think so. At least, if I understand Antanas correctly.

Assume you have a piece of music that consists of several sections.
For example, intro, verse1, chorus, verse2, chorus, bridge, verse3,
chorus, coda.

The normal way to program this in LilyPond is to create the individual
voices:

sopranoMusic = { intro for soprano, verse1 for soprano, ... }
altoMusic= { intro for alto, verse1 for alto, ... }
tenorMusic   = { ... }
bassMusic= { ... }

and so on. Likewise the lyrics, orchestral, etc.

So far, so good. Now I decided that I want to rearrange some sections.
For example, add a chorus before the first verse, and swap verses 2
and 3.


Yess!! Johan catched the idea!


There's no easy way to accomplish this. Using (many) variables will
help, but only if you applied the variables from the start, and then
it is still a cumbersome task.


The variable name system is of great importance. It's odd that I never
saw roman numbers used in variables' names in Lilypond code examples.
Would be pretty simple as they are letters;).


The main reason is that the programming
is done horizontally, per voice, while shuffling sections is a
vertical operation.


MusicXML solved this with two variants of coding layout: 'partwise'
and 'timewise' and conversion mechanism between them.


I think this is what Antanas refers to. His suggestion is to have a
grouping operator that you only need to apply to one voice, and that
will group all voices vertically.


This idea would be worth to think over too. But I didn't had this in my 
mind.

The problem is that \Staff (\StaffGroup) element behaves like text
paragraphs do �C it starts new line and wraps content according page
width. I guess that line-break is unnessessary when starting \Staff
and \StaffGroup element. So assume \StaffGroup elements could follow
each other in same line (such musical nonsense:) with possibility of
sections' shuffling.
The same is obvious for music (notes):
{ a }  { b }
% and
<< { a }  { b } >>

Sorry if I'm too bold... I understand thas it would be not so trivial
developing task.

Antanas Budriūnas








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





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


Fwd: Lylipond and space-time notation

2008-12-27 Thread Han-Wen Nienhuys
-- Forwarded message --
From: João Pais 
Date: Fri, Dec 26, 2008 at 8:35 PM
Subject: Lylipond and space-time notation
To: han...@xs4all.nl


Hello,

I wanted to ask about Lylipond's ability to work with space-time
notation. That is, with notation that is distributed in the layout
according to a fixed horizontal grid representing time.
For example, here are some pages of Benedict Mason's Ensemble piece, for 3
metrically independent ensembles. The grid above in the page has a fixed
format throughout the score, so that each page has 10'' of music in it,
independently of it's coordination with the current metrical strucutre
(which is different in each of the 3 ensembles, and sometimes also divided
among each ensemble - pages 4 to 7).

[Note: the score I present is just an example. I am enquiring only about
the horizontal notation principle, and not of the possibility of joining
several music types with different metrics. Although information about
that would also be interesting to consider.]

This file was made in Sibelius, where all several laborious techniques of
"faking" and layouting were necessary to produce this score. In the end
result, it makes sense to say that the layout was 'imposed' on the score,
and not the other way.
What I concretely wanted to know is: is it possible (or in the future,
planned to) to make the 'real time duration' of the music to decide on the
horizontal layout of the score? For example, in traditional notation the
same piece is notated with the same layout if the tempo is 4th = 120 or
4th = 40. Would it be possible to make the score layout itself differently
just by changing the tempo - and with it the duration?

In case the answer is positive, did you also consider cases when the page
divisions don't match with the metrical division? What happens to bar
lines in the end of a system, how are empty spaces in the beginning of the
next filled up? And how is that reflected (or not) in the part extraction?

Best regards,

João Pais



--
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
jmmmp...@googlemail.com | skype: jmmmpjmmmp


-- 
Han-Wen Nienhuys - han...@xs4all.nl - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: rearrange music flow

2008-12-27 Thread Carl D. Sorensen



On 12/27/08 5:00 AM, "Johan Vromans"  wrote:

> Arjan Bos  writes:
> 
>> Will this help you?
> 
> I don't think so. At least, if I understand Antanas correctly.
> 
> Assume you have a piece of music that consists of several sections.
> For example, intro, verse1, chorus, verse2, chorus, bridge, verse3,
> chorus, coda.
> 
> The normal way to program this in LilyPond is to create the individual
> voices:
> 
> sopranoMusic = { intro for soprano, verse1 for soprano, ... }
> altoMusic= { intro for alto, verse1 for alto, ... }
> tenorMusic   = { ... }
> bassMusic= { ... }
> 
> and so on. Likewise the lyrics, orchestral, etc.
> 
> So far, so good. Now I decided that I want to rearrange some sections.
> For example, add a chorus before the first verse, and swap verses 2
> and 3.
> 
> There's no easy way to accomplish this. Using (many) variables will
> help, but only if you applied the variables from the start, and then
> it is still a cumbersome task. The main reason is that the programming
> is done horizontally, per voice, while shuffling sections is a
> vertical operation.
> 
> I think this is what Antanas refers to. His suggestion is to have a
> grouping operator that you only need to apply to one voice, and that
> will group all voices vertically.

I spent some time trying to figure this out a few months ago, and never
succeeded.  I have some new ideas that I will try today.

Carl



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


Re: rearrange music flow

2008-12-27 Thread Carl D. Sorensen



On 12/27/08 9:25 AM, "Antanas Budri?nas"  wrote:

> Hello,
> 
> 2008/12/27 Francisco Vila :
>> 2008/12/27 Antanas Budri?nas :
>>> Thanks Arjan, thanks Francisco for replies.
>>> Perhaps due my poor English you both misunderstood me.
>>> There is a simplified example:
>> 
>>> { \xi \xii \xi \xiii }
>>> %
>>> 
>>> Would be nice that all this code results the same score as from
>>> %%
>>>  \relative c' { << {e f g f e f e d} {c d e d c d c b}>> }
>> 
>> You get something close by means of
>> { \new Voice \xi \xii \xi \xiii  }
> 
> Only *close* :) As well as with \new Staff I get all notes on one
> staff instead of voices on separate staves. Imagine an orchestral
> score :)


Aha!  I got it!   The secret was to explicitly name the Staff and Voice
contexts, and use \context instead of \new.

\version "12.0.0"
intro = <<
  \context Staff = "StaffOne" {
\context Voice = "VoiceOne" {
  c''4 c''
}
  }
  \context Staff = "StaffTwo" {
\context Voice = "VoiceTwo" {
  c'4 c'
}
  }
>>

verseOne = <<
  \context Staff = "StaffOne" {
\context Voice = "VoiceOne" {
  d''4 d'
}
  }
  \context Staff = "StaffTwo" {
\context Voice = "VoiceTwo" {
  d'4 d'
}
  }
>>

chorus = <<
  \context Staff = "StaffOne" {
\context Voice = "VoiceOne" {
  e''4 e''
}
  }
  \context Staff = "StaffTwo" {
\context Voice = "VoiceTwo" {
  e'4 e'
}
  }
>>

verseTwo = <<
  \context Staff = "StaffOne" {
\context Voice = "VoiceOne" {
  f''4 f''
}
  }
  \context Staff = "StaffTwo" {
\context Voice = "VoiceTwo" {
  f'4 f'
}
  }
>>

\score {
  {
\intro
\verseOne
\chorus
\verseTwo
  }
}


HTH,

Carl



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


Re: rearrange music flow

2008-12-27 Thread Antanas Budriūnas
2008/12/27 Carl D. Sorensen :
>
> Aha!  I got it!   The secret was to explicitly name the Staff and Voice
> contexts, and use \context instead of \new.
>
> \version "12.0.0"
> intro = <<
>  \context Staff = "StaffOne" {
>\context Voice = "VoiceOne" {
>  c''4 c''
>}
>  }
>  \context Staff = "StaffTwo" {
>\context Voice = "VoiceTwo" {
>  c'4 c'
>}
>  }
>>>
>
> verseOne = <<
>  \context Staff = "StaffOne" {
>\context Voice = "VoiceOne" {
>  d''4 d'
>}
>  }
>  \context Staff = "StaffTwo" {
>\context Voice = "VoiceTwo" {
>  d'4 d'
>}
>  }
>>>
>
> chorus = <<
>  \context Staff = "StaffOne" {
>\context Voice = "VoiceOne" {
>  e''4 e''
>}
>  }
>  \context Staff = "StaffTwo" {
>\context Voice = "VoiceTwo" {
>  e'4 e'
>}
>  }
>>>
>
> verseTwo = <<
>  \context Staff = "StaffOne" {
>\context Voice = "VoiceOne" {
>  f''4 f''
>}
>  }
>  \context Staff = "StaffTwo" {
>\context Voice = "VoiceTwo" {
>  f'4 f'
>}
>  }
>>>
>
> \score {
>  {
>\intro
>\verseOne
>\chorus
>\verseTwo
>  }
> }

Excellent!!!

Carl, You are probably Santa Claus and this snippet is a Christmas miracle :)

It must be in the LSR IMO

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


Compiling on Mac OS X

2008-12-27 Thread August Lilleaas
Greetings,
Been following
http://nicolas.sceaux.free.fr/index.php/2008/11/30/26-building-lilypond-from-git-sources-on-mac-os-105-intel.
When I run make, this happens:

chmod 755 out/lilypond-invoke-editor
/opt/local/bin/perl
/Users/leethal/Code/src/lilypond/buildscripts/out/help2man
out/lilypond-invoke-editor > out/lilypond-invoke-editor.1
help2man: can't get `--help' info from out/lilypond-invoke-editor
make[1]: *** [out/lilypond-invoke-editor.1] Error 1
make: *** [all] Error 2
leet...@haxxor ~/C/s/lilypond>

When I run "./out/bin/lilypond-invoke-editor --help", I get this:

ERROR: In procedure dynamic-link:
ERROR: file: "libguile-srfi-srfi-1-v-3", message:
"dlopen(libguile-srfi-srfi-1-v-3.so, 9): image not found"
leet...@haxxor ~/C/s/lilypond>

Any clues about what causes tihs?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: rearrange music flow

2008-12-27 Thread Francisco Vila
2008/12/27 Carl D. Sorensen :
> \version "12.0.0"

Parsing...
error: program too old: 2.12.0 (file requires: 12.0.0)

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


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


Re: rearrange music flow

2008-12-27 Thread Antanas Budriūnas
2008/12/27 Trevor Daniels :
> Doesn't \parallelMusic enable you to do this?  See "Writing music in
> parallel" in section 1.5.2 Multiple voices of the Notation Reference.

Yes, parallelMusic is a workarround (like mentioned earlier creating
heap of variables).

But Carl alredy nicely solved this puzzle.

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


Re: avoid slur help

2008-12-27 Thread Graham Percival
On Sat, Dec 27, 2008 at 10:37:35AM +0100, James E. Bailey wrote:
>
> Am 27.12.2008 um 01:07 schrieb Graham Percival:
>
>> Of course I omitted that.  You're assumed to have read the
>> Learning Manual.  In particular, LM 4.5.1 and 4.5.2.
>
> So wait, the most useful piece of information, the piece of information 
> which could have been extremely helpful, the piece of information which I 
> obviously forgot, otherwise I wouldn't have asked, was intentionally 
> omitted? I realise that Graham has all of the manuals memorised and can 
> call them up in his mind like a database, but I am not so gifted. And 
> most of the time, I need a reminder.

It wasn't /intentionally/ omitted.  I it up under the
cunningly-disguised names of "Moving objects" and "Fixing
overlappign notation".  You don't even need to use extra-offset;
those pages list a number of other options for moving stuff
around.

There are plenty of pieces of info which I'll admit are hard to
find in the docs, but this isn't one of them.


Let me say it again, loud and clear: read the Learning Manual.  A
few times.  There's lots of great stuff in there.

- Graham


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


RE: tempo marks

2008-12-27 Thread Nick Payne
Look up \tempo in the manual section 1.6.3 on metronome marks.

Nick

> -Original Message-
> From: lilypond-user-bounces+nick.payne=internode.on@gnu.org
> [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On
> Behalf Of Hajo Baess
> Sent: Wednesday, 24 December 2008 05:34
> To: lilypond-user@gnu.org
> Subject: tempo marks
> 
> hello out there,
> 
> I am a LilyPond novice and just getting familiar with it.
> But one question is there which does not seem to
> be answered in a satisfactory way:
> 
> How do I insert a tempo indication such as Allegro,
> Adagio and the like above the beginning of the staff?
> 
> I'd be very grateful if anybody could show me how this #
> can be done.



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


Re: avoid slur help

2008-12-27 Thread Neil Puttock
2008/12/27 Graham Percival :
> On Sat, Dec 27, 2008 at 10:37:35AM +0100, James E. Bailey wrote:
>>
>> Am 27.12.2008 um 01:07 schrieb Graham Percival:
>>
>>> Of course I omitted that.  You're assumed to have read the
>>> Learning Manual.  In particular, LM 4.5.1 and 4.5.2.
>>
>> So wait, the most useful piece of information, the piece of information
>> which could have been extremely helpful, the piece of information which I
>> obviously forgot, otherwise I wouldn't have asked, was intentionally
>> omitted? I realise that Graham has all of the manuals memorised and can
>> call them up in his mind like a database, but I am not so gifted. And
>> most of the time, I need a reminder.
>
> It wasn't /intentionally/ omitted.  I it up under the
> cunningly-disguised names of "Moving objects" and "Fixing
> overlappign notation".  You don't even need to use extra-offset;
> those pages list a number of other options for moving stuff
> around.

Actually, apart from 'extra-offset, there are no properties listed in
either section which would be useful for fixing James's problem, since
it relates to 'outside-staff-priority overriding 'avoid-slur, as I
pointed out earlier in the thread.

The same issue is responsible for your second 'bug' with musica ficta,
since AccidentalSuggestion also has a default for
'outside-staff-priority.

Regards,
Neil


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


Re: rearrange music flow

2008-12-27 Thread Carl D. Sorensen



On 12/27/08 11:05 AM, "Francisco Vila"  wrote:

> 2008/12/27 Carl D. Sorensen :
>> \version "12.0.0"
> 
> Parsing...
> error: program too old: 2.12.0 (file requires: 12.0.0)
> 
> :-)

d'oh!

Carl



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


Re: Compiling on Mac OS X

2008-12-27 Thread August Lilleaas
I were doing this on HEAD. Changed to 2.10.9-1, and (for some reason) doing
make, then make all (both yielding errors) and then make worked.
After running a couple of minutes, though, this happened:

out/lexer.cc:384: error: no 'int yyFlexLexer::yywrap()' member function
declared in class 'yyFlexLexer'

Am I the only person that wants to run lilypond on a modern intel mac, or
have I overlooked something?

On Sat, Dec 27, 2008 at 6:48 PM, August Lilleaas
wrote:

> Greetings,
> Been following
> http://nicolas.sceaux.free.fr/index.php/2008/11/30/26-building-lilypond-from-git-sources-on-mac-os-105-intel.
> When I run make, this happens:
>
> chmod 755 out/lilypond-invoke-editor
> /opt/local/bin/perl
> /Users/leethal/Code/src/lilypond/buildscripts/out/help2man
> out/lilypond-invoke-editor > out/lilypond-invoke-editor.1
> help2man: can't get `--help' info from out/lilypond-invoke-editor
> make[1]: *** [out/lilypond-invoke-editor.1] Error 1
> make: *** [all] Error 2
> leet...@haxxor ~/C/s/lilypond>
>
> When I run "./out/bin/lilypond-invoke-editor --help", I get this:
>
> ERROR: In procedure dynamic-link:
> ERROR: file: "libguile-srfi-srfi-1-v-3", message:
> "dlopen(libguile-srfi-srfi-1-v-3.so, 9): image not found"
> leet...@haxxor ~/C/s/lilypond>
>
> Any clues about what causes tihs?
>
>


-- 
August Lilleaas
Tlf: (+47) 915 28 701
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: rearrange music flow

2008-12-27 Thread Antanas Budriūnas
Just as curiosity:
I was adding some lyrics to Carl's example and when the number of
sylables is less than the number of notes, on each appearance of
\intro lyrics go downstairs.

\version "2.11.65"
intro = <<
 \context Staff = "StaffOne" {
   <<
   \context Voice = "VoiceOne" {
 c''4 d''
   }
   \context Lyrics = "LyrI" \lyricmode {
 \set associatedVoice = #"VoiceOne" ae
   }
   >>
 }
 \context Staff = "StaffTwo" {
   <<
   \context Voice = "VoiceTwo" {
 e'4 f'
   }
   \context Lyrics = "LyrII" \lyricmode {
 \set associatedVoice = #"VoiceTwo" be
   }
   >>
 }
 >>

\score {
  {
   \intro
   \intro
   \intro
  }
}

What's happening there?

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


Re: rearrange music flow

2008-12-27 Thread Johan Vromans
"Carl D. Sorensen"  writes:

> intro = <<
>   \context Staff = "StaffOne" {
> \context Voice = "VoiceOne" {
>   c''4 c''
> }
>   }
>   \context Staff = "StaffTwo" {
> \context Voice = "VoiceTwo" {
>   c'4 c'
> }
>   }
> >>
> 
> verseOne = <<
>   \context Staff = "StaffOne" {
> [...]

Yes, this is what I referred to as "a cumbersome task" :(

-- Johan



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


Fwd: Compiling on Mac OS X

2008-12-27 Thread Arjan Bos


On 27 dec 2008, at 21:07, August Lilleaas wrote:

I were doing this on HEAD. Changed to 2.10.9-1, and (for some  
reason) doing make, then make all (both yielding errors) and then  
make worked.


After running a couple of minutes, though, this happened:

out/lexer.cc:384: error: no 'int yyFlexLexer::yywrap()' member  
function declared in class 'yyFlexLexer'


Am I the only person that wants to run lilypond on a modern intel  
mac, or have I overlooked something?


I'm having the same problem. What I did to solve this is removing the  
line containing yywrap in FlexLexer.h. If you've been following  
Nicolas' guidelines, then that file is:

/opt/local/include/FlexLexer.h
and the line-number is arround 130

I tried this with HEAD  and I get the following:
Processing `/usr/local/src/lilypond/lilypond/ly/generate- 
documentation.ly'
Parsing...[/usr/local/src/lilypond/lilypond/out/share/lilypond/current/ 
ly/init.lyAssertion failed: (pt->read_pos == pt->read_end), function  
scm_fill_input, file ports.c, line 978.
/bin/sh: line 1: 21318 Abort trap  /usr/local/src/lilypond/ 
lilypond/out/bin/lilypond --verbose /usr/local/src/lilypond/lilypond/ 
ly/generate-documentation


And now I'm at a loss, because I don't have a ports.c file on my  
computer (according to locate)


Can someone chime in here please? Or should I take my quest for Intel  
Mac OS X Lilypond to a developer list?


Kind regards,
Arjan Bos




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


Re: Fwd: Compiling on Mac OS X

2008-12-27 Thread Patrick McCarty
On Sat, Dec 27, 2008 at 10:56:18PM +0100, Arjan Bos wrote:
>
> On 27 dec 2008, at 21:07, August Lilleaas wrote:
>
>> I were doing this on HEAD. Changed to 2.10.9-1, and (for some reason) 
>> doing make, then make all (both yielding errors) and then make worked.
>>
>> After running a couple of minutes, though, this happened:
>>
>> out/lexer.cc:384: error: no 'int yyFlexLexer::yywrap()' member  
>> function declared in class 'yyFlexLexer'
>>
>> Am I the only person that wants to run lilypond on a modern intel mac, 
>> or have I overlooked something?
>
> I'm having the same problem. What I did to solve this is removing the  
> line containing yywrap in FlexLexer.h. If you've been following Nicolas' 
> guidelines, then that file is:
> /opt/local/include/FlexLexer.h
> and the line-number is arround 130
>
> I tried this with HEAD  and I get the following:
> Processing `/usr/local/src/lilypond/lilypond/ly/generate- 
> documentation.ly'
> Parsing...[/usr/local/src/lilypond/lilypond/out/share/lilypond/current/ 
> ly/init.lyAssertion failed: (pt->read_pos == pt->read_end), function  
> scm_fill_input, file ports.c, line 978.
> /bin/sh: line 1: 21318 Abort trap  /usr/local/src/lilypond/ 
> lilypond/out/bin/lilypond --verbose /usr/local/src/lilypond/lilypond/ 
> ly/generate-documentation
>
> And now I'm at a loss, because I don't have a ports.c file on my  
> computer (according to locate)
>
> Can someone chime in here please? Or should I take my quest for Intel  
> Mac OS X Lilypond to a developer list?

The file ports.c is part of the Guile source code.  I have experienced
this error on GNU/Linux with Guile 1.8.6, and it appears to be a known
issue:

http://lists.gnu.org/archive/html/guile-devel/2008-12/msg00043.html

I will post a report to the bug-lilypond list soon.

-Patrick


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


Re: Compiling on Mac OS X

2008-12-27 Thread Kim Shrier

The problem is that the configure program finds the wrong FlexLexer.h
file.  Mac OS X comes with a version of flex that is older than the
one needed for lilypond.  If you have installed a newer version of flex,
the FlexLexer.h file you want is not in /usr/include which is the one
that configure will find.  I installed a newer version of flex using the
macports system and the file you want is /opt/local/include/FlexLexer.h

In order to use the correct flex program and include the correct header,
you need to do 2 things:

1. Make sure that /opt/local/bin is in your $PATH environment variable
   before /usr/bin.  This is so that the correct version of flex is  
run.

   Make sure this is set properly before running configure.

2. After running the configure script and before you run make, edit the
   config.make file.  Change the line:

  FLEXLEXER_FILE = /usr/include/FlexLexer.h

   to

  FLEXLEXER_FILE = /opt/local/include/FlexLexer.h


Then you can run make all.

Kim

On Dec 27, 2008, at 2:56 PM, Arjan Bos wrote:



On 27 dec 2008, at 21:07, August Lilleaas wrote:

I were doing this on HEAD. Changed to 2.10.9-1, and (for some  
reason) doing make, then make all (both yielding errors) and then  
make worked.


After running a couple of minutes, though, this happened:

out/lexer.cc:384: error: no 'int yyFlexLexer::yywrap()' member  
function declared in class 'yyFlexLexer'


Am I the only person that wants to run lilypond on a modern intel  
mac, or have I overlooked something?


I'm having the same problem. What I did to solve this is removing  
the line containing yywrap in FlexLexer.h. If you've been following  
Nicolas' guidelines, then that file is:

/opt/local/include/FlexLexer.h
and the line-number is arround 130

I tried this with HEAD  and I get the following:
Processing `/usr/local/src/lilypond/lilypond/ly/generate- 
documentation.ly'
Parsing...[/usr/local/src/lilypond/lilypond/out/share/lilypond/ 
current/ly/init.lyAssertion failed: (pt->read_pos == pt->read_end),  
function scm_fill_input, file ports.c, line 978.
/bin/sh: line 1: 21318 Abort trap  /usr/local/src/ 
lilypond/lilypond/out/bin/lilypond --verbose /usr/local/src/lilypond/ 
lilypond/ly/generate-documentation


And now I'm at a loss, because I don't have a ports.c file on my  
computer (according to locate)


Can someone chime in here please? Or should I take my quest for  
Intel Mac OS X Lilypond to a developer list?


Kind regards,
Arjan Bos




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



--
 Kim Shrier - principal, Shrier and Deihl - mailto:k...@tinker.com
Remote Unix Network Admin, Security, Internet Software Development
  Tinker Internet Services - Superior FreeBSD-based Web Hosting
 http://www.tinker.com/




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


Re: avoid slur help

2008-12-27 Thread James E. Bailey


Am 27.12.2008 um 19:37 schrieb Graham Percival:


On Sat, Dec 27, 2008 at 10:37:35AM +0100, James E. Bailey wrote:


Am 27.12.2008 um 01:07 schrieb Graham Percival:


Of course I omitted that.  You're assumed to have read the
Learning Manual.  In particular, LM 4.5.1 and 4.5.2.


So wait, the most useful piece of information, the piece of  
information
which could have been extremely helpful, the piece of information  
which I

obviously forgot, otherwise I wouldn't have asked, was intentionally
omitted? I realise that Graham has all of the manuals memorised  
and can

call them up in his mind like a database, but I am not so gifted. And
most of the time, I need a reminder.


It wasn't /intentionally/ omitted.  I it up under the
cunningly-disguised names of "Moving objects" and "Fixing
overlappign notation".  You don't even need to use extra-offset;
those pages list a number of other options for moving stuff
around.

There are plenty of pieces of info which I'll admit are hard to
find in the docs, but this isn't one of them.


Let me say it again, loud and clear: read the Learning Manual.  A
few times.  There's lots of great stuff in there.


Oh, perhaps I haven't made this clear. I have read the learning  
manual. I do not have it memorised. I don't use extra offset all that  
often. I asked for help because the ways I know of how to move the  
object, (namely looking in the IR for things that might control  
positioning the object, in this case, avoid-slur) didn't work. And I  
wanted help understanding it, because usually when something doesn't  
work the way I'm expecting, it's because I don't understand what the  
expected behavior is.


- Graham


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


Re: avoid slur help

2008-12-27 Thread Werner LEMBERG

> Oh, perhaps I haven't made this clear. I have read the learning
> manual.  I do not have it memorised.  I don't use extra offset all
> that often.  I asked for help because the ways I know of how to move
> the object, (namely looking in the IR for things that might control
> positioning the object, in this case, avoid-slur) didn't work.  And
> I wanted help understanding it, because usually when something
> doesn't work the way I'm expecting, it's because I don't understand
> what the expected behavior is.

The polemics aside, I think the most important question in this thread
is: Why haven't you found the necessary information in the manual?
Now that you know the answer (at least I hope you do), can you tell us
the reason?

Maybe missing references?  Missing examples?  Imprecise documentation?
The information you have searched for is in another chapter?
Something else?


Werner


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


[ANN] Frescobaldi 0.7 released, a new LilyPond music editor

2008-12-27 Thread Wilbert Berendsen
Hi all,

I just released Frescobaldi, a brand new LilyPond music score editor for KDE4.
It aims to be powerful, yet lightweight and easy to use, and it currently has 
most features of LilyKDE (the KDE3 Kate plugin):

* Enter LilyPond scores, build and preview them with a mouseclick
* Point-and-click support: click on notes or error messages to jump to the
   correct position
* A powerful Score Wizard to quickly setup a musical score
* Editing tools to: 
  - manipulate the rhythm
  - hyphenate lyrics
  - quickly enter or add articulations and other symbols to existing music
  - run the document through convert-ly to update it to a newer LilyPond
 version
* A powerful Rumor plugin, using the Rumor program to quickly enter music by
   playing it on a MIDI keyboard or even your computer keyboard

You can download Frescobaldi 0.7 from 
http://lilykde.googlecode.com/files/frescobaldi-0.7.tar.gz

To use Frescobaldi you need also the latest lilypond-kde4 package, that 
provides icons for the lilypond file type and a KDE service that enables point 
and click in LilyPond-generated PDFs. Available at 
http://lilykde.googlecode.com/files/lilypond-kde4-0.2.tar.gz

Please try it out and help finding bugs :-)
many thanks and best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/



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