Re: Space on the left end of each line

2007-11-29 Thread till

What about just blanking the bar lines? This will give unfortunately tiny
bits of additional space around the barlines (I have not yet figured out how
to remove them), but for rhythmically spaced music it might not be even
visible. Then your clefs should again appear, and you can just make them
also invisible, with a \once \override to make the first clef visible again.

Till


Don Blaheta wrote:
 
 Quoth Mats Bengtsson:
 Don Blaheta wrote:
  I'm setting a bunch of plainchant stuff in more or less modern
  notation, so it uses modern note heads and spacing rules and five
  lines, but still doesn't have a time signature or key signature and
  the clef is only printed on the first line. [...] I'd like to allow
  a fixed-width space at the beginning of the line before the notes
  start rendering.
 
 You didn't tell how you removed the clef and key signatures.
 If you use
 \override Staff.KeySignature #'transparent = ##t
 \override Staff.Clef #'transparent = ##t
 then they will still take the same space as if they were printed.
 However, based on your problem description, it seems that you have
 rather removed the engravers or set ... #'stencil = ##f, which completely
 removes the clef and time signatures.
 
 In fact the issue is that I've removed the Bar engraver, since this is
 plainchant; without a bar engraver, the clef is never printed at the
 start of the line.  Come to think of it, I'd actually be happy if I just
 got the clef signs back.
 
 In the latter case, a direct answer to your question is
 \override Score.LeftEdge #'space-alist #'first-note = #'(fixed-space .
 10.0)
 
 This doesn't seem to do anything at all, whether at the start of the
 Score, start of the Staff, or anyplace else I can find where it's a
 syntactically valid statement.
 
 Quoth Kieren MacMillan:
 Have you thought about adding this value to the 'X-extent of the  
 first note? e.g.,
  \once \override NoteColumn #'X-extent = #'(-20 . 1)
 
 Even this doesn't seem to work; when I put it before any other note on
 the line, I get the expected space, but when it is on the first note of
 the line, nothing happens.  (Not quite true: if I put it on the first
 note of a line that has other stuff on it, e.g. a clef, then it works.
 So it looks like the X-extent of the leftmost note is allowed to hang
 off the edge of the staff somehow.)
 
 I confess I'm a little relieved; I was not looking forward to adding all
 these manually!
 
 -- 
 -=-Don [EMAIL PROTECTED]http://www.blahedo.org/-=-
 Actually, it's the dice that play God with the universe.
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
 

-- 
View this message in context: 
http://www.nabble.com/Space-on-the-left-end-of-each-line-tf4818900.html#a14021224
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


Stanza strangeness

2007-11-29 Thread Don Blaheta
I've noticed some curious behaviour with \set stanza.  (Admittedly, I'm
abusing it a bit, so it's not surprising this wouldn't've come up in
testing!)

If in a Lyrics context I put in a literal
  \set stanza = *
then the name of the stanza (here an asterisk) is printed in the lyric,
just as I wanted it to be, without attaching itself to a note.  It does
this even if there are other identical \set stanza marks in the same
vicinity.

But if I try to bundle it into a pre-packaged command, it only works if
the stanza does not already have that name.  Thus, it works fine the
first time, but not subsequent times.  Consider:

  join = { \set stanza = * }

  \new Lyrics \lyricsto mel \lyricmode {
  A -- gnus De -- i,
  \join
qui tol -- lis pec -- ca -- ta mun -- di:
mi -- se -- re -- re no -- bis.

  A -- gnus De -- i,
  \join 
qui tol -- lis pec -- ca -- ta mun -- di:
mi -- se -- re -- re no -- bis.

  A -- gnus De -- i,
  \join 
qui tol -- lis pec -- ca -- ta mun -- di:
do -- na no -- bis pa -- cem.
  }

When I try this in 2.10.33, the first asterisk prints but the next two
don't.  If I replace all the \join lines with the original \set stanza,
they all print.  If I replace just the second \join with a \set stanza,
all three print.  If I replace just the third \join, then the first and
third print.

I can't imagine a reason why having that in-line vs in a macro *should*
affect the behaviour, though I imagine in practice it's something to do
with the macro version's string being evaluated once and therefore being
referentially equal to itself.  Or I could be completely off-base and
this could be not a bug, but a feature. :)

-- 
-=-Don [EMAIL PROTECTED]http://www.blahedo.org/-=-
Even the kindest of souls occasionally harbor unkind thoughts, but if
they can plausibly deny them, no harm is done. --Miss Manners


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


Re: missing half rest in pdf

2007-11-29 Thread Jay Hamilton
Mats- There was no error log, and it certainly didn't in the print out on my 
side. The mistake (a missing r2 ) is what I couldn't find/see.
Thank you.


Yours-
Jay

Jay Hamilton
www.soundand.com
206-328-7694

--- [EMAIL PROTECTED] wrote:

From: Mats Bengtsson [EMAIL PROTECTED]
To:  [EMAIL PROTECTED]
CC: Lilypond User lilypond-user@gnu.org
Subject: Re: missing half rest in pdf
Date: Thu, 29 Nov 2007 06:39:07 +0100

If you are refering to the rest just before the comment in your
code, it's certainly present inthe printed output, but probably
not on the beat you expect to find it. The problem is that your
first ending ends in the middle of a bar (a typo?) which triggers
the bug http://code.google.com/p/lilypond/issues/detail?id=355.
As you can see in the bug report and in recent versions of the
manual, the workaround is to add an appropriate \partial
directive.

When I tried this in your example, I noted that there seems to
be more rhythmical problems in your file. I strongly encourage
you to use bar checks to easily detect such problems.

   /Mats

Jay Hamilton wrote:

The printout for this score in the 'volta' is missing the half rest which is 
in the code and I don't see an example in the pdf manual that tells me what I 
am doing to cause that.

\version 2.10.25
\header {
  title = Desafinado for alto
  composer = Antonio Carlos Jobim

  copyright = \markup { \tiny \override #'(baseline-skip . 0.5)
\center-align
{  All rights reserved 
see http://creativecommons.org/licenses/by-nd/2.5/;
   } }
}

melody = \relative c' {
\clef treble
\key d \major
\time 2/2
#(set-global-staff-size 24)
\repeat volta 2 {
r8 a'4 b8 cis4 d cis4. b8 bes4 b d4. bes8 bes2 ~ bes1 r8 b4 cis8 d4 e
d4. cis8 c4 cis a'4. c,8 c2 ~ c1}
\alternative { { r8 b a'g fis e4 g8 ~ g4. fis8 c4 cis dis8 fis dis2 b4 
c1 r8 f4 e8 d4 b f'4. e8 d4 b d4. bes8 bes2 ~ bes} {r8 a'4 g8 fis e4 g8 ~ g4. 
fis e4 d e8 d e2. ~ e2 r 
%I have put the double brackets at the end of the line above which is where it 
should be but that didn't work either
cis4 dis cis8 dis4 cis8 ~ cis4 b bes b cis1 ~ cis2 r4 bes} }
des4 es des8 es4 des8 ~ des4 b bes b des4. aes8 des2 ~ des1 r des4 es8 f4 ges 
aes4 ges bes, b des8 es des es des2 ~ des r4 des e fis e fis e d cis d e b8 e 
~ e b e4 ~
e4 r r8 b e fis g4 fis g fis a g fis g e1 ~ e4 r2. r8 a,4 b8 cis4 d
cis4. b8 bes4 b d4. bes8 bes2 ~ bes1 r8 b4 cis8 d4 e d4. cis8 c4 cis b' bes a 
gis 
g b r fis a gis g fis g fis e d fis2. cis4 e2. b8 cis d d d d d4 d r8 b4 cis8 
d4 d 
d8 d d d a'4 g ~ g2. b,8 cis d d d d d4 cis8 d ~ d4 r8 cis c4 cis e4. d8 d2 ~ 
d2. r4   
\bar |.


}

\score {
\new Staff \melody
\layout { }
\midi { }
}



Yours-
Jay

Jay Hamilton
www.soundand.com
206-328-7694


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



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





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


regression volunteer

2007-11-29 Thread Alexander Deubelbeiss
 That's why we want a user to volunteer to check the regression tests. 
 It takes about 15 minutes a month, but it would drastically improve the 
 stability of lilypond.

Is that Check the regression tests as in regularly go through 
.../input/regression/collated-files and report on which pictures don't do what 
the text says they should? I'll do it.
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


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


No Convert-ly Binaries

2007-11-29 Thread Joshua Koo
Hi,

I havent been using lilypond for some time, so I downloaded
lilypond-2.11.35-2.mingw.exe the latest windows development version.

I tried running convert-ly but found out that there issn't any binaries
convert-ly so I thought I should need to download python to run the convert-ly
script.

Has the convert-ly binaries been left out or that I'm missing some information?

Cheers,
Joshua Koo
http://zz85.is.dreaming.org



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


Re: missing half rest in pdf

2007-11-29 Thread Mats Bengtsson



Jay Hamilton wrote:

Mats- There was no error log, and it certainly didn't in the print out on my 
side.

Right, but if you had used bar checks, then you would easily have spotted
any such rhythmical errors by looking at the log file.

  /Mats

 The mistake (a missing r2 ) is what I couldn't find/see.
Thank you.


Yours-
Jay
  




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


Re: regression volunteer

2007-11-29 Thread Mats Bengtsson



Alexander Deubelbeiss wrote:
That's why we want a user to volunteer to check the regression tests. 
It takes about 15 minutes a month, but it would drastically improve the 
stability of lilypond.



Is that Check the regression tests as in regularly go through 
.../input/regression/collated-files and report on which pictures don't do what the text says they 
should? I'll do it.

A much more clever way is to use the automated regression testing system,
which you reach from the documentation web page for the latest version if
you click on Developers resources - Regression tests results - ...
see for example 
http://lilypond.org/test/v2.11.32-1/compare-v2.11.30-1/index.html



   /Mats



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


textscript to ignore slur?

2007-11-29 Thread Neil Thornock
Hello again friendly folks,

Is there a way to get a markup to totally ignore a slur?  I find that when I
have a long slur, a textscript off to the far left or right of it is too
high and spaces the staff too much.  I've not found a good way around this
yet.

Any help appreciated...

Neil

-- 
Neil Thornock, D.M.
Visiting Assistant Professor of Music
Theory/Composition
Brigham Young University
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Phrased plainchant

2007-11-29 Thread Don Blaheta
After last night's emails I realised that the _real_ problem I was
having was with the fact that the bars were ticking away according to an
irrelevant time signature.  It turns out that I was able to solve quite
a few of my longstanding issues by attacking that directly.  I'm
actually pretty happy with the result (though there's still one
particularly clunky thing and a couple somewhat annoying error messages
I don't fully understand), and wanted to share it and ask some questions
about it.

First, let me lay out what it does.  I'm setting some church chants in a
more or less modern notation, with modern note heads but no stems or
flags, and on a modern staff.  There are bars, but they separate phrases
rather than measures.  And I wanted to include running translation that
was synched by phrase rather than by note.  (This last problem was the
one I solved first, and proved to be the way to bootstrap the other
stuff.)

Attached are the two files that set all this up.  The header file is for
including at the top of the .ly file, and defines a number of useful
commands.  The footer file is for including inside the \score; it turns
off some of the engravers.  After you've included these files, you write
out your melody, enclosing every chunk of it with a \phrase{ ... }
marker, and following each with a bar command (e.g. \divisioMinima).  The
bar commands have the same names as the ones in gregorian-init but are
only distant relatives: rather than breaths, they are actually bar lines
with the stencil changed.  Which means they space themselves very
nicely.  The flipside of this is that if you have a phrase boundary
where you don't want a bar line you *must* say \noBar.  You also can't
have any notes that aren't part of a \phrase or the bars get all out of
sync.  The lyrics you set just as usual, but the phrase translations you
put in a \phraseLyrics (or \italPhraseLyrics) and just include each
individual phrase in quotes.  That part looks clean and is pretty cool.
Also attached is a sample file that makes use of the main features.

Here are the questions.

First, the way that I aligned the phrase text was to make an invisible
note that's exactly as long as the phrase, and make the phrase text the
lyric for that note.  That strikes me as horribly clunky, but I couldn't
figure out any other way to peg the lyric to a length of time in a
Voice.  Is there a better way?

Second, and related, if you compile that you'll notice a bajillion
complaints about a weird minimum distance.  That's because I falsed the
stencil for the dummy note; if I let the dummy notes be visible, then
all I get is a couple of clashing note columns.  Why is that?  Is there
any way to make the errors go away?

Third, and completely unrelated, I think, is that I tried simply
removing the Stem_engraver, but that also made the program spit out a
bunch of error messages (programming error: no stem for note column)
*and* it screws up the slurs so that they are touching the note heads,
for some reason.  So instead, I have to override the stem's stencil to
be #f.  But, shouldn't removing the stem engraver be the right thing to
do here?  Why would not having a stem cause the slurs to draw
incorrectly, when they're not even touching where the stems would be?

Actually, also a fourth question, though I suspect the answer is you
can't: I'd like the left edges of the Latin and the translations to be
aligned.  I tried adding a \once \override to the beginning of each
phrase to make the first lyric left-aligned, but that made the music
move into an awkward spacing... what I really want is just to move the
phrase translation over to line up with the left edge of the first lyric
(which would itself remain centred on its note).  It seems unlikely, but
is there any hope of that?

-- 
-=-Don [EMAIL PROTECTED]http://www.blahedo.org/-=-
_Quod erat demonstratum_: Latin for I told you so.--The Java Handbook
\version 2.10.0
\include english.ly


verse = { \set stanza = ℣. } %V/
response = { \set stanza = ℟. }  %R/
join = { \set stanza = ❋ }  %*

noBar = {
  \once \override Staff.BarLine  #'stencil = ##f
}
divisioMinima = {
  \once \override Staff.BarLine  #'stencil = #ly:breathing-sign::divisio-minima
  \once \override Staff.BarLine  #'Y-offset = #2
}
divisioMaior = {
  \once \override Staff.BarLine  #'stencil = #ly:breathing-sign::divisio-maior
}
divisioMaxima = {
  \once \override Staff.BarLine  #'stencil = #ly:breathing-sign::divisio-maxima
}
finalis = {
  \once \override Staff.BarLine #'stencil = #ly:breathing-sign::finalis
}

phrase =
  #(define-music-function (parser location music) (ly:music?)
  (let* ((mus-len (ly:music-length music))
 (dummy-notes #{ \notemode{ \relative c'' {c1} } #} ))
(ly:music-compress dummy-notes mus-len)
   #{ 
 #(set-time-signature (ly:moment-main-numerator $mus-len)
(ly:moment-main-denominator $mus-len))
 \context Voice = phrases {

Re: textscript to ignore slur?

2007-11-29 Thread Neil Thornock
Okay, I actually solved it after finding an old post from Kieren; just set
the Y-extent for the slur to #'(0 . 0).

On 11/29/07, Neil Thornock [EMAIL PROTECTED] wrote:

 Hello again friendly folks,

 Is there a way to get a markup to totally ignore a slur?  I find that when
 I have a long slur, a textscript off to the far left or right of it is too
 high and spaces the staff too much.  I've not found a good way around this
 yet.

 Any help appreciated...

 Neil

 --
 Neil Thornock, D.M.
 Visiting Assistant Professor of Music
 Theory/Composition
 Brigham Young University




-- 
Neil Thornock, D.M.
Visiting Assistant Professor of Music
Theory/Composition
Brigham Young University
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: textscript to ignore slur?

2007-11-29 Thread Mats Bengtsson

Maybe someone can explain why the following alternative solution attempt
doesn't make any difference:

\relative c''{
f^Text ( f' c b a g a b^text )
\override TextScript #'avoid-slur = #'inside
f^Text ( f' c b a g a b^text )
}

   /Mats

Neil Thornock wrote:
Okay, I actually solved it after finding an old post from Kieren; just 
set the Y-extent for the slur to #'(0 . 0).


On 11/29/07, *Neil Thornock*  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hello again friendly folks,

Is there a way to get a markup to totally ignore a slur?  I find
that when I have a long slur, a textscript off to the far left or
right of it is too high and spaces the staff too much.  I've not
found a good way around this yet.

Any help appreciated...

Neil

-- 
Neil Thornock, D.M.

Visiting Assistant Professor of Music
Theory/Composition
Brigham Young University 





--
Neil Thornock, D.M.
Visiting Assistant Professor of Music
Theory/Composition
Brigham Young University


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


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



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


Re: No Convert-ly Binaries

2007-11-29 Thread Mats Bengtsson

There are no convert-ly binaries and have never been. However, it seems that
the python binary is missing in the 2.11.35-2 package for Windows.
The same or similar problem have already been reported for Linux.

   /Mats

Joshua Koo wrote:

Hi,

I havent been using lilypond for some time, so I downloaded
lilypond-2.11.35-2.mingw.exe the latest windows development version.

I tried running convert-ly but found out that there issn't any binaries
convert-ly so I thought I should need to download python to run the convert-ly
script.

Has the convert-ly binaries been left out or that I'm missing some information?

Cheers,
Joshua Koo
http://zz85.is.dreaming.org



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


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



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


Re: textscript to ignore slur?

2007-11-29 Thread Neil Thornock
I tried that too, and it actually made the slur immensely too high while not
actually placing the text any closer (still outside the slur).

On 11/29/07, Mats Bengtsson [EMAIL PROTECTED] wrote:

 Maybe someone can explain why the following alternative solution attempt
 doesn't make any difference:

 \relative c''{
 f^Text ( f' c b a g a b^text )
 \override TextScript #'avoid-slur = #'inside
 f^Text ( f' c b a g a b^text )
 }

 /Mats

 Neil Thornock wrote:
  Okay, I actually solved it after finding an old post from Kieren; just
  set the Y-extent for the slur to #'(0 . 0).
 
  On 11/29/07, *Neil Thornock*  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  Hello again friendly folks,
 
  Is there a way to get a markup to totally ignore a slur?  I find
  that when I have a long slur, a textscript off to the far left or
  right of it is too high and spaces the staff too much.  I've not
  found a good way around this yet.
 
  Any help appreciated...
 
  Neil
 
  --
  Neil Thornock, D.M.
  Visiting Assistant Professor of Music
  Theory/Composition
  Brigham Young University
 
 
 
 
  --
  Neil Thornock, D.M.
  Visiting Assistant Professor of Music
  Theory/Composition
  Brigham Young University
  
 
  ___
  lilypond-user mailing list
  lilypond-user@gnu.org
  http://lists.gnu.org/mailman/listinfo/lilypond-user
 

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




-- 
Neil Thornock, D.M.
Visiting Assistant Professor of Music
Theory/Composition
Brigham Young University
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: regression volunteer

2007-11-29 Thread Alexander Deubelbeiss

 Original-Nachricht 
 Datum: Thu, 29 Nov 2007 15:49:32 +0100
 Von: Mats Bengtsson [EMAIL PROTECTED]

 A much more clever way is to use the automated regression testing system,

Extremely clever for day to day type checks, but for a first pass the actual, 
individual tests and results need some love. Take a look, for instance, at 
accidental-single-double.ly: This works, and probably shows extremely little 
variation from release to release, but it doesn't test what the description 
says it's meant to test. The notes are gisis gis gisis ges; according to the 
text they should be gisis gis geses ges.

So, yeah. I'm makin' a list and checkin' it twice ;)
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


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


hide staves and bars

2007-11-29 Thread stefanozanobini
I would like to hide all the bars with only rests in an orchestral scores.
With RemoveEmptyStaffContext I can hide staves with only rests, but if
I've a single bar in a stave, where an instrument plays, Lilypond
shows me the complete stave with lots of rests!
Is there another way?

Thanks
Stezano


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


Re: hide staves and bars

2007-11-29 Thread Neil Thornock
Something along the lines of:

\override Staff.StaffSymbol #'transparent = ##t
\stopStaff
\startStaff

placed just before the empty measures; and

\revert Staff.StaffSymbol #'transparent
\stopStaff
\startStaff

placed just before the measures with music.  A bit more tweaking may be
necessary to get clefs, etc., just the way you want, but it's doable.

On 11/29/07, stefanozanobini [EMAIL PROTECTED] wrote:

 I would like to hide all the bars with only rests in an orchestral scores.
 With RemoveEmptyStaffContext I can hide staves with only rests, but if
 I've a single bar in a stave, where an instrument plays, Lilypond
 shows me the complete stave with lots of rests!
 Is there another way?

 Thanks
 Stezano


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




-- 
Neil Thornock, D.M.
Visiting Assistant Professor of Music
Theory/Composition
Brigham Young University
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond for serial music?

2007-11-29 Thread Miguel Lopes Santos Ramos
 From: Andrea Valle [EMAIL PROTECTED]

 I typically use lilypond for algorithmic composition.

 I use Python to =20= script lily.

Sorry to meddle in the thread.
Why Python and not the built-in Scheme interpreter?
Personal preference or something you would advise other people to?

I would be interested to know. I've used Excel outputting to Cakewalk in the
distant past, then LISP with output hand copied to score, more recently
Mathematica with cut-and-paste to lilypond.
Mathematica is great, has lots of combinatorial functions and also does
audio, but I'm finding some problems keeping things working across versions and
it really is not free at all; it's becoming more an environment than a
programming language and it's too expensive to use only as a programming
language.
I'm considering either moving back to Common LISP with Lilypond output
or using the built-in Scheme interpreter; but although I have a 15+ year
programming background, I'm not finding it very easy to use Lilypond Scheme.

Greetings,

Miguel Ramos
Lisboa


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


Re: Lilypond for serial music?

2007-11-29 Thread Andrea Valle
(Still can't understand this list behaviour of replying to the author  
and not to the list...)


Hi Miguel,

I don't like lisp-like languages. I really prefer OO languages. More,  
I've always find difficult to understand lily internals (no figure,  
scheme stuff etc).
So, for my personal preference indeed,  I have used Python. There's  
also to say that Trevor B. has an incredible on going project  
integrating Python and Lilypond.
I started pressing him to release it under sourceforge but  evidently  
he is busy...:-)


For the last project I used SuperCollider, an audio prog language  
which has a Smalltalk-like syntax: this allowed me to integrate  
notation with audio analysis and synthesis.
If you want to integrate very complex audio stuff, use a very  
sophisticated language and then output to lily, I'll suggest SC.
More, I wrote some classes in SC which allowed me to import/export  
with Praat. So, I have all the audio analysis I need.



You may check this:
http://www.nabble.com/python-%3Elilypond-tf2401329.html#a6698740
http://archive.contextgarden.net/message/ 
20070504.140614.ff7f1029.en.html


There are some people interested in stuff like this. We could share  
some infos on a wiki or something.


Best

-a-

On 29 Nov 2007, at 20:18, Miguel Lopes Santos Ramos wrote:


From: Andrea Valle [EMAIL PROTECTED]

I typically use lilypond for algorithmic composition.



I use Python to =20= script lily.


Sorry to meddle in the thread.
Why Python and not the built-in Scheme interpreter?
Personal preference or something you would advise other people to?

I would be interested to know. I've used Excel outputting to  
Cakewalk in the
distant past, then LISP with output hand copied to score, more  
recently

Mathematica with cut-and-paste to lilypond.
Mathematica is great, has lots of combinatorial functions and also  
does
audio, but I'm finding some problems keeping things working across  
versions and

it really is not free at all; it's becoming more an environment than a
programming language and it's too expensive to use only as a  
programming

language.
I'm considering either moving back to Common LISP with Lilypond output
or using the built-in Scheme interpreter; but although I have a 15+  
year
programming background, I'm not finding it very easy to use  
Lilypond Scheme.


Greetings,

Miguel Ramos
Lisboa


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




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


lilypond slowness?

2007-11-29 Thread Simon Dahlbacka
I have had a break working with lilypond, but I just downloaded
2.11.35(running on Vista x86), and find it *very* slow compared to my
recollection.

We're talking close to thee digit numbers for a simple monophonic score with
less than 20 bars.. This cannot be right? What am I missing here?

running with -V seems to indicate that it's Building font database every
time, how can I avoid this? ..and yes, I have installed it to a directory
that does not require admin privileges.

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


Re: SOLVED: going backwards in time

2007-11-29 Thread Han-Wen Nienhuys
2007/11/29, Trevor Bača [EMAIL PROTECTED]:

 Excellent. I think what clued me in was the error message about going
 *backwards* in time ...

 And, yes: I think Han-Wen and the gurus really *really* got it right on the
 time-keeping: AFAICS, it's all rationals all the time and so completely
 exact.

Actually, lily should never go backwards in time, not even if you have
really wonky time sigs and tuplets, so this is definitively a bug.
One possibility is that you have an overflow error: the rationals use
32 bit integers, so they easily overflow if you do strange things.

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


Re: SOLVED: going backwards in time

2007-11-29 Thread Adam James Wilson
Hi Han-Wen,

I see -- so even with my arithmetic error (which started as a tiny
offset of 9/6319), we should expect Lily to render the score.

I can see that if fractional relations get complex enough to require
more precision than 32-bit values, there could be a problem.

Is a possible solution to use 64-bit representation internally?

Best regards,
Adam

On 11/29/07, Han-Wen Nienhuys [EMAIL PROTECTED] wrote:
 2007/11/29, Trevor Bača [EMAIL PROTECTED]:

  Excellent. I think what clued me in was the error message about going
  *backwards* in time ...
 
  And, yes: I think Han-Wen and the gurus really *really* got it right on the
  time-keeping: AFAICS, it's all rationals all the time and so completely
  exact.

 Actually, lily should never go backwards in time, not even if you have
 really wonky time sigs and tuplets, so this is definitively a bug.
 One possibility is that you have an overflow error: the rationals use
 32 bit integers, so they easily overflow if you do strange things.

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

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


Re: regression volunteer

2007-11-29 Thread Graham Percival

Alexander Deubelbeiss wrote:

 Original-Nachricht 

Datum: Thu, 29 Nov 2007 15:49:32 +0100 Von: Mats Bengtsson
[EMAIL PROTECTED]



A much more clever way is to use the automated regression testing
system,


Extremely clever for day to day type checks, but for a first pass
the actual, individual tests and results need some love. Take a look,
for instance, at accidental-single-double.ly: This works, and
probably shows extremely little variation from release to release,
but it doesn't test what the description says it's meant to test. The
notes are gisis gis gisis ges; according to the text they should be
gisis gis geses ges.

So, yeah. I'm makin' a list and checkin' it twice ;)


Stan Sanderson also expressed interest, so let's have two people making 
lists and checking them twice.  :)


Here's the instructions I sent to Stan:


Unstable docs, developer resources:
http://lilypond.org/doc/v2.11/Documentation/devel


Take a look at the regression tests.  WARNING: I think it's about 5 
megabytes.

http://lilypond.org/doc/v2.11/input/regression/collated-files

If any example looks broken, send an email to bug-lilypond ASAP.  You 
just need to state the test name.  (although one or two sentences about 
the problem could be nice -- depends on how obvious the problem is)



A better method, once you've checked the complete list of tests, is the 
comparisons between releases.  For example:

http://lilypond.org/test/v2.11.33-1/compare-v2.11.32-1/index.html

These are the webpages you will be checking most often.  They show you 
the examples that changed.  Most changes will be harmless -- for 
example, the changes on that webpage are fine.  But some changes will 
break things; if the picture on the right-hand column looks bad, send us 
the file name.



Start off looking at these webpages, and ask any more questions.  I'd 
like you to check these regtests (just the comparison) every time 
there's a new devel release.  This averages two per month, although in 
the past two months there has only been one update.  So the amount of 
time will vary somewhat... but as you can see, it's not such a huge job.



INSTRUCTION FOR BOTH:
- please sign up for the bug-lilypond mailist.
- when you find a problem (be it in the release-to-release comparison, 
or in the complete list), send an email to bug-lilypond.
- if the other person has already reported a bug, don't send another 
email.  :)


Cheers,
- Graham


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


Re: SOLVED: going backwards in time

2007-11-29 Thread Han-Wen Nienhuys
2007/11/29, Adam James Wilson [EMAIL PROTECTED]:
 I see -- so even with my arithmetic error (which started as a tiny
 offset of 9/6319), we should expect Lily to render the score.

 I can see that if fractional relations get complex enough to require
 more precision than 32-bit values, there could be a problem.

 Is a possible solution to use 64-bit representation internally?

It's an option, but it's a stopgap measure.   The real solution is to
have a arbitrary precision arithmetic. GUILE already provides that,
but it would have a slight but noticeable performance impact.


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


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


Re: SOLVED: going backwards in time

2007-11-29 Thread Trevor Bača
On Nov 29, 2007 6:28 PM, Han-Wen Nienhuys [EMAIL PROTECTED] wrote:

 2007/11/29, Adam James Wilson [EMAIL PROTECTED]:
  I see -- so even with my arithmetic error (which started as a tiny
  offset of 9/6319), we should expect Lily to render the score.
 
  I can see that if fractional relations get complex enough to require
  more precision than 32-bit values, there could be a problem.
 
  Is a possible solution to use 64-bit representation internally?

 It's an option, but it's a stopgap measure.   The real solution is to
 have a arbitrary precision arithmetic. GUILE already provides that,
 but it would have a slight but noticeable performance impact.


Maybe a compile-time option to chose between the two?



-- 
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Mac OS X Intel Lilypond

2007-11-29 Thread Ruben Henner Zilibowitz
On the Lilypond downloads page, there are links to Mac OS X Intel  
packages but in fact they contain PPC binaries not Intel binaries. Are  
there actual Intel binaries available?


Regards,

Ruben



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


Re: lilypond slowness?

2007-11-29 Thread Han-Wen Nienhuys
2007/11/29, Simon Dahlbacka [EMAIL PROTECTED]:
 I have had a break working with lilypond, but I just downloaded 2.11.35
 (running on Vista x86), and find it *very* slow compared to my recollection.

 We're talking close to thee digit numbers for a simple monophonic score with
 less than 20 bars.. This cannot be right? What am I missing here?

 running with -V seems to indicate that it's Building font database every
 time, how can I avoid this? ..and yes, I have installed it to a directory
 that does not require admin privileges.

Unfortunately, I don't have a vista machine handy to test this.

Can you check if older versions (2.7, 2.8, 2.9, 2.10, etc.) exhibit
the same behavior?  If no, can you use bisection to figure out which
version introduced the slowness?

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


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