Re: no view because of mistakes?

2010-12-31 Thread Xavier Scheuer
On 31 December 2010 01:07, Ludo Beckers lazy...@gmail.com wrote:

 You mean when trying to view in PDF?
 This is the result:

 Unable to open document.
 File type plain text document (text/plain) is not supported

Which OS do you use?  How do you compile with LilyPond?

Under Windows you should have a  .log  file, IIRC.
Look within the repertory for a text file called  your_file_name.log
(the same name as you  .ly  file).

Under GNU/Linux if you compile within a terminal, the errors appears
in the terminal too.
If you use a dedicated text editor allowing you to compile within this
editor, then it should also have a buffer/terminal showing the errors
when compiling.

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: no view because of mistakes?

2010-12-31 Thread Ludo Beckers
Thanks Xavier, in a 2nd post I explained I made a mistake thinking (doh) I
was sending my question to the Denemo list.
So I have a .denemo file only, no .ly
I'm pretty new to this, so I know I can see the Lilypond compilation view,
but don't know yet how to extract it as a .ly file.
Trying to change things in the Lilypond view doesn't (seem to) work.

Under GNU/Linux if you compile within a terminal, the errors appears in the
terminal too.
If you use a dedicated text editor allowing you to compile within this
editor, then it should also have a buffer/terminal showing the errors
when compiling.

That's good to know; it might be wise to first get to know .ly files in that
fashion before trying to do all in Denemo or Frescobaldi.
Usually a GUI is easier than compiling yourself, but in this case it's
different - I'll have to learn the inner working better first.
I'm not a hero yet though with vim (also just starting with that).

Here are 2 snippets from the Lilypond view - maybe it's very obvious where
the mistake is?

MvmntIVoiceI =  {
  fis'2. g'8 fis'\Barline
 f'1\Barline
 r4 e'8 fis' g' a'16 g' fis'8 e'\Barline
 dis' fis' b4 ~ b \times 2/3 { b8 c' cis'\Barline
%5
 } d'2. e'4\Barline
 c'2 b8 bes a4\Barline
 r \times 2/3 { g8 b d' } e' g' g'4\Barline
 g'8 e'4. r4 a' \break fis'2. g'8 fis'\Barline
%10
 f'1\Barline
 r4 e'8 fis' g' a'16 g' fis'8 e'\Barline
 dis' fis' b4 ~ b \times 2/3 { b8 c' cis' \break d'2.
e'4\Barline
 c'2 b8 bes a4\Barline
%15
 r \times 2/3 { g8 b d' e' g' g'4\Barline
 g'2 a'4 g'  \bar || b'2 ~ b'8 a' g' e'\Barline
 \times 2/3 { d'4 d' d' d' c'\Barline
 r8 g' g' g' g' gis' a'4\Barline
%20
 g'2. c'4\Barline
 a'2 ~ a'8 g' f' e'\Barline
 ees'2. f'4\Barline
 d'2 d'\Barline
 d' \times 2/3 { fis'4 a' g'  \bar ||%25
 fis'2. g'8 fis'\Barline
 f'1 \EndMovementBarline

} %% missing close brace

} %% missing close brace

} %% missing close brace

} %% missing close brace
}

and for the chords:

MvmntIVoiceIChords = \new ChordNames \chordmode {
 %chord symbols follow
 g2.:maj  s8
  s8
 gis1:dim a4:m7  s8  s8  s8  s16  s16  s8
  s8 b8:9  s8  s4  s4\times 2/3 {  s8  s8
  s8
%5
} e2.:7
  s4 a2:m7 d8:9  s8
  s4 g4:maj\times 2/3 {  s8  s8  s8} a8:m7  s8
  s4 g8  s4. a4:m7 d4:7.9-
  s2.  s8
  s8
%10

  s1  s4  s8  s8  s8  s16  s16  s8
  s8  s8  s8  s4  s4\times 2/3 {  s8  s8  s8
  s2.
  s4  s2  s8  s8
  s4
%15
  s4\times 2/3 {  s8  s8  s8  s8  s8
  s4  s2  s4  s4
  s2  s8  s8  s8
  s8\times 2/3 {  s4  s4  s4  s4
  s4  s8  s8  s8  s8  s8  s8
  s4
%20
  s2.
  s4  s2  s8  s8  s8
  s8  s2.
  s4  s2
  s2  s2\times 2/3 {  s4  s4  s4

%25
  s2.  s8
  s8
  s1
}

On Fri, Dec 31, 2010 at 9:31 AM, Xavier Scheuer x.sche...@gmail.com wrote:

 On 31 December 2010 01:07, Ludo Beckers lazy...@gmail.com wrote:
 
  You mean when trying to view in PDF?
  This is the result:
 
  Unable to open document.
  File type plain text document (text/plain) is not supported

 Which OS do you use?  How do you compile with LilyPond?

 Under Windows you should have a  .log  file, IIRC.
 Look within the repertory for a text file called  your_file_name.log
 (the same name as you  .ly  file).

 Under GNU/Linux if you compile within a terminal, the errors appears
 in the terminal too.
 If you use a dedicated text editor allowing you to compile within this
 editor, then it should also have a buffer/terminal showing the errors
 when compiling.

 Cheers,
 Xavier

 --
 Xavier Scheuer x.sche...@gmail.com

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


Re: no view because of mistakes?

2010-12-31 Thread Jan Warchoł
2010/12/31 Ludo Beckers lazy...@gmail.com:
 Thanks Xavier, in a 2nd post I explained I made a mistake thinking (doh) I
 was sending my question to the Denemo list.
 So I have a .denemo file only, no .ly
 I'm pretty new to this, so I know I can see the Lilypond compilation view,
 but don't know yet how to extract it as a .ly file.
 Trying to change things in the Lilypond view doesn't (seem to) work.

 That's good to know; it might be wise to first get to know .ly files in that
 fashion before trying to do all in Denemo or Frescobaldi.

I recommend doing so. Read the Learning Manual, try to make a simple
score with a regular text editor and afterwards decide if you want to
use Denemo or something else.

 Usually a GUI is easier than compiling yourself, but in this case it's
 different - I'll have to learn the inner working better first.
 I'm not a hero yet though with vim (also just starting with that).

 Here are 2 snippets from the Lilypond view - maybe it's very obvious where
 the mistake is?

Trying to compile it without Denemo is hard, because there are some
Denemo artifacts (for example \Barline command doesn't come from
default LilyPond specification and therefore LilyPond alone doesn't
understand it)
But i can see that the triplets are done wrongly for sure. For example line 4

dis' fis' b4 ~ b \times 2/3 { b8 c' cis'\Barline

should read

dis' fis' b4 ~ b \times 2/3 { b8 c' cis' } \Barline

HTH,
Janek

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


Re: Staff change in piano music - a general approach?

2010-12-31 Thread Phil Holmes
Strictly, the ignore-collision override doesn't just suppress warnings - it 
stops LilyPond trying to avoid them.  Shane has given you one option for 
avoiding the double flag in your final note.  An alternative would be to use 
\once \override Stem #'length = #n to adjust the stem lengths.  Another 
option would be to typeset the final alto note as voiceTwo, to make its stem 
face downwards.


As Shane has said, I'm not sure there's a general solution, because what you 
want isn't something that's generally done - effectively to make chords out 
of different voices.


--
Phil Holmes


- Original Message - 
From: Tobias Braun tob...@braun-oberkochen.de

To: Phil Holmes m...@philholmes.net
Cc: LilyPond User Group lilypond-user@gnu.org
Sent: Friday, December 31, 2010 2:46 AM
Subject: Re: Staff change in piano music - a general approach?


Yes, you perfectly understood me. But using chords is totally impractical 
for me as I already have the individual voices as LilyPond code.


I tried as you described below and I'm getting a little closer. However, 
there are still some problems, one of which you can see in the attached 
example: the final chord consisting of two eighth notes actually looks like 
a sixteenth note chord.


\override NoteColumn #'ignore-collision = ##t
is just to suppress the collision warnings, right?

Regards,
Tobias


% example

\version 2.12.3

global = {
\clef treble
\time 2/2
\key g \dorian
}

soprano = \relative c''' {
\voiceOne
g4 g d4. e8 |
}

alto = \relative c'' {
\voiceOne
b4 c b4. c8 |
}

tenor = \relative c'' {
\voiceTwo
g4 g g2 |
}

\score {
\new Staff 
\global
\override NoteColumn #'ignore-collision = ##t
\new Voice { \soprano }
\new Voice { \alto }
\new Voice { \tenor }



}









Am 30.12.2010 um 11:21 schrieb Phil Holmes:

Just checking - you can obviously do what you want from a presentation 
perspective, since you've provided an example that looks like it came from 
LilyPond.  I presume you did this using chords, but you want to avoid 
using chords in your application?


The way I would do this would be to use:

\override NoteColumn #'ignore-collision = ##t

and then set the alto and soprano parts in voiceOne, and the tenor part in 
voiceTwo.  You do not need to set these for the duration of the piece, so 
when you cross the tenor part to the other stave, you can put the command 
\voiceTwo in the alto part and it will now be set into the second voice. 
You can also set \voiceOne for the tenor part.  You may also want to do:


\override NoteColumn #'ignore-collision = ##f

at the same point.

Let us know how you get on.

--
Phil Holmes


- Original Message - From: Tobias Braun 
tob...@braun-oberkochen.de

To: Phil Holmes m...@philholmes.net
Cc: tob...@braun-abstatt.de; LilyPond User Group 
lilypond-user@gnu.org

Sent: Thursday, December 30, 2010 1:50 AM
Subject: Re: Staff change in piano music - a general approach?


Sorry about the reply all thing, I forgot that.

I wasn't aware I was sending an HTML e-mail, sorry. That must have been my 
webmail client.


What I actually want to achieve is to have it look as uncluttered as 
possible. It should be easy to read when playing it on the piano. I'd 
basically like to merge all three voices into as few stems as possible. 
E.g. the notes of the first beat in measure 1 which basically form a chord 
consisting of three notes of the same duration played at the same time 
should appear as stacked, not next to each other. There is no need to be 
able to distinguish the individual voices.


As this is kind of hard to describe, please have a look at the attached 
PDF. I guess I'd prefer the first measure to look like Variant 1, but 
Variant 2 would be acceptable as well. (I achieved this sample PDF 
through  chord syntax, which is not of much use to me as I already have 
the individual voices in continuous form.)


Regards,
Tobias




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


Re: no view because of mistakes?

2010-12-31 Thread Frauke Jurgensen
Ah, I understand much better!
The problem with the triplets is that most of the curly braces aren't
closed properly; there seem to be 4 messages about that at the end of
your excerpt (not familiar with Denemo at all). A nice feature of Vim
(and some other editors) is that it will highlight braces' partners
for you, so that you can see if they close when they're meant to.

On Fri, Dec 31, 2010 at 9:33 AM, Jan Warchoł
lemniskata.bernoulli...@gmail.com wrote:
 2010/12/31 Ludo Beckers lazy...@gmail.com:
 Thanks Xavier, in a 2nd post I explained I made a mistake thinking (doh) I
 was sending my question to the Denemo list.
 So I have a .denemo file only, no .ly
 I'm pretty new to this, so I know I can see the Lilypond compilation view,
 but don't know yet how to extract it as a .ly file.
 Trying to change things in the Lilypond view doesn't (seem to) work.

 That's good to know; it might be wise to first get to know .ly files in that
 fashion before trying to do all in Denemo or Frescobaldi.

 I recommend doing so. Read the Learning Manual, try to make a simple
 score with a regular text editor and afterwards decide if you want to
 use Denemo or something else.

 Usually a GUI is easier than compiling yourself, but in this case it's
 different - I'll have to learn the inner working better first.
 I'm not a hero yet though with vim (also just starting with that).

 Here are 2 snippets from the Lilypond view - maybe it's very obvious where
 the mistake is?

 Trying to compile it without Denemo is hard, because there are some
 Denemo artifacts (for example \Barline command doesn't come from
 default LilyPond specification and therefore LilyPond alone doesn't
 understand it)
 But i can see that the triplets are done wrongly for sure. For example line 4

 dis' fis' b4 ~ b \times 2/3 { b8 c' cis'\Barline

 should read

 dis' fis' b4 ~ b \times 2/3 { b8 c' cis' } \Barline

 HTH,
 Janek

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


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


Re: How do I stop circles from wobbling?

2010-12-31 Thread Robin Bannister
David Kastrup wrote: 

 the vertical extent should fit in the circles
 necessitated by the horizontal extent. 


The 4 is big enough to ensure that all the vertical extents do fit, 
but (because of this) they all fit loosely. 
This looseness means that to decide where to position a circle 
vertically a further criterion is needed. 

Behind the scenes the circle-stencil bases its circle on the 
centre of the vertical extent (see stencil.scm and issue 107). 
This of course varies e.g. between button strings G and g. 




 Can anybody tell me what to do to keep the circles from wobbling?


The simplest method is to accompany the #:hcenter-in 4 with a #:vcenter. 
This makes the legends wobble instead of the circles. 



That looks OK to me, but maybe the legends shouldn't wobble either. 
In that case we need some sort of average displacement. 

A line average is insufficient e.g. the bottom line has no g. 
A total average seems inconvenient so I would do it with a fiddle factor. 
Replace 

 #:hcenter-in 4 


with

 #:with-dimensions (cons -2 2) (cons 0 1.5) #:center-align 


and adjust the 1.5 to taste. 



Cheers,
Robin



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


Skipping time without any output

2010-12-31 Thread Sven Axelsson
I'm I misreading the manual here? It says that s4 will create an
invisible rest which takes up space in the system, while \skip will
just skip time and create no output. But the example in section 1.2.2
Invisible rests clearly shows that \skip generates visible space. As
far as I can see s4 and \skip 4 generates exactly the same output.

Is there another way of just skipping time with no output whatsoever?
This is quite often needed when padding a partial bar in an
\alternative, for instance. I have dealt with this by using a scaling
duration on the last note in the bar, and that works, but frankly it
can be a bit hard to calculate the correct duration sometimes. And it
would be nicer if there was an explicit command available.

Thanks a lot

-- 
Sven Axelsson
++[+
-].+..+.+.-.+...
+++.-.++..++.++....

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


Re: Staff change in piano music - a general approach?

2010-12-31 Thread jakob lund
2010/12/31 Phil Holmes m...@philholmes.net:
 Strictly, the ignore-collision override doesn't just suppress warnings - it
 stops LilyPond trying to avoid them.  Shane has given you one option for
 avoiding the double flag in your final note.  An alternative would be to use
 \once \override Stem #'length = #n to adjust the stem lengths.  Another
 option would be to typeset the final alto note as voiceTwo, to make its stem
 face downwards.

 As Shane has said, I'm not sure there's a general solution, because what you
 want isn't something that's generally done - effectively to make chords out
 of different voices.

 --
 Phil Holmes


 - Original Message - From: Tobias Braun
 tob...@braun-oberkochen.de
 To: Phil Holmes m...@philholmes.net
 Cc: LilyPond User Group lilypond-user@gnu.org
 Sent: Friday, December 31, 2010 2:46 AM
 Subject: Re: Staff change in piano music - a general approach?


 Yes, you perfectly understood me. But using chords is totally impractical
 for me as I already have the individual voices as LilyPond code.

 I tried as you described below and I'm getting a little closer. However,
 there are still some problems, one of which you can see in the attached
 example: the final chord consisting of two eighth notes actually looks like
 a sixteenth note chord.

 \override NoteColumn #'ignore-collision = ##t
 is just to suppress the collision warnings, right?

 Regards,
 Tobias


 % example

 \version 2.12.3

 global = {
 \clef treble
 \time 2/2
 \key g \dorian
 }

 soprano = \relative c''' {
 \voiceOne
 g4 g d4. e8 |
 }

 alto = \relative c'' {
 \voiceOne
 b4 c b4. c8 |
 }

 tenor = \relative c'' {
 \voiceTwo
 g4 g g2 |
 }

 \score {
 \new Staff 
 \global
 \override NoteColumn #'ignore-collision = ##t
 \new Voice { \soprano }
 \new Voice { \alto }
 \new Voice { \tenor }

 }



I'm probably missing something here, but in your example it seems that

\score {
   \new Staff 
   \global
   \new Voice  \soprano  \alto 
   \new Voice \tenor
   
}

does what you want ?

Sorry if I'm being completely ignorant...
Jakob.



 




 Am 30.12.2010 um 11:21 schrieb Phil Holmes:

 Just checking - you can obviously do what you want from a presentation
 perspective, since you've provided an example that looks like it came from
 LilyPond.  I presume you did this using chords, but you want to avoid using
 chords in your application?

 The way I would do this would be to use:

 \override NoteColumn #'ignore-collision = ##t

 and then set the alto and soprano parts in voiceOne, and the tenor part in
 voiceTwo.  You do not need to set these for the duration of the piece, so
 when you cross the tenor part to the other stave, you can put the command
 \voiceTwo in the alto part and it will now be set into the second voice. You
 can also set \voiceOne for the tenor part.  You may also want to do:

 \override NoteColumn #'ignore-collision = ##f

 at the same point.

 Let us know how you get on.

 --
 Phil Holmes


 - Original Message - From: Tobias Braun
 tob...@braun-oberkochen.de
 To: Phil Holmes m...@philholmes.net
 Cc: tob...@braun-abstatt.de; LilyPond User Group
 lilypond-user@gnu.org
 Sent: Thursday, December 30, 2010 1:50 AM
 Subject: Re: Staff change in piano music - a general approach?


 Sorry about the reply all thing, I forgot that.

 I wasn't aware I was sending an HTML e-mail, sorry. That must have been my
 webmail client.

 What I actually want to achieve is to have it look as uncluttered as
 possible. It should be easy to read when playing it on the piano. I'd
 basically like to merge all three voices into as few stems as possible. E.g.
 the notes of the first beat in measure 1 which basically form a chord
 consisting of three notes of the same duration played at the same time
 should appear as stacked, not next to each other. There is no need to be
 able to distinguish the individual voices.

 As this is kind of hard to describe, please have a look at the attached
 PDF. I guess I'd prefer the first measure to look like Variant 1, but
 Variant 2 would be acceptable as well. (I achieved this sample PDF through
  chord syntax, which is not of much use to me as I already have the
 individual voices in continuous form.)

 Regards,
 Tobias



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


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


Re: Skipping time without any output

2010-12-31 Thread Xavier Scheuer
On 31 December 2010 14:59, Sven Axelsson sven.axels...@gmail.com wrote:

 I'm I misreading the manual here? It says that s4 will create an
 invisible rest which takes up space in the system, while \skip will
 just skip time and create no output. But the example in section 1.2.2
 Invisible rests clearly shows that \skip generates visible space. As
 far as I can see s4 and \skip 4 generates exactly the same output.

They generate the same output only in note mode and chord mode.
That's what is explained in the doc NR 1.2.2.
You must use  \skip  when entering lyrics for example.
AFAIK  s4  is like an invisible note.  It would create  Staff  and
 Voice  contexts if you use only  s4  but no output if you use  \skip .

See the 2 snippets (pictures) at the end of
NR 1.2.2 Writing rests  Invisible rests
http://lilypond.org/doc/v2.13/Documentation/notation/writing-rests.html#invisible-rests


 Is there another way of just skipping time with no output whatsoever?
 This is quite often needed when padding a partial bar in an
 \alternative, for instance. I have dealt with this by using a scaling
 duration on the last note in the bar, and that works, but frankly it
 can be a bit hard to calculate the correct duration sometimes. And it
 would be nicer if there was an explicit command available.

What do you want to do?
Maybe if you provide a minimal example of code we could give some
suggestions.

Have you read  NR 1.4.1 Long repeats  Normal repeats ?
It provides 2 examples (snippets) showing how to handle partial and
alternatives.
http://lilypond.org/doc/v2.13/Documentation/notation/long-repeats.html#normal-repeats

They do not use a scaling duration but instead they change measure
length  \set Timing.measureLength = #(ly:make-moment 3 4)
But most of the times it is not necessary.  Just remember to put
 \partial  only at the beginning of the score.

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: Skipping time without any output

2010-12-31 Thread Sven Axelsson
On 31 December 2010 15:32, Xavier Scheuer x.sche...@gmail.com wrote:
 On 31 December 2010 14:59, Sven Axelsson sven.axels...@gmail.com wrote:
 Is there another way of just skipping time with no output whatsoever?
 This is quite often needed when padding a partial bar in an
 \alternative, for instance. I have dealt with this by using a scaling
 duration on the last note in the bar, and that works, but frankly it
 can be a bit hard to calculate the correct duration sometimes. And it
 would be nicer if there was an explicit command available.

 What do you want to do?
 Maybe if you provide a minimal example of code we could give some
 suggestions.

 Have you read  NR 1.4.1 Long repeats  Normal repeats ?
 It provides 2 examples (snippets) showing how to handle partial and
 alternatives.
 http://lilypond.org/doc/v2.13/Documentation/notation/long-repeats.html#normal-repeats

Oh my, sometimes the obvious solution is not so obvious. As I said, I
need to pad partial bars in an alternative, and that can be done by
using - partial! As can be seen in one of the examples in 1.4.1. For
some reason it never occured to me to use partial in alternative.

Well, that takes care of that.

Thanks, and happy new year everybody!

-- 
Sven Axelsson
++[+
-].+..+.+.-.+...
+++.-.++..++.++....

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


Re: How do I stop circles from wobbling?

2010-12-31 Thread David Kastrup
Robin Bannister r...@dataway.ch writes:

 David Kastrup wrote: 
  the vertical extent should fit in the circles
  necessitated by the horizontal extent. 

 The 4 is big enough to ensure that all the vertical extents do fit,
 but (because of this) they all fit loosely. This looseness means that
 to decide where to position a circle vertically a further criterion is
 needed. 

 Behind the scenes the circle-stencil bases its circle on the centre of
 the vertical extent (see stencil.scm and issue 107). This of course
 varies e.g. between button strings G and g. 


  Can anybody tell me what to do to keep the circles from wobbling?


[...]

 A line average is insufficient e.g. the bottom line has no g. A
 total average seems inconvenient so I would do it with a fiddle
 factor. Replace 

  #:hcenter-in 4 

 with

  #:with-dimensions (cons -2 2) (cons 0 1.5) #:center-align 

 and adjust the 1.5 to taste. 

What I use currently is

#(define-markup-list-command (buttons layout props str) (string?)
  (map (lambda (str)
(interpret-markup layout props (markup #:hcenter-in 10.8 #:circle 
#:pad-to-box '(0 . 0) '(-0.5 . 2) #:hcenter-in 4 str)))
   (string-split str #\-)))

and this works reasonably well.

Thanks, I did not expect an answer anymore.

All the best,

-- 
David Kastrup


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


Re: Skipping time without any output

2010-12-31 Thread Sven Axelsson
On 31 December 2010 15:48, Sven Axelsson sven.axels...@gmail.com wrote:
 On 31 December 2010 15:32, Xavier Scheuer x.sche...@gmail.com wrote:
 On 31 December 2010 14:59, Sven Axelsson sven.axels...@gmail.com wrote:
 Is there another way of just skipping time with no output whatsoever?
 This is quite often needed when padding a partial bar in an
 \alternative, for instance. I have dealt with this by using a scaling
 duration on the last note in the bar, and that works, but frankly it
 can be a bit hard to calculate the correct duration sometimes. And it
 would be nicer if there was an explicit command available.

 What do you want to do?
 Maybe if you provide a minimal example of code we could give some
 suggestions.

 Have you read  NR 1.4.1 Long repeats  Normal repeats ?
 It provides 2 examples (snippets) showing how to handle partial and
 alternatives.
 http://lilypond.org/doc/v2.13/Documentation/notation/long-repeats.html#normal-repeats

 Oh my, sometimes the obvious solution is not so obvious. As I said, I
 need to pad partial bars in an alternative, and that can be done by
 using - partial! As can be seen in one of the examples in 1.4.1. For
 some reason it never occured to me to use partial in alternative.

However, for something like

\relative c'' {
\repeat volta 2 {
\partial 4 b4
c c c c | c c c c
} \alternative {
{ c4 c c c | b b b4*2 }
{ c4 c c c | d d d d }
}
}

I really have to use a scaling duration, right? The whole point with
this is of course to avoid extra whitespace at the end of the bar.

Thanks a lot.

-- 
Sven Axelsson
++[+
-].+..+.+.-.+...
+++.-.++..++.++....

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


Re: Skipping time without any output

2010-12-31 Thread Xavier Scheuer
On 31 December 2010 16:25, Sven Axelsson sven.axels...@gmail.com wrote:

 However, for something like

 \relative c'' {
\repeat volta 2 {
\partial 4 b4
c c c c | c c c c
} \alternative {
{ c4 c c c | b b b4*2 }
{ c4 c c c | d d d d }
}
 }

 I really have to use a scaling duration, right? The whole point with
 this is of course to avoid extra whitespace at the end of the bar.

That's typically the example given in the doc that use
  \set Timing.measureLength = #(ly:make-moment 3 4)

Then no problem of extra whitespace!

\relative c'' {
  \repeat volta 2 {
\partial 4 b4
c c c c | c c c c
  }
  \alternative {
{
  c4 c c c |
  \set Timing.measureLength = #(ly:make-moment 3 4)
  b b b4
}
{
  \set Timing.measureLength = #(ly:make-moment 4 4)
  c4 c c c |
  d d d d
}
  }
}


Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: ps to pdf conversion fails

2010-12-31 Thread Jan Warchoł
2010/12/28 jacquesv jw.verha...@gmail.com:
 The problem is general.

Strange, noone replies...
Maybe it's an undiscovered fatal bug in LilyPond. Try making a bug
report (http://lilypond.org/bug-reports.html).
Unfortunately i can't help you anymore :(

Happy New Year!
Janek

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


RE: ps to pdf conversion fails

2010-12-31 Thread James Lowe
Hello,


From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
[lilypond-user-bounces+james.lowe=datacore@gnu.org] on behalf of Jan 
Warchoł [lemniskata.bernoulli...@gmail.com]
Sent: 31 December 2010 15:33
To: jacquesv
Cc: lilypond-user@gnu.org
Subject: Re: ps to pdf conversion fails

2010/12/28 jacquesv jw.verha...@gmail.com:
 The problem is general.

Strange, noone replies...
Maybe it's an undiscovered fatal bug in LilyPond. Try making a bug
report (http://lilypond.org/bug-reports.html).
Unfortunately i can't help you anymore :(
---


Perhaps we need more information?

What does 'problem is general' mean. Every file you try if so can you provide 
one someone else can try independently?

As far as I can tell Phil answered with a relatively good idea - the PDF was 
opened for viewing.

We then seemed to digress slightly (myself included) with which PDF viewers 
didn't have problems, someone asked for a better message and then we get

'problem is general'.

So is there still a problem that *isn't* the PDF is open or not?

I simply don't know now.

James

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


Re: A small but vexing problem (fermatas in several voices)

2010-12-31 Thread Phil Hézaine
Le 31/12/2010 00:26, Alexander Kobel a écrit :
 On 2010-12-30 22:44, Michael J. O'Donnell wrote:
 Annoyance: the expressive part needs skips of the durations
 corresponding to the notes in between the expressive marks. Someday, I
 hope that LilyPond will have the facility to mark temporal points in
 various parts so that they can be aligned without counting out the beats
 correctly in each one. This would be structurally analogous to the use
 of TABs in a single line of typed material, but it would not be
 associated with lines of music, rather with entire scores.
 
 This idea of defining anchors or targets in the music is a
 long-standing [*], much-awaited request for enhancement.  See
 http://code.google.com/p/lilypond/issues/detail?id=824, and be sure to
 check out Gilles' workaround (comment #2).  I never tested Gilles' code,
 though, and I'm not sure whether it will work in the upcoming 2.14.
 
 [*] I think this idea is much older than the report filed in the tracker.
 
 Unfortunately IIUC this amounts to a quite invasive change in the whole
 LilyPond structure of parsing and handling input, and is unlikely to
 appear in the not-so-near future.  Especially since it does not increase
 overall functionality or output quality, and it's easy to overcome for
 freshly written LilyPond scores with reasonably clever variable definitions.
 
 
 Cheers,
 Alexander

Hi Michael,

If you are stopped with this issue I think I could change my files to
integrate one more variable with only the fermatas and rests. Would be
usefull for you? Anyway if I want to edit the 'breakpoints' in GNU
Solfege and avoid headaches, I need it later. However I work from the
Breitkopf's edition. It seems, at a rough guess, there aren't different
for that point but are containing only 371 chorals which are written on
2 Staffs. I've typed around 300 Chorals and I'm finally going to type
the whole thing. (ISMLP could be happy.) With a template and Frescobaldi
it isn't so difficult. Your work is very interesting for me because if i
have the ansvers about the use of a free license and the sources of
jsbchorales for a book, updating the files will be much easier. I'm
confident each of us are near the end of it, in a complementary way.
By the way, we also are near the end of 2010.
Happy New Year.
Phil.

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


Re: Skipping time without any output

2010-12-31 Thread Nick Payne

On 01/01/11 02:25, Sven Axelsson wrote:

On 31 December 2010 15:48, Sven Axelssonsven.axels...@gmail.com  wrote:

On 31 December 2010 15:32, Xavier Scheuerx.sche...@gmail.com  wrote:

On 31 December 2010 14:59, Sven Axelssonsven.axels...@gmail.com  wrote:

Is there another way of just skipping time with no output whatsoever?
This is quite often needed when padding a partial bar in an
\alternative, for instance. I have dealt with this by using a scaling
duration on the last note in the bar, and that works, but frankly it
can be a bit hard to calculate the correct duration sometimes. And it
would be nicer if there was an explicit command available.

What do you want to do?
Maybe if you provide a minimal example of code we could give some
suggestions.

Have you read  NR 1.4.1 Long repeats  Normal repeats ?
It provides 2 examples (snippets) showing how to handle partial and
alternatives.
http://lilypond.org/doc/v2.13/Documentation/notation/long-repeats.html#normal-repeats

Oh my, sometimes the obvious solution is not so obvious. As I said, I
need to pad partial bars in an alternative, and that can be done by
using - partial! As can be seen in one of the examples in 1.4.1. For
some reason it never occured to me to use partial in alternative.

However, for something like

\relative c'' {
 \repeat volta 2 {
 \partial 4 b4
 c c c c | c c c c
 } \alternative {
 { c4 c c c | b b b4*2 }
 { c4 c c c | d d d d }
 }
}

I really have to use a scaling duration, right? The whole point with
this is of course to avoid extra whitespace at the end of the bar.
I think you would use \set Score.measureLength = #(ly:make-moment 3 4) 
in the alternative if you want three quarter notes in the bar. See 
s.1.2.6 on time administration in the NR.


Nick

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


Re: A small but vexing problem (fermatas in several voices)

2010-12-31 Thread Michael Ellis
Hi Phil,
The problem is pretty well solved. I'm just cleaning up a few things
in my scripts today.

 I don't have all the answers yet regarding copyrights.  Margaret
Greentree's site seems to claim copyrights only to the PDF images and
those are freely shared for non-commercial use.  So I'm not quite sure
how that might apply to works derived from the MusicXML files.

My thought was to release my versions with attribution to her and a
Creative Commons license with similar conditions -- free use for
non-commercial purposes with attribution and share-alike.

Initially, I'm going to put the files into a googlecode site so it's
easy to allow more than one person to edit them.  I'll be happy to add
your name to the list of developers for the site.  Later on, I want
to put up a free site that can serve PDF, midi, and mp3 files.

Looking forward to working with you!

Cheers,
Mike



On Fri, Dec 31, 2010 at 1:48 PM, Phil Hézaine philippe.heza...@free.fr wrote:
 Le 31/12/2010 00:26, Alexander Kobel a écrit :
 On 2010-12-30 22:44, Michael J. O'Donnell wrote:
 Annoyance: the expressive part needs skips of the durations
 corresponding to the notes in between the expressive marks. Someday, I
 hope that LilyPond will have the facility to mark temporal points in
 various parts so that they can be aligned without counting out the beats
 correctly in each one. This would be structurally analogous to the use
 of TABs in a single line of typed material, but it would not be
 associated with lines of music, rather with entire scores.

 This idea of defining anchors or targets in the music is a
 long-standing [*], much-awaited request for enhancement.  See
 http://code.google.com/p/lilypond/issues/detail?id=824, and be sure to
 check out Gilles' workaround (comment #2).  I never tested Gilles' code,
 though, and I'm not sure whether it will work in the upcoming 2.14.

 [*] I think this idea is much older than the report filed in the tracker.

 Unfortunately IIUC this amounts to a quite invasive change in the whole
 LilyPond structure of parsing and handling input, and is unlikely to
 appear in the not-so-near future.  Especially since it does not increase
 overall functionality or output quality, and it's easy to overcome for
 freshly written LilyPond scores with reasonably clever variable definitions.


 Cheers,
 Alexander

 Hi Michael,

 If you are stopped with this issue I think I could change my files to
 integrate one more variable with only the fermatas and rests. Would be
 usefull for you? Anyway if I want to edit the 'breakpoints' in GNU
 Solfege and avoid headaches, I need it later. However I work from the
 Breitkopf's edition. It seems, at a rough guess, there aren't different
 for that point but are containing only 371 chorals which are written on
 2 Staffs. I've typed around 300 Chorals and I'm finally going to type
 the whole thing. (ISMLP could be happy.) With a template and Frescobaldi
 it isn't so difficult. Your work is very interesting for me because if i
 have the ansvers about the use of a free license and the sources of
 jsbchorales for a book, updating the files will be much easier. I'm
 confident each of us are near the end of it, in a complementary way.
 By the way, we also are near the end of 2010.
 Happy New Year.
 Phil.

 ___
 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


ANN: Solfege Resources -- 404 bach chorales in Lilypond format with Movable Do solfege.

2010-12-31 Thread Michael Ellis
I've just committed a first version of LilyPond sources for 404 Bach
chorales at  https://solfege-resources.googlecode.com.

The voice notation is extracted from Margaret Greentree's musicXML
files of the chorales at jsbchorales.net.  Each file creates PDF and
midi for the full score (typically SATB but some files also have
instrument voices) and each individual voice.  The LilyPond NoteNames
engraver is used to generate the solfege symbols as lyrics.  The files
are intended for non-commercial use and are licensed under a Creative
Commons Attribution + NonCommercial + ShareAlike license.

The layouts are somewhat sparse as these files are intended for
educational use.  There is a single include file, common.ly that can
be modified to change the layout, etc.  I've attached an example file
to this message.

I don't yet have a zipped package of all files, but you can get them
by cloning from the repository if you have Mercurial installed.

$ hg clone https://solfege-resources.googlecode.com/hg/ solfege-resources

I have not yet processed and inspected all the files, so you may find
problems.  Two files are already known to have problems that appear to
be caused by multi-measure rests in instrumental parts. I've submitted
an issue in the repository.

I'd welcome anyone who wants to collaborate.

Enjoy!

Happy New Year,
Mike






Cheers,
Mike


000106B.ly
Description: Binary data


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


Can't build local docs with current git pull

2010-12-31 Thread Patrick Horgan
Did git pull, make dist-clean, make all, make install, all completed 
fine.  Then make doc results in:


Renaming input to: `tablature-fretboard-open-string.ly']
Interpreting music...
[/usr/local/lilypond/out/share/lilypond/current/fonts/otf/emmentaler-20.otf]Segmentation 
fault (core dumped)
command failed: /usr/local/lilypond/out/bin/lilypond -I ./ -I ./out-www 
-I ../../input -I /usr/local/lilypond/Documentation -I 
/usr/local/lilypond/Documentation/snippets -I ../../input/regression/ -I 
/usr/local/lilypond/Documentation/included/ -I 
/usr/local/lilypond/mf/out/ -I /usr/local/lilypond/mf/out/ -I 
/usr/local/lilypond/Documentation/pictures -I 
/usr/local/lilypond/Documentation/pictures/./out-www -dbackend=eps 
--formats=ps,png,pdf  -dinclude-eps-fonts -dgs-load-fonts 
--header=doctitle --header=doctitlede --header=doctitlees 
--header=doctitlefr --header=doctitlehu --header=doctitleit 
--header=doctitleja --header=doctitlenl --header=texidoc 
--header=texidocde --header=texidoces --header=texidocfr 
--header=texidochu --header=texidocit --header=texidocja 
--header=texidocnl -dcheck-internal-types -ddump-signatures 
-danti-alias-factor=2 -I  /usr/local/lilypond/out/lybook-db  -I  
/usr/local/lilypond/input/regression  -I  
/usr/local/lilypond/input/regression  -I  
/usr/local/lilypond/input/regression/out-www  -I  
/usr/local/lilypond/input  -I  /usr/local/lilypond/Documentation  
-I  /usr/local/lilypond/Documentation/snippets  -I  
/usr/local/lilypond/input/regression  -I  
/usr/local/lilypond/Documentation/included  -I  
/usr/local/lilypond/mf/out  -I  /usr/local/lilypond/mf/out  -I  
/usr/local/lilypond/Documentation/pictures  -I  
/usr/local/lilypond/Documentation/pictures/out-www --formats=eps  
--verbose  -deps-box-padding=3.00  -dread-file-list 
-dno-strip-output-dir  


seg fault was here (at grob-property.cc:115)

110
111void
112Grob::internal_set_property (SCM sym, SCM v)
113{
114  internal_set_value_on_alist (mutable_property_alist_,
115   sym, v);
116
117}

mutable_property_alist_ is 0x4a, sym is 0xb7309050, and v is 0x1a.

using gcc 4.6.0 on ubuntu meercat

Is this a known thing or should I look at it?

Patrick

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


Happy New Year

2010-12-31 Thread Mike Blackstock
I hope it's  not too off-topic to wish everyone the best success in their
Lilypond projects. 2011,  give us your best ;)
M.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user