Re: Default placement of string number indication does not avoid sloping beam

2010-09-06 Thread Dmytro O. Redchuk
On Tue 31 Aug 2010, 17:39 Nick Payne wrote:
> \version "2.13.31"
> 
> \relative c'' {
> a'16[ e c a e  a]
> }
> 
> Nick
Thank you, added as 1250:
http://code.google.com/p/lilypond/issues/detail?id=1250

-- 
  Dmytro O. Redchuk
  Bug Squad

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


Re: (de)crescendo on items with specified volume

2010-09-06 Thread Dmytro O. Redchuk
On Wed 01 Sep 2010, 23:29 Graham Percival wrote:
> On Wed, Sep 01, 2010 at 11:24:55PM +0100, Neil Puttock wrote:
> > On 1 September 2010 22:51, Graham Percival  wrote:
> > 
> > > This looks like a harmless warning; I remember seeing it in 2003
> > > or 2004 or something like that.  I didn't find it with a quick
> > > glance at the issue tracker, so producing a minimal bug report
> > > -might- help somebody fix it... but it'll be competing with 400+
> > > other issues for attention.
> > 
> > Mark Polesky explained what's going on here:
> > 
> > http://lists.gnu.org/archive/html/lilypond-user/2008-11/msg00240.html
> 
> Still looks like a bug.  Our input syntax is defined to accept an
> absolute dynamic as ending a crescendo; in this case, the midi
> output show just "get a bit quieter", then resume the same volume.
> Either that, or give a better warning message.
> 
> Bug squad: do your stuff.
I am very sorry, i can not find original post; anyway.

Original poster, please, provide a minimal example.

I've tried[1] those lines by Mark[2] with "no success" -- i could not
reproduce error message mentioned.

I am sorry, very probably this is my fault. Please, provide a minimal example.

__
 1. % lilypond compiles this with no error:
\version "2.13.32"  % 2.12 does not issue "programming error", too.
\relative c'' {
g\f\< a b\f c
g\f\< a b\p c
g\p\> a b\p c
g\p\> a b\f c  
}
 2. http://lists.gnu.org/archive/html/lilypond-user/2008-11/msg00240.html

-- 
  Dmytro O. Redchuk
  Bug Squad

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


Re: segmentation fault with 2.13.32

2010-09-06 Thread Dmytro O. Redchuk
On Sat 04 Sep 2010, 16:22 Paul Scott wrote:
> I have reduced the problem to the presence of a \tempo command:
> 
> \version "2.13.32"
> 
> \score{ 
>   <<
> \new StaffGroup <<
>   \new Staff << 
>   {
>   %The following line causes a segmentation fault
> \tempo \markup\bold{ Andante } 
> \time 6/8 r4. dis4. 
>   }
>   >>
>   \new Staff << { R2. } >>
> >>
>   >>
> }
> 
> 
> I'm copying this to the bug list.
Thank you, added as 1251:
http://code.google.com/p/lilypond/issues/detail?id=1251

-- 
  Dmytro O. Redchuk
  Bug Squad

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


Re: List-email Suggestion

2010-09-06 Thread Graham Percival
On Mon, Sep 6, 2010 at 3:37 AM, Cameron Horsburgh  wrote:
> Please don't do this.

We're not going to change anything, and I don't know why people keep
on talking about changing the mailing list.

If anybody wants to get something special in the subject line, their
email client can add it for them.  The mailing list itself is not
changing.

Cheers,
- Graham

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


Re: List-email Suggestion

2010-09-06 Thread Wols Lists
 On 06/09/10 01:14, Brett McCoy wrote:
> Every other Linux based audio list I am on
> pre-pends subjects with the list name. Why is this such a horrible
> thing to do?
>
Because, like so many things, it's a nightmare when misused.

You said you like to scan by subject. Fine. Just wait until *A*L*L* you
can see of the subject is the fw's, re's, [list tag]'s etc. Been there,
done that. All you need is *somebody* *else's* badly-behaved email
client, and things get out of hand.

At the end of the day, this list abides by the RFCs, which *define* how
a *well* *behaved* list should operate. If you've got a badly behaved
mail client that can't cope, don't force your fix onto everyone else.
Why not do what I do, which is group by thread, and dump related groups
into the same folder - separate your music from your other lists, for
example.

Cheers,
Wol

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


Re: 2.13.32 not honouring margins and staves going off page

2010-09-06 Thread Nick Payne

On 05/09/10 21:46, Nick Payne wrote:

On 05/09/10 09:33, Neil Puttock wrote:
On 5 September 2010 00:07, Nick Payne  
wrote:
I haven't been able to reproduce this behaviour with a small 
example, but
I'm getting some staves in a score where lilypond tries to fit too 
many bars
and the stave goes past the margin and off the right-hand edge of 
the page,
and others where the the right-hand barline is at the correct margin 
but

notes go past the barline.

You have a few places where there are glissandos spanning a barline.
Line breaks will be forbidden at these points unless you allow
glissandos to be breakable:

\override Glissando #'breakable = ##t

Thanks. Adding

\override Staff.Glissando #'breakable = ##t

to the \score block fixed that problem, at the expense of increasing 
the page count by 50%. There's still a problem with vertical spacing 
in that with no bottom-system-spacing command in the paper block, the 
lowest stave on some pages overlays the page number at the bottom of 
the page. I had to add


bottom-system-spacing = #'((space . 4) (padding . 2) 
(stretchability . 0) (minimum-distance . 0))
this short example shows the problem with staves going off the bottom of 
the page:


%=
\version "2.13.32"

%#(set-global-staff-size 24.5)

\relative c'' {
\time 12/8
\repeat unfold 64 {
\repeat unfold 3 { c,16 d e f g a b c d e f g }
\mark\markup { text }
}
}
%=

the console output contains

warning: couldn't fit music on page: overflow is 14.473369
warning: couldn't fit music on page: overflow is 18.535638
warning: couldn't fit music on page: overflow is 0.413630

and staves are going off the bottom of pages 1 & 2. If I add a paper 
block to put page numbers at the bottom of the page and retain a tagline 
on the final page, staves go off the bottom of all three pages:


%=
\paper {
#(define (not-last-page layout props arg)
(if (and (chain-assoc-get 'page:is-bookpart-last-page props #f)
(chain-assoc-get 'page:is-last-bookpart props #f))
empty-stencil
(interpret-markup layout props arg)))

#(set-paper-size "a4")
ragged-bottom = ##f
ragged-last-bottom = ##f
ragged-last = ##f
oddHeaderMarkup = \markup \fill-line { "" }
evenHeaderMarkup = \markup \fill-line { "" }
oddFooterMarkup = \markup \fill-line { \column {
\fontsize #2
\on-the-fly #not-last-page \on-the-fly #not-first-page 
\fromproperty #'page:page-number-string

\on-the-fly #last-page \fromproperty #'header:tagline
} }
evenFooterMarkup = \markup \fill-line { \column {
\fontsize #2
\on-the-fly #not-last-page \on-the-fly #not-first-page 
\fromproperty #'page:page-number-string

\on-the-fly #last-page \fromproperty #'header:tagline
} }
}
%=

Nick



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


Re: 2.13.32 not honouring margins and staves going off page

2010-09-06 Thread Dmytro O. Redchuk
On Mon 06 Sep 2010, 22:09 Nick Payne wrote:
> this short example shows the problem with staves going off the
> bottom of the page:
> 
> %=
> \version "2.13.32"
> 
> %#(set-global-staff-size 24.5)
> 
> \relative c'' {
> \time 12/8
> \repeat unfold 64 {
> \repeat unfold 3 { c,16 d e f g a b c d e f g }
> \mark\markup { text }
> }
> }
> %=
Thank you, added as 1252:
http://code.google.com/p/lilypond/issues/detail?id=1252

> and staves are going off the bottom of pages 1 & 2. If I add a paper
> block to put page numbers at the bottom of the page and retain a
> tagline on the final page, staves go off the bottom of all three
> pages:
I believe this affects only numbers, not a whole behavior.

Thank you. I've added link to this thread to the issue report.

> %=
> \paper {
> #(define (not-last-page layout props arg)
> (if (and (chain-assoc-get 'page:is-bookpart-last-page props #f)
> (chain-assoc-get 'page:is-last-bookpart props #f))
> empty-stencil
> (interpret-markup layout props arg)))
> 
> #(set-paper-size "a4")
> ragged-bottom = ##f
> ragged-last-bottom = ##f
> ragged-last = ##f
> oddHeaderMarkup = \markup \fill-line { "" }
> evenHeaderMarkup = \markup \fill-line { "" }
> oddFooterMarkup = \markup \fill-line { \column {
> \fontsize #2
> \on-the-fly #not-last-page \on-the-fly #not-first-page
> \fromproperty #'page:page-number-string
> \on-the-fly #last-page \fromproperty #'header:tagline
> } }
> evenFooterMarkup = \markup \fill-line { \column {
> \fontsize #2
> \on-the-fly #not-last-page \on-the-fly #not-first-page
> \fromproperty #'page:page-number-string
> \on-the-fly #last-page \fromproperty #'header:tagline
> } }
> }
> %=
> 
> Nick

-- 
  Dmytro O. Redchuk
  Bug Squad

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


Meterless typesetting help

2010-09-06 Thread Richie Gress
I am trying to engrave music that has no meter; this is what I need help 
doing:


   * I need to engrave a score that has no time signature: I was
 thinking about entering the time signature in but having a
 universal command that will hide it whenever it changes.
   * I need to specify where I want the barlines to go.
   * I need to have some staves disappear when they only have rests in
 them, and then reappear later when they begin to have music again.
   * And finally I need to set the paper size to 8.5 * 11''

Could I have a little bit of help in doing these things, especially with 
the rhythms I need? I appreciate it very much...
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Meterless typesetting help

2010-09-06 Thread Graham Percival
On Mon, Sep 6, 2010 at 2:29 PM, Richie Gress  wrote:
> Could I have a little bit of help in doing these things, especially with the
> rhythms I need? I appreciate it very much...

The manuals should provide all the help you need; all those questions
are clearly answered in there.

- Graham

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


When was vspace introduced?

2010-09-06 Thread Christopher Meredith
I have been using latest stable (2.12.3) because that's what comes
with Ubuntu. Everything's fine, except it doesn't appear to recognize
vspace (I get compile errors). I installed 2.13.31 which does
recognize vspace, but now I am having problems with placement of all
my other objects (everything seems more cramped). I'd like to try the
earliest version that supports vspace to see if it solves both
problems at once.

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


Re: Meterless typesetting help

2010-09-06 Thread Xavier Scheuer
On 6 September 2010 15:29, Richie Gress  wrote:
>
> I am trying to engrave music that has no meter; this is what I need
> help doing:

Hi!


> I need to engrave a score that has no time signature: I was thinking
> about entering the time signature in but having a universal command
> that will hide it whenever it changes.

  \override Staff.TimeSignature #'stencil = ##f


> I need to specify where I want the barlines to go.

Use  \cadenzaOn  and explicit bar lines with  \bar "|" .
You'll probably also need  \bar ""  to permit line breaks.
See NR 1.2.3 Displaying rhythms > Unmetered music
http://lilypond.org/doc/v2.13/Documentation/notation/displaying-rhythms.html#unmetered-music


> I need to have some staves disappear when they only have rests in them,
> and then reappear later when they begin to have music again.

That's the purpose of  \RemoveEmptyStaffContext  (isn't the right name
\RemoveEmptyStaves now?).
See NR 1.6.2 Modifying single staves > Hiding staves
http://lilypond.org/doc/v2.13/Documentation/notation/modifying-single-staves.html#hiding-staves


> And finally I need to set the paper size to 8.5 * 11''

That's "letter", right?

  \paper {
#(set-paper-size "letter")
  }

NR 4.1.1 Paper size
http://lilypond.org/doc/v2.13/Documentation/notation/paper-size


> Could I have a little bit of help in doing these things, especially
> with the rhythms I need?  I appreciate it very much...

Hope this helps.

Cheers,
Xavier

--
Xavier Scheuer 

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


Re: When was vspace introduced?

2010-09-06 Thread Alexander Kobel

On 2010-09-06 15:45, Christopher Meredith wrote:

I have been using latest stable (2.12.3) because that's what comes
with Ubuntu. Everything's fine, except it doesn't appear to recognize
vspace (I get compile errors). I installed 2.13.31 which does
recognize vspace, but now I am having problems with placement of all
my other objects (everything seems more cramped). I'd like to try the
earliest version that supports vspace to see if it solves both
problems at once.


Hi, Christopher,

vspace has been introduced in the 2.13.x series.  This features the new 
vertical layout algorithm, which seems to cause you the problems.
But the definition of vspace works with 2.12.x (and probably even 
earlier) - just include the following in your file to "backport" it 
(taken from scm/define-markup-commands.scm):


#(define-markup-command (vspace layout props amount)
 (number?)
  (let ((amount (* amount 3.0)))
(if (> amount 0)
(ly:make-stencil "" (cons 0 0) (cons 0 amount))
(ly:make-stencil "" (cons 0 0) (cons amount amount)


HTH,
Alexander

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


Re: Lilypond on IMSLP

2010-09-06 Thread craigbakalian
On Mon, 2010-09-06 at 07:29 -0400, lilypond-user-requ...@gnu.org wrote:
> Re: Lilypond on IMSLP

Hi all, 

Since were on the topic of IMSLP, I just put up a piece for String
Orchestra.  The lilypond output is of topic is the Complete Full Score->

http://imslp.org/wiki/Running_with_Mr._Chakmakjian_%28Bakalian,_Craig%29


On page 47 of the score, for some reason, the bass staff stretches down
to the depths of the page.  This page is unlike any other page in the
output.  I did use:

\new Score \with { \override VerticalAlignment #'max-stretch =
#ly:align-interface::calc-max-stretch }

I did print a hard copy for a local group.  The bass staff gets clipped
off on page 47.
So, does anyone know why page 47 of my score is beyond max-stretch?


Craig Bakalian
560 Keswick Drive
Yardley, PA 19067
215-428-0856


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


Re: Meterless typesetting help

2010-09-06 Thread Alexander Kobel

On 2010-09-06 15:50, Xavier Scheuer wrote:

On 6 September 2010 15:29, Richie Gress  wrote:


I am trying to engrave music that has no meter; this is what I need
help doing:



I need to specify where I want the barlines to go.


Use  \cadenzaOn  and explicit bar lines with  \bar "|" .
You'll probably also need  \bar ""  to permit line breaks.  [...]


I need to have some staves disappear when they only have rests in them,
and then reappear later when they begin to have music again.


That's the purpose of  \RemoveEmptyStaffContext  (isn't the right name
\RemoveEmptyStaves now?).


AFAICS, for \RemoveEmptyStaffContext to work, you have to use 
MultiMeasureRests.  Do these work together with cadenzas?  The last time 
I checked (just two minor versions ago) I ran into trouble, both with 
score timing and the alignment of the MMR grob in the "measure"/cadenza.
Is there something like a "FullCadenzaRest", centered in a cadenza, and 
possibly split if the cadenza is broken into several lines?  If no, 
please consider this as a possible enhancement request... ;-)


In the meantime, if \cadenzaOn causes you trouble, try the following: 
Use \time 4/4 with \layout { \context { \Staff \remove 
Time_signature_engraver } } or \layout { \context { \Staff \override 
TimeSignature #'stencil = ##f } }, without \cadenzaOn, and use 
\scaleDurations to fit the music of each "measure" into 4/4:
{ c'4 c4 c2 c8 c2 } (of length 13/8) will be one "measure" with 
\scaleDurations #'(8 . 13) { c'4 c4 c2 c8 c2 }.



Cheers,
Alexander

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


Re: Lilypond on IMSLP

2010-09-06 Thread Alexander Kobel

On 2010-09-06 16:04, craigbakalian wrote:

http://imslp.org/wiki/Running_with_Mr._Chakmakjian_%28Bakalian,_Craig%29

On page 47 of the score, for some reason, the bass staff stretches down
to the depths of the page.  [...]
So, does anyone know why page 47 of my score is beyond max-stretch?


Hi, Craig,

hard to tell without the source files (and a minimal example ;-)), I 
suppose.  And yet another occurence of "leave the tagline if you can" - 
which LilyPond version did you use?  Unfortunately, the corresponding 
PDF header has been swept away by pdftk.



Cheers,
Alexander

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


Re: (de)crescendo on items with specified volume

2010-09-06 Thread Mark Polesky
Dmytro O. Redchuk wrote:
> I am very sorry, i can not find original post; anyway.
>
> Original poster, please, provide a minimal example.
>
> I've tried[1] those lines by Mark[2] with "no success" --
> i could not reproduce error message mentioned.
>
> I am sorry, very probably this is my fault. Please,
> provide a minimal example.

Dmytro,

Since the error is with the midi engine, you need to add a
\midi block to the \score (see below).

- Mark

* * * * * * * * * *

\version "2.13.32"

music = \relative c'' {
  c4\f\< c c\f c |
  c4\f\< c c\p c |
  c4\p\> c c\p c |
  c4\p\> c c\f c |

  c4\p\< c\! c\< c\f |
  c4\f\> c\! c\> c\p |
}

\score {
  \music
  \layout {}
  \midi {}
}


  

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


Re: Untrusted connection to LSR

2010-09-06 Thread Michael

Okay, thank you for the help.

Regards,

Michael Morales,
thenewmikemo...@aol.com

On 9/5/2010 11:56 PM, Kaz Kylheku wrote:


On Sun, 05 Sep 2010 22:36:31 -0700, Michael
wrote:

When trying to register for the LSR, Firefox gave be the "This
Connection is Untrusted" warning, trying to connect to
"lsr.dsu.unimi.it". Is this supposed to be this way, or is the
connection a regular unsecure one? Would it be fine to add an
exception?


The situation is that in order to use the encrypted HTTP protocol,
HTTPS, your browser has to store the web site's security
certificate (which is a fancy word for a public key which has
been certified (i.e. digitally signed) by some trusted
authority).

You have to store that key the first time you connect.
``Adding an exception'' means storing the key.
It doesn't happen automatically, because they key is
``untrusted''. This means that the website operators
did not pay money to some certification racket to have
it signed. They signed it themselves (that's
what the ``self-signed'' certificate means).

Since you don't actually trust this website regardless
of who signed their certificate (do you personally
know the operators of the LSR?) this is all moot!
All you want is to have an encrypted connection to that
site so that someone doesn't easily sniff your password
and take over the account you register. Self-signed certificates
are adequate for that purpose and okay to accept.





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


Question about JEdit/LilyPondTool on Mac

2010-09-06 Thread Seth Williamson
I have been struggling with what looks like a real simple problem.  That I
can't find the answer is possibly due to my being relatively new with Macs.

At any rate, below I copy a note I sent to the LilyPondTool list.  If
anybody on this list has the answer, I'd love to hear it.

Seth Williamson


OK, I am having the most basic problem imaginable with getting LilyPond and
LilyPond Tool to work together with JEdit on my MacBook Pro.

When I go to Process/View and choose Run LilyPond, I get a variety of
errors.  I think they come down to not getting the path and/or start command
correct.

So far as I can tell, I've got LilyPond 2.app installed under Applications.
 I can see it there with Finder.

Under PlugIn Options, I have tried about every combination of path and
"LilyPond command" to get the program started, and I get an error message
every time.

Can somebody tell me what the path is supposed to look like?  Please spell
it out precisely if you don't mind, because obviously I'm not smart enough
to figure this out myself.

Also, should there be something under LilyPond command to start the program,
and if so, what is it exactly?

I would really like to get past this initial problem so I can start using
the LilyPond/JEdit/LilyPondTool combination, but I am hosed up at this one
spot and really frustrated.

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


Re: (de)crescendo on items with specified volume

2010-09-06 Thread Dmytro O. Redchuk
On Mon 06 Sep 2010, 08:47 Mark Polesky wrote:
> Dmytro,
> 
> Since the error is with the midi engine, you need to add a
> \midi block to the \score (see below).
:-)
Thanks!

Thanks to all of you, added as 1253:
http://code.google.com/p/lilypond/issues/detail?id=1253

-- 
  Dmytro O. Redchuk
  Bug Squad

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


Re: Question about JEdit/LilyPondTool on Mac

2010-09-06 Thread Philippe Massart
Hello,

I think it's because when you install JEdit for the first time on a Mac, the 
path for Lilypond is set to "C:/Program Files/" etc.

I think you just have to remove any path (first field). 

If it doesn't work, you can put this one, as your Lilypond app is located in 
the Applications folder :

/Applications/LilyPond.app/Contents/Resources/bin

Second field (the one to invoke Lilpond) is simply : lilypond

Philippe


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


Re: When was vspace introduced?

2010-09-06 Thread -Eluze



Christopher Meredith wrote:
> 
> I have been using latest stable (2.12.3) because that's what comes
> with Ubuntu. Everything's fine, except it doesn't appear to recognize
> vspace (I get compile errors). I installed 2.13.31 which does
> recognize vspace, but now I am having problems with placement of all
> my other objects (everything seems more cramped). I'd like to try the
> earliest version that supports vspace to see if it solves both
> problems at once.
> 

i think it was 2.13.7 - but maybe it would be more efficient to report the
problems you have (with a little bit of code) to see what can be done about
it!
-- 
View this message in context: 
http://old.nabble.com/When-was-vspace-introduced--tp29634442p29634522.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


MIDI file not being generated on windows. Not sure why.

2010-09-06 Thread Dejas Ninethousand
I followed the example shown here:

http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Creating-MIDI-files#Creating-MIDI-files

to create:

---
\version "2.10.33"
\score
{
\header { title = "Exercise" }
\new Staff {
\time 4/4
<< {g''4 4 g''4 4} \\ {f'8 f'8 r4 f'8 f'8 r4} >>
<< {g''4 4 g''4 4} \\ {f'8 f'8 r8 f'8 r8 f'8 r4} >>
<< {g''4 4 g''4 4} \\ {f'8 f'8 r4 f'8 f'8 r4} >>
<< {g''4 4 g''4 4} \\ {f'8 f'8 r8 f'8 r8 f'8 r4} >>
<< {g''4 4 g''4 4} \\ {f'8 f'8 r4 f'8 f'8 r4} >>
<< {g''4 4 g''4 4} \\ {f'8 f'8 r8 f'8 r8 f'8 r4} >>
<< {g''4 4 g''4 4} \\ {f'8 f'8 r4 f'8 f'8 r4} >>
<< {c''8 c''8 r8 c''8 c''8 r8 c''8 c''8} >>
}
\midi {
 \context {
   \Score
   tempoWholesPerMinute = #(ly:make-moment 72 4)
   }
 }
}
--

However when I drag the .ly file onto the lilypond shortcut in windows the
correct pdf and ps are generated, but no .midi file is generated.

Did I do something wrong?

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


Re: MIDI file not being generated on windows. Not sure why.

2010-09-06 Thread Xavier Scheuer
On 7 September 2010 00:09, Dejas Ninethousand  wrote:
>
> I followed the example shown here:
>
> http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Creating-MIDI-files#Creating-MIDI-files
>
> to create:
>
> [...]
>
> However when I drag the .ly file onto the lilypond shortcut in windows
> the correct pdf and ps are generated, but no .midi file is generated.
>
> Did I do something wrong?

Hi!

Your code produces errors because you have inserted the  \header block
within the  \score block (music expression should come first).
Please move \header  away (before you  \score block).
Therefore (and I don't know why) LilyPond is complaining but is still
producing a PDF (and only a PDF).

Move your  \header block outside (before) your  \score block and then
the MIDI (and only the MIDI) file is produced.  To produce both MIDI
and PDF, add also a  \layout block within your score.  ;-)

BTW version 2.10.33 is quite old now.
Please consider upgrading to latest stable version (2.12.3) at least.


\version "2.10.33"
\header { title = "Exercise" }  % XS: moved outside \score
\score
{
\new Staff {
\time 4/4
<< {g''4 4 g''4 4} \\ {f'8 f'8 r4 f'8 f'8 r4} >>
<< {g''4 4 g''4 4} \\ {f'8 f'8 r8 f'8 r8 f'8 r4} >>
<< {g''4 4 g''4 4} \\ {f'8 f'8 r4 f'8 f'8 r4} >>
<< {g''4 4 g''4 4} \\ {f'8 f'8 r8 f'8 r8 f'8 r4} >>
<< {g''4 4 g''4 4} \\ {f'8 f'8 r4 f'8 f'8 r4} >>
<< {g''4 4 g''4 4} \\ {f'8 f'8 r8 f'8 r8 f'8 r4} >>
<< {g''4 4 g''4 4} \\ {f'8 f'8 r4 f'8 f'8 r4} >>
<< {c''8 c''8 r8 c''8 c''8 r8 c''8 c''8} >>
}
\midi {
 \context {
   \Score
   tempoWholesPerMinute = #(ly:make-moment 72 4)
   }
 }
}


Cheers,
Xavier

--
Xavier Scheuer 

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


Re: MIDI file not being generated on windows. Not sure why.

2010-09-06 Thread Dejas Ninethousand
That fixed it! Thank you very much!

On Mon, Sep 6, 2010 at 5:28 PM, Xavier Scheuer  wrote:

> On 7 September 2010 00:09, Dejas Ninethousand  wrote:
> >
> > I followed the example shown here:
> >
> >
> http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Creating-MIDI-files#Creating-MIDI-files
> >
> > to create:
> >
> > [...]
> >
> > However when I drag the .ly file onto the lilypond shortcut in windows
> > the correct pdf and ps are generated, but no .midi file is generated.
> >
> > Did I do something wrong?
>
> Hi!
>
> Your code produces errors because you have inserted the  \header block
> within the  \score block (music expression should come first).
> Please move \header  away (before you  \score block).
> Therefore (and I don't know why) LilyPond is complaining but is still
> producing a PDF (and only a PDF).
>
> Move your  \header block outside (before) your  \score block and then
> the MIDI (and only the MIDI) file is produced.  To produce both MIDI
> and PDF, add also a  \layout block within your score.  ;-)
>
> BTW version 2.10.33 is quite old now.
> Please consider upgrading to latest stable version (2.12.3) at least.
>
>
> \version "2.10.33"
> \header { title = "Exercise" }  % XS: moved outside \score
> \score
> {
> \new Staff {
> \time 4/4
> << {g''4 4 g''4 4} \\ {f'8 f'8 r4 f'8 f'8 r4} >>
> << {g''4 4 g''4 4} \\ {f'8 f'8 r8 f'8 r8 f'8 r4} >>
> << {g''4 4 g''4 4} \\ {f'8 f'8 r4 f'8 f'8 r4} >>
> << {g''4 4 g''4 4} \\ {f'8 f'8 r8 f'8 r8 f'8 r4} >>
> << {g''4 4 g''4 4} \\ {f'8 f'8 r4 f'8 f'8 r4} >>
> << {g''4 4 g''4 4} \\ {f'8 f'8 r8 f'8 r8 f'8 r4} >>
> << {g''4 4 g''4 4} \\ {f'8 f'8 r4 f'8 f'8 r4} >>
> << {c''8 c''8 r8 c''8 c''8 r8 c''8 c''8} >>
> }
> \midi {
> \context {
>   \Score
>   tempoWholesPerMinute = #(ly:make-moment 72 4)
>   }
> }
> }
>
>
> Cheers,
> Xavier
>
> --
> Xavier Scheuer 
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Before I clobber my LilyPond V-2.10...

2010-09-06 Thread PMA
Is LilyPond 2.12.2-1 (for Debian "squeeze") likely to work on Debian 
"Lenny"?


Alexander Kobel wrote:

On 2010-09-06 15:50, Xavier Scheuer wrote:
On 6 September 2010 15:29, Richie Gress  
wrote:


I am trying to engrave music that has no meter; this is what I need
help doing:



I need to specify where I want the barlines to go.


Use  \cadenzaOn  and explicit bar lines with  \bar "|" .
You'll probably also need  \bar ""  to permit line breaks.  [...]


I need to have some staves disappear when they only have rests in them,
and then reappear later when they begin to have music again.


That's the purpose of  \RemoveEmptyStaffContext  (isn't the right name
\RemoveEmptyStaves now?).


AFAICS, for \RemoveEmptyStaffContext to work, you have to use 
MultiMeasureRests.  Do these work together with cadenzas?  The last time 
I checked (just two minor versions ago) I ran into trouble, both with 
score timing and the alignment of the MMR grob in the "measure"/cadenza.
Is there something like a "FullCadenzaRest", centered in a cadenza, and 
possibly split if the cadenza is broken into several lines?  If no, 
please consider this as a possible enhancement request... ;-)


In the meantime, if \cadenzaOn causes you trouble, try the following: 
Use \time 4/4 with \layout { \context { \Staff \remove 
Time_signature_engraver } } or \layout { \context { \Staff \override 
TimeSignature #'stencil = ##f } }, without \cadenzaOn, and use 
\scaleDurations to fit the music of each "measure" into 4/4:
{ c'4 c4 c2 c8 c2 } (of length 13/8) will be one "measure" with 
\scaleDurations #'(8 . 13) { c'4 c4 c2 c8 c2 }.



Cheers,
Alexander

___
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: Before I clobber my LilyPond V-2.10...

2010-09-06 Thread Alexander Kobel

On 2010-09-07 02:20, PMA wrote:

Is LilyPond 2.12.2-1 (for Debian "squeeze") likely to work on Debian
"Lenny"?


Most probably: yes.  You can also instantly start using 2.12.3 or even 
the unstable development version 2.13.32 (both from the lilypond.org 
website, not from the package archives).  Although it's not the official 
policy, I recommend to get the latter, since the vertical spacing engine 
has been completely rewritten (mostly by Joe Neeman) for the 2.13.x 
series.  It yields far better results now, and it is what you can expect 
to see in the future stable versions.  If you switch now, you have more 
chances to keep your input files mostly unchanged with the upcoming 
releases.



Alexander Kobel wrote:

On 2010-09-06 15:50, Xavier Scheuer wrote:

On 6 September 2010 15:29, Richie Gress
wrote:


Ugh, don't hijack threads!  Make a new one, please.


HTH,
Alexander

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


humber as easy note head

2010-09-06 Thread MING TSANG
I ran the following snippet and an error occurs (please refer to red text 
below)Please help.


Numbers as easy note heads
Easy notation note heads use the note-names property of the NoteHead object to 
determine what appears inside the note head.  By overriding this property, it 
is 
possible to print numbers representing the scale-degree. 

A simple engraver can be created to do this for every note head object it sees. 
#(define Ez_numbers_engraver
   (list
(cons 'acknowledgers
  (list
   (cons 'note-head-interface
 (lambda (engraver grob source-engraver)
   (let* ((context (ly:translator-context engraver))
  (tonic-pitch (ly:context-property context 'tonic))
  (tonic-name (ly:pitch-notename tonic-pitch))
  (grob-pitch
   (ly:event-property (event-cause grob) 'pitch))
  (grob-name (ly:pitch-notename grob-pitch))
  (delta (modulo (- grob-name tonic-name) 7))
  (note-names
   (make-vector 7 (number->string (1+ delta)
 (ly:grob-set-property! grob 'note-names note-names

#(set-global-staff-size 26)

\layout {
  ragged-right = ##t
  \context {
\Voice
\consists \Ez_numbers_engraver
  }
}

\relative c' {
  \easyHeadsOn
  c4 d e f
  g4 a b c \break

  \key a \major
  a,4 b cis d
  e4 fis gis a \break

  \key d \dorian
  d,4 e f g
  a4 b c d
}



This is a console shell for running LilyPond and related commands. Enter %help 
to see the available special commands.
> %lilypond %args "C:\Documents and 
>Settings\Administrator\Desktop\LILY_POND\numbers.ly"
正在處理 ‘C:/Documents and Settings/Administrator/Desktop/LILY_POND/numbers.ly’
分析中...
C:/Documents and Settings/Administrator/Desktop/LILY_POND/numbers.ly:36:14: 錯誤: 
syntax error, unexpected SCM_IDENTIFIER, expecting STRING
\consists 
  \Ez_numbers_engraver

Interpreting music... 
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `numbers.ps'...
轉換為 ‘./numbers.pdf’...
錯誤: failed files: "C:\\Documents and 
Settings\\Administrator\\Desktop\\LILY_POND\\numbers.ly"
Processing time: 14 seconds
> 
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: List-email Suggestion

2010-09-06 Thread David Rogers

* Graham Percival  [2010-09-06 11:33]:


We're not going to change anything, and I don't know why people keep
on talking about changing the mailing list.


They do it because the vast majority of mailing lists to which they
subscribe follow what have become the de facto accepted mailing list
standards; those have become the de facto standards because they work
better than the published standards, for most people most of the time. I
would venture to guess that they perceive the attitude of this list's
administrators as resembling that of the mythical Japanese soldiers who
were said to be found bravely fighting on after the war was over.

I really only see two requests for change, which pop up again and again;
those are of course the two recently discussed - making the list the
default reply-to address, and prefixing the subject line.

--
David

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


Lilypond help for hire?

2010-09-06 Thread Karl Nelson
Does anyone out there do Lilypond consulting?

I'm looking for someone to help with one or both of these:

a) Formatting a few songs for publication. All of the entry and layout is
done, but I'm having trouble getting things to look exactly how I'd like
them to look.

b) Entering a number of songs (as in, I have a scan of music in question,
and need it converted into lilypond and ready for publication.

If you're interested in contracting to do either of these, please send me an
email at karl.nelson at pietisten.org.

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


Re: List-email Suggestion

2010-09-06 Thread Kaz Kylheku

On Mon, 6 Sep 2010 19:10:59 -0700, David Rogers
 wrote:
> * Graham Percival  [2010-09-06 11:33]:
> 
>>We're not going to change anything, and I don't know why people keep
>>on talking about changing the mailing list.
> 
> They do it because the vast majority of mailing lists to which they
> subscribe follow what have become the de facto accepted mailing list
> standards; those have become the de facto standards because they work
> better than the published standards, for most people most of the time.

You keep repeating this, without dropping a slightest hint about
what exactly it is that isn't working, while it remains
ironically clear that you can read everything and reach everyone
just fine.






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


Equivalent to 'Gap before Bar'

2010-09-06 Thread Marc Schonbrun
Hello,

One element that I use quite often in Sibelius is 'Gap before Bar', which, 
unsurprisingly, places a gap before the bar you've selected. It's wonderful for 
writing books and examples where you want to have two columns of equally spaced 
single measures. What's the easiest way to do this in Lilypond? I know that I 
can just do a blank measure between the two measures I'd like to use, but I was 
wondering if Lilypond has an equivalent property for creating a user-defined 
space between measures. I've looked in the documentation, but didn't easily 
find the answer. 

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


Confusion about beaming

2010-09-06 Thread Marc Schonbrun
Hello,

I was wondering about why the decision was made in the input syntax parser to 
view beaming groups as follows:

}

\relative {
  c8 d [e f g a b c]
}

The above snippet beams from the d through to the final c. At first glance, it 
would appear that the brackets are encasing the e through c, and those notes 
would end up beamed together, but, alas, this is not the case. 

This is one of those things that I can happily learn, but it takes a pause to 
get it right. Can someone comment on the history of this? I am simply curious.

Thanks,
Marc


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


Re: Confusion about beaming

2010-09-06 Thread Peter Chubb
> "Marc" == Marc Schonbrun  writes:

Marc> Hello, I was wondering about why the decision was made in the
Marc> input syntax parser to view beaming groups as follows:


Marc> \relative { c8 d [e f g a b c] }

Marc> The above snippet beams from the d through to the final c. At
Marc> first glance, it would appear that the brackets are encasing the
Marc> e through c, and those notes would end up beamed together, but,
Marc> alas, this is not the case.

LilyPond used to do treat brackets (for beaming) and parentheses (for
slurs and grouping) as grouping operators.  It was decided at one
point to change as much of the syntax as possible to be postfix -- so
`[' isn't a grouping symbol outside the start of a group, but a
`start-beam' operator attached to the note it follows.  Likewise (
isn't a grouping symbol but a 'start-slur' operator attached to the
note it follows.  If these symbols are treated as paired grouping operators,
it's difficult to handle nesting properly --- beams, slurs and phrase
marks are all independent groups.

This leaves { and } the only real grouping symbols, and they have to
nest strictly.  But slurs, phrasemarks and beams can span groups, and
each other.



--
Dr Peter Chubb  peter DOT chubb AT nicta.com.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia
All things shall perish from under the sky/Music alone shall live, never to die

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


Re: Confusion about beaming

2010-09-06 Thread Marc Schonbrun

On Sep 6, 2010, at 9:51 PM, Michael wrote:

> What I've normally done to make it clear is place the [ bracket directly 
> after the first d. See below.
> 
> \relative c' {
> c8 d[ e f g a b c]
> }
> 
> I feel this helps the clarity of the code, but this is what I do, I'm unsure 
> of anyone else.
> 
> Regards,
> 
> Michael Morales,
> thenewmikemo...@aol.com



Michael,

It's a small tweak, but it does help. Thanks.

Marc

> 
> On 9/6/2010 9:47 PM, Marc Schonbrun wrote:
>> Hello,
>> 
>> I was wondering about why the decision was made in the input syntax parser 
>> to view beaming groups as follows:
>> 
>> }
>> 
>> \relative {
>>   c8 d [e f g a b c]
>> }
>> 
>> The above snippet beams from the d through to the final c. At first glance, 
>> it would appear that the brackets are encasing the e through c, and those 
>> notes would end up beamed together, but, alas, this is not the case.
>> 
>> This is one of those things that I can happily learn, but it takes a pause 
>> to get it right. Can someone comment on the history of this? I am simply 
>> curious.
>> 
>> Thanks,
>> Marc
>> 
>> 
>> ___
>> 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: Confusion about beaming

2010-09-06 Thread Marc Schonbrun

On Sep 6, 2010, at 9:57 PM, Peter Chubb wrote:

>> "Marc" == Marc Schonbrun  writes:
> 
> Marc> Hello, I was wondering about why the decision was made in the
> Marc> input syntax parser to view beaming groups as follows:
> 
> 
> Marc> \relative { c8 d [e f g a b c] }
> 
> Marc> The above snippet beams from the d through to the final c. At
> Marc> first glance, it would appear that the brackets are encasing the
> Marc> e through c, and those notes would end up beamed together, but,
> Marc> alas, this is not the case.
> 
> LilyPond used to do treat brackets (for beaming) and parentheses (for
> slurs and grouping) as grouping operators.  It was decided at one
> point to change as much of the syntax as possible to be postfix -- so
> `[' isn't a grouping symbol outside the start of a group, but a
> `start-beam' operator attached to the note it follows.  Likewise (
> isn't a grouping symbol but a 'start-slur' operator attached to the
> note it follows.  If these symbols are treated as paired grouping operators,
> it's difficult to handle nesting properly --- beams, slurs and phrase
> marks are all independent groups.
> 
> This leaves { and } the only real grouping symbols, and they have to
> nest strictly.  But slurs, phrasemarks and beams can span groups, and
> each other.
> 
> 
> 
> --
> Dr Peter Chubb  peter DOT chubb AT 
> nicta.com.au
> http://www.ertos.nicta.com.au   ERTOS within National ICT 
> Australia
> All things shall perish from under the sky/Music alone shall live, never to 
> die


Peter,

Thank you for the explanation. It's just something I need to get used to.

Thanks,
Marc



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


Re: Confusion about beaming

2010-09-06 Thread Michael

No problem. :)

Regards,

Michael Morales,
thenewmikemo...@aol.com

On 9/6/2010 10:06 PM, Marc Schonbrun wrote:


On Sep 6, 2010, at 9:51 PM, Michael wrote:


What I've normally done to make it clear is place the [ bracket directly after 
the first d. See below.

\relative c' {
c8 d[ e f g a b c]
}

I feel this helps the clarity of the code, but this is what I do, I'm unsure of 
anyone else.

Regards,

Michael Morales,
thenewmikemo...@aol.com




Michael,

It's a small tweak, but it does help. Thanks.

Marc



On 9/6/2010 9:47 PM, Marc Schonbrun wrote:

Hello,

I was wondering about why the decision was made in the input syntax parser to 
view beaming groups as follows:

}

\relative {
   c8 d [e f g a b c]
}

The above snippet beams from the d through to the final c. At first glance, it 
would appear that the brackets are encasing the e through c, and those notes 
would end up beamed together, but, alas, this is not the case.

This is one of those things that I can happily learn, but it takes a pause to 
get it right. Can someone comment on the history of this? I am simply curious.

Thanks,
Marc


___
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: List-email Suggestion

2010-09-06 Thread Dmytro O. Redchuk
On Mon 06 Sep 2010, 19:10 David Rogers wrote:
> making the list the default reply-to address,
Still there is no obvious reason. This looks like holywar now, so, probably,
shouldn't be discussed so much?..

I would suggest to create [another =:O] webpage with reasons why this must be
done, because os this topic seems to be difficult enough to discuss it in
threaded manner :O)

Really, i can not see any reason to discuss this here without [another =:O]
untrusted reference.

> and prefixing the subject line.
Won't you admit that this is requested most probably by users which don't know
about message header's fields? And therefore don't realize that their needs
may be satisfied AS EASY AS with prefixed subject line AND with no any change
to mailing list?

Ugh.. Sorry for the noise.

-- 
  Dmytro O. Redchuk
  Bug Squad

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