Re: How can I avoid unicode and use Latin1?

2005-09-04 Thread Jan Nieuwenhuizen

>> A. LilyPond actually _does_ support the Latin1 character set, as Latin1
>> and Unicode coincide on the first 256 codepoints.
>
> I don't quite see that.  If I put an e-acute (a byte of decimal value
> #233) in a LilyPond file, it is skipped -- it does not appear in the PDF
> output.  I have to put in the unicode equivalent, which is the two bytes
> #195 #169 (where 169 = 233 - 64) in order for LilyPond to give me an
> e-acute.

Yes, that is called Encoding.

>> B. LilyPond does not support Latin1 encoding. This is because

Jan.

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


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


Re: no pdf file generated (windows version 2.7.8)

2005-09-04 Thread Katrien de Vos
I am using windowsXP and lilypond-windows.exe (when I use lilypond.exe 
no log-file is produced).
I renamed gswin32.exe to gs.exe and tried again. It still doesn't work. 
Then I changed my batchfile:


gs -q   -dCompatibilityLevel#1.4  -sPAPERSIZE#"a4" -dNOPAUSE -dBATCH -r1200  
-sDEVICE#pdfwrite -sOutputFile#%1.pdf -c .setpdfwrite -f  %1.ps

This gave the same negative result. Changing to:

gs.exe -q -dCompatibilityLevel#1.4 -sPAPERSIZE#"a4" -dNOPAUSE -dBATCH 
-r1200 -sDEVICE#pdfwrite -sOutputFile#%1.pdf -c .setpdfwrite -f %1.psgs 
-q -dCompatibilityLevel#1.4 -sPAPERSIZE#"a4" -dNOPAUSE -dBATCH -r1200 
-sDEVICE#pdfwrite -sOutputFile#%1.pdf -c .setpdfwrite -f %1.ps


This produced a pdf-file.

Jaap


Katrien de Vos writes:

 


I have made a batch-file:
gswin32.exe -q   -dCompatibilityLevel#1.4  -sPAPERSIZE#"a4" -dNOPAUSE
-dBATCH -r1200  -sDEVICE#pdfwrite -sOutputFile#%1.pdf -c .setpdfwrite
-f 
%1.ps


Then I made a run and generated a pdf-file. Using "gs" or "gs.exe"
instead of "gswin32.exe" didn't work.
   



Good that you found this out.  gs.exe should be a copy of
gswin32c.exe.  Can check to see if that is the case?

What operating system are you using?
 
Can you check if copying gswin32.exe to gs.exe makes lilypond produce

PDFs?  How do you run LilyPond, and what operating system are you using?
We may have to make some sort of workaround.

 


But now point-and-click doesn't work. In the acrobat reader I see
the reference displayed when I click a note, but nothing happens.
   



That's probably another problem.

Jan.

 




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


Re: How can I avoid unicode and use Latin1?

2005-09-04 Thread Werner LEMBERG

> > A. LilyPond actually _does_ support the Latin1 character set, as
> > Latin1 and Unicode coincide on the first 256 codepoints.
> 
> I don't quite see that.  If I put an e-acute (a byte of decimal
> value #233) in a LilyPond file, it is skipped -- it does not appear
> in the PDF output.  I have to put in the unicode equivalent, which
> is the two bytes #195 #169 (where 169 = 233 - 64) in order for
> LilyPond to give me an e-acute.  USASCII and unicode coincide on the
> first 128 codepoints, but from what I can see, Latin1 and unicode do
> not correspond on byte values #128 to #255.

You are mixing up Unicode with one of its possible representations,
UTF-8.  A Unicode character is a number between 0x0 and 0x10;
UTF-8 represents such code points as multi-byte sequences of varying
length, where the range 0x00-0x7F is identical to ASCII.

> Well, I have to admit it's hard to argue with that.  Despite the
> fact that I think that a lot of North Americans would like to have
> the direct Latin1 availability to which they have become accustomed,
> I know that at the least, Eastern Europeans would also want Latin2
> and Latin4.

Today, Windows uses Unicode exclusively -- even in North America.  You
won't have big success with latin1 files.

> Unicode only provides a way of specifying character codes for a wide
> variety of symbols in the interior of a text file.  But without font
> files containing the order of 64K symbols, the current fragmented
> font-file situation will continue to limit what can easily be output
> to a screen or a printer.

This is a very naïve view how Unicode works.  Having a font with 64K
glyphs is useless in most situations, given that Unicode represents
characters, not glyphs.

> > C. Unicode, not Latin1, is the future.
> 
> Maybe, but not in my lifetime.

Well, it is straightforward to use a converter like `iconv' within a
script which automatically transforms your latin1 file into UTF-8.


Werner


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


Re: How can I avoid unicode and use Latin1? (Was: Wrong characters with jEdit)

2005-09-04 Thread Han-Wen Nienhuys

[EMAIL PROTECTED] wrote:

Unicode only provides a way of specifying character codes for a wide
variety of symbols in the interior of a text file.  But without font files
containing the order of 64K symbols, the current fragmented font-file
situation will continue to limit what can easily be output to a screen
or a printer.  It is difficult for me to share your optimism.


That's not a problem, at least, not on Linux. Pango does a wonderful job 
of inspecting the coverage of each font. It substitutes whichever font 
has the glyphs that are required to print the text. See for example


 http://www.lilypond.org/doc/v2.6/input/out-www/typography-demo.png

--
 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: no pdf file generated (windows version 2.7.8)

2005-09-04 Thread Katrien de Vos
I was wondering why windows could not recognize the *.exe file. In de 
environmental variables I had included PATHEXT .py;.pyc. This was 
necessary for python to recognize convert-ly.py.  I removed this and now 
lilypond produces the pdf-file! Now my remaining problem is Point-and-Click.


Jaap



I am using windowsXP and lilypond-windows.exe (when I use lilypond.exe 
no log-file is produced).
I renamed gswin32.exe to gs.exe and tried again. It still doesn't work. 
Then I changed my batchfile:


gs -q   -dCompatibilityLevel#1.4  -sPAPERSIZE#"a4" -dNOPAUSE -dBATCH 
-r1200  -sDEVICE#pdfwrite -sOutputFile#%1.pdf -c .setpdfwrite -f  %1.ps


This gave the same negative result. Changing to:

gs.exe -q -dCompatibilityLevel#1.4 -sPAPERSIZE#"a4" -dNOPAUSE -dBATCH 
-r1200 -sDEVICE#pdfwrite -sOutputFile#%1.pdf -c .setpdfwrite -f %1.psgs 
-q -dCompatibilityLevel#1.4 -sPAPERSIZE#"a4" -dNOPAUSE -dBATCH -r1200 
-sDEVICE#pdfwrite -sOutputFile#%1.pdf -c .setpdfwrite -f %1.ps


This produced a pdf-file.

Jaap


Katrien de Vos writes:

 


I have made a batch-file:
gswin32.exe -q   -dCompatibilityLevel#1.4  -sPAPERSIZE#"a4" -dNOPAUSE
-dBATCH -r1200  -sDEVICE#pdfwrite -sOutputFile#%1.pdf -c .setpdfwrite
-f %1.ps

Then I made a run and generated a pdf-file. Using "gs" or "gs.exe"
instead of "gswin32.exe" didn't work.
  



Good that you found this out.  gs.exe should be a copy of
gswin32c.exe.  Can check to see if that is the case?

What operating system are you using?
 
Can you check if copying gswin32.exe to gs.exe makes lilypond produce

PDFs?  How do you run LilyPond, and what operating system are you using?
We may have to make some sort of workaround.

 


But now point-and-click doesn't work. In the acrobat reader I see
the reference displayed when I click a note, but nothing happens.
  



That's probably another problem.

Jan.

 





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


Re: New slur/tie behaviour

2005-09-04 Thread Han-Wen Nienhuys

Werner LEMBERG wrote:

   I just type-set a piece using version 2.7.7 and this piece also
had some ties in it.  In this example I thought the new behavior was
a bit odd as I have two ties in a row but they are longer note
values and should they not appear at the same level? I noticed that
the change-log gives an example of this new feature but the first
note is tied to a very short note followed by a longer one.



I second that.  Especially in chords, short ties are moved too much
vertically from the `correct' place.  IMHO, this:

  --___-___---
   /   \   _   /   \
   \___/  / \  \___/
  

looks *really* bad.  A tie, regardless of being short or long, must
not be placed completely between two staff lines if the notes are also
between the same two lines.


It depends. I think it should, but only in crowded situations.


For further references I suggest that you take a Henle or UE edition
of Beethoven's piano sonatas (the later ones).


I agree that the Tie code is not optimal. Unfortunately, writing it 
already took it two to three times as long as I estimated (and was paid 
for), and I just spent another  1.5 hours debugging some problems. Now 
that it is more or less working, I have a better idea how the code 
should really have been written. I think it would probably be easier to 
do with a scoring based approach: generate all possible 
tie-configurations (TC, ie. all combinations of (Y, UPDOWN-DIRECTION) )


The number of TCs is

 M = (highest position - lowest position) * 2

Then, a single tie-column-configuration (TCC) for N ties is a subset of 
TCS with N elements. Counting tie-head distances, tie-tie collisions, 
tie-line collisions, and direction violations yields a score for a 
single TCC. Then we need to find the best-scoring TCC.


The number of TCCs is binom(M, #ties). A chord spanning a single octave 
with 4 ties already  yields 36000 different possible TCCs, so a brute 
force approach won't possible.  We'd have to use a some heuristics to 
generate  a limited number of sensible TCCs, and pick the best scoring 
one of them.


--
 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


[OT] NoteWorthy Composer to LilyPond converter

2005-09-04 Thread Hans de Rijck
Hi all,

I've spent the greater part of my holiday completely rewriting the program
that converts NoteWorthy Composer files to LilyPond.
It's now completely written in C++ and adding a separate MusicXML frontend
should be relatively easy. But that has to wait for a next holiday (if there
is any interest for this).

For those of you who are interested, more information can be found on:

http://musiccvt.octet.nl

Kind regards,

Hans de Rijck.



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


Re: New slur/tie behaviour

2005-09-04 Thread Trevor Bača
On 9/4/05, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
> Werner LEMBERG wrote:
> >>I just type-set a piece using version 2.7.7 and this piece also
> >>had some ties in it.  In this example I thought the new behavior was
> >>a bit odd as I have two ties in a row but they are longer note
> >>values and should they not appear at the same level? I noticed that
> >>the change-log gives an example of this new feature but the first
> >>note is tied to a very short note followed by a longer one.
> >
> >
> > I second that.  Especially in chords, short ties are moved too much
> > vertically from the `correct' place.  IMHO, this:
> >
> >   --___-___---
> >/   \   _   /   \
> >\___/  / \  \___/
> >   
> >
> > looks *really* bad.  A tie, regardless of being short or long, must
> > not be placed completely between two staff lines if the notes are also
> > between the same two lines.
> 
> It depends. I think it should, but only in crowded situations.
> 
> > For further references I suggest that you take a Henle or UE edition
> > of Beethoven's piano sonatas (the later ones).
> 
> I agree that the Tie code is not optimal. Unfortunately, writing it
> already took it two to three times as long as I estimated (and was paid
> for), and I just spent another  1.5 hours debugging some problems. Now
> that it is more or less working, I have a better idea how the code
> should really have been written. I think it would probably be easier to
> do with a scoring based approach: generate all possible
> tie-configurations (TC, ie. all combinations of (Y, UPDOWN-DIRECTION) )
> 
> The number of TCs is
> 
>   M = (highest position - lowest position) * 2
> 
> Then, a single tie-column-configuration (TCC) for N ties is a subset of
> TCS with N elements. Counting tie-head distances, tie-tie collisions,
> tie-line collisions, and direction violations yields a score for a
> single TCC. Then we need to find the best-scoring TCC.
> 
> The number of TCCs is binom(M, #ties). A chord spanning a single octave
> with 4 ties already  yields 36000 different possible TCCs, so a brute
> force approach won't possible.  We'd have to use a some heuristics to
> generate  a limited number of sensible TCCs, and pick the best scoring
> one of them.

Pregenerated tables included as part of the distribution (where the
large combinatorial spaces have already been searched ahead of time)?
Then do single lookups against the "known good table of optimal tie
configurations" during interpretation?

I've seen this solution work well for accidental configuration in
front of humongous chords ... just a thought ...


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


Cryptical errormessage

2005-09-04 Thread Hans de Rijck
Hi,

I get an errormessage that I don't understand, the last lines of
lilypond --verbose are:

819][822][825][828][831][834][837][840][843][846][849][852][855][858][861][8
64][
867][870][873][876][879][882][885][888][891][894][897][900][903][906][909][9
12][
915][918][921][924][927][930][933][936][939][942][945][946]
Optimal demerits: 3.725138
Element count
37348.[0][1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][1
7][18][19][20][21][
programming error: not a markup:
continuing, cross fingers
()Assertion failed: false, file text-interface.cc, line 61

abnormal program termination

Are the numbers in square brackets after 'Element count' barnumbers? In the
lines above they are. But measures 1 to 30 are only full measure rests with
no markups.

The assertion message isn't very meaningful too, its logical the result is
'false', otherwise the assertion wouldn't have failed. It would be more
helpful to print what the assertion was.

Any ideas how to find the meaning of the above or how to debug this?

Apart from the message above there are no warnings or errors.

regards,

Hans.



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


Re: How can I avoid unicode and use Latin1?

2005-09-04 Thread Hans Aberg
The best way is to try to find an editor supporting UTF-8. (On Mac OS  
X, I am using Xcode, which comes with the developer package.)


Unicode supports musical symbols, and that could later be used to  
give a program like Lilypond a much better input syntax. (A Unicode  
font that supports some of them is Code2001. Keyboard layouts for Mac  
OS X can be developed using the program Ukelele.)


  Hans Aberg




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


Re: Cryptical errormessage

2005-09-04 Thread Erik Sandberg
On Sunday 04 September 2005 17.21, Hans de Rijck wrote:
> Hi,
>
> I get an errormessage that I don't understand, the last lines of
> lilypond --verbose are:
>
> 819][822][825][828][831][834][837][840][843][846][849][852][855][858][861][
>8 64][
> 867][870][873][876][879][882][885][888][891][894][897][900][903][906][909][
>9 12][
> 915][918][921][924][927][930][933][936][939][942][945][946]
> Optimal demerits: 3.725138
> Element count
> 37348.[0][1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][1
> 7][18][19][20][21][
> programming error: not a markup:
> continuing, cross fingers
> ()Assertion failed: false, file text-interface.cc, line 61
>
> abnormal program termination
>
> Are the numbers in square brackets after 'Element count' barnumbers? In the
> lines above they are. But measures 1 to 30 are only full measure rests with
> no markups.
>
> The assertion message isn't very meaningful too, its logical the result is
> 'false', otherwise the assertion wouldn't have failed. It would be more
> helpful to print what the assertion was.
>
> Any ideas how to find the meaning of the above or how to debug this?
>
> Apart from the message above there are no warnings or errors.

This is a clear bug, please send a bugreport.

The error message is only meant to be understood by developers, but we need to 
be able to reproduce it.

-- 
Erik


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


Re: Cryptical errormessage

2005-09-04 Thread Hans de Rijck
Done.

h.

- Original Message -
From: "Erik Sandberg" <[EMAIL PROTECTED]>
To: ; "Hans de Rijck" <[EMAIL PROTECTED]>
Sent: Sunday, September 04, 2005 7:35 PM
Subject: Re: Cryptical errormessage


> On Sunday 04 September 2005 17.21, Hans de Rijck wrote:
> > Hi,
> >
> > I get an errormessage that I don't understand, the last lines of
> > lilypond --verbose are:
> >
> >
819][822][825][828][831][834][837][840][843][846][849][852][855][858][861][
> >8 64][
> >
867][870][873][876][879][882][885][888][891][894][897][900][903][906][909][
> >9 12][
> > 915][918][921][924][927][930][933][936][939][942][945][946]
> > Optimal demerits: 3.725138
> > Element count
> > 37348.[0][1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][1
> > 7][18][19][20][21][
> > programming error: not a markup:
> > continuing, cross fingers
> > ()Assertion failed: false, file text-interface.cc, line 61
> >
> > abnormal program termination
> >
> > Are the numbers in square brackets after 'Element count' barnumbers? In
the
> > lines above they are. But measures 1 to 30 are only full measure rests
with
> > no markups.
> >
> > The assertion message isn't very meaningful too, its logical the result
is
> > 'false', otherwise the assertion wouldn't have failed. It would be more
> > helpful to print what the assertion was.
> >
> > Any ideas how to find the meaning of the above or how to debug this?
> >
> > Apart from the message above there are no warnings or errors.
>
> This is a clear bug, please send a bugreport.
>
> The error message is only meant to be understood by developers, but we
need to
> be able to reproduce it.
>
> --
> Erik



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


Scores with inkpen

2005-09-04 Thread Daniel Tonda Castillo
Hello:

A question:

Is there some functionality in Lilypond that enables a score with fonts
like the Sibelius inkpen font?

Whenever I play live, many times it's in a venue that has dim lights and
reading the regular notehead is
difficult, but the inkpen font is thicker and has better visibility for
that kind of situation, for me at least.

Daniel Tonda C.




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


Re: Scores with inkpen

2005-09-04 Thread Mehmet Okonsar
also is it possible to use other music fonts? Albeit Feta is probably the
best looking one around, fonts like November, Susato, Jazz, are nice too.
Some noteworthy additions to the Feta can be cluster noteheads and "laissez
vibrer" (notes with ties heads
Best Regards,
Mehmet Okonsar, pianist-composer
www.okonsar.com
- Original Message -
From: "Daniel Tonda Castillo" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, September 04, 2005 9:22 PM
Subject: Scores with inkpen


> Hello:
>
> A question:
>
> Is there some functionality in Lilypond that enables a score with fonts
> like the Sibelius inkpen font?
>
> Whenever I play live, many times it's in a venue that has dim lights and
> reading the regular notehead is
> difficult, but the inkpen font is thicker and has better visibility for
> that kind of situation, for me at least.
>
> Daniel Tonda C.
>
>
>
>
> ___
> 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 can I avoid unicode and use Latin1?

2005-09-04 Thread Fairchild
jEdit says it supports and converts among

ISO-8859-1,2,4,5,7,9,13,15
KOI8-R
US-ASCII
UTF8, 8Y,16,16BE,16LE
windows-1250,1251,1252,1253,1254,1257
and others

The ones I've used work OK.

The jEdit help file gives an explanation of defaults for various
environments.

 - Bruce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Hans Aberg
Sent: Sunday, September 04, 2005 12:00 PM
To: lilypond-user Mailinglist
Subject: Re: How can I avoid unicode and use Latin1?


The best way is to try to find an editor supporting UTF-8. (On Mac OS  
X, I am using Xcode, which comes with the developer package.)

Unicode supports musical symbols, and that could later be used to  
give a program like Lilypond a much better input syntax. (A Unicode  
font that supports some of them is Code2001. Keyboard layouts for Mac  
OS X can be developed using the program Ukelele.)

   Hans Aberg




___
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: New slur/tie behaviour

2005-09-04 Thread Werner LEMBERG
> > A tie, regardless of being short or long, must not be placed
> > completely between two staff lines if the notes are also between
> > the same two lines.
> 
> It depends.  I think it should, but only in crowded situations.

Yes.

> The number of TCCs is binom(M, #ties). A chord spanning a single
> octave with 4 ties already yields 36000 different possible TCCs, so
> a brute force approach won't possible.  We'd have to use a some
> heuristics to generate a limited number of sensible TCCs, and pick
> the best scoring one of them.

IIRC, I've sent an algorithm to the list a few years ago whether ties
should go up or down, depending on the vertical structure of a chord.
Maybe you can dig it out, and perhaps it helps in providing some
constraints.


Werner


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


tie-configuration question

2005-09-04 Thread Henrik Frisk
In a post a few weeks back I asked about the tie-configuration in
mulitiple voices. Nobody responded, so either it ws a really dumb
question - in which case I don't mind being told - or nobody understood
what I meant... In either case, here's a snippet that doesn't change the
tie behaviour. I've tried a number of different ways of coding the same
music, but as long as there is more than one voice, I can't get
tie-configuration to make a difference.

I think the recent discussions on LilyPond's new tie
behaviour has shown one thing: To a large degree it is up to musical style and
personal preference - which makes the tie-configuration command so
important (to me anyways).

% BEGIN SNIPPET %

\version "2.7.7"

\score {
   \new Staff <<
 \relative c'' {
\time 6/8
  << 
{
  s4. 4.~ 
  \set Score.measureLength = #(ly:make-moment 9 8)
  4.~ \hideNotes 4. \unHideNotes
} \\
{
  2.~ 
  \override TieColumn #'tie-configuration =
  #'((0 . -1)  (2 . 1))
  4.~ \hideNotes 4. \unHideNotes
}
  >>
  \stopStaff
  s4. \bar "||"
}
>>
}
%% END SNIPPET %


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


\markup question

2005-09-04 Thread Tim Sawyer
Hi,

I'm using

\markup{ \small { \note #3 #0 #1 \note #3 #0 #1 = \note #3 #0 #1 \note #4 #0 
#1 }}

to produce a swing notation header in my music.

I'd like to add a dot after the first note on the right hand side, making the 
note lengths add up properly.  (Two quavers = dotted quaver, semiquaver) How 
can I do this?

I'd also like to have notes beamed together rather than single tails.  Is this 
possible?

I'm using lilypond 2.0.3 (sorry, it's the latest stable Gentoo one!)

Cheers,

Tim.



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


Re: Cryptical errormessage

2005-09-04 Thread Han-Wen Nienhuys

Hans de Rijck wrote:

The assertion message isn't very meaningful too, its logical the result is
'false', otherwise the assertion wouldn't have failed. It would be more
helpful to print what the assertion was.

Any ideas how to find the meaning of the above or how to debug this?


Yes, run LilyPond inside GDB to see what is going wrong. Alternatively, 
you could post the problematic file here.




--
 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: New slur/tie behaviour

2005-09-04 Thread Han-Wen Nienhuys

Trevor Bača wrote:


Pregenerated tables included as part of the distribution (where the
large combinatorial spaces have already been searched ahead of time)?
Then do single lookups against the "known good table of optimal tie
configurations" during interpretation?



I think that would be problematic. The tables would have to be very 
large, as the tie shapes depend on their X span.




--
 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: New slur/tie behaviour

2005-09-04 Thread Han-Wen Nienhuys

Werner LEMBERG wrote:

IIRC, I've sent an algorithm to the list a few years ago whether ties
should go up or down, depending on the vertical structure of a chord.
Maybe you can dig it out, and perhaps it helps in providing some
constraints.


IIRC, it was the algorithm that was present before I rewrote the thing. 
 I thought it was rather too simplistic.


--
 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: Scores with inkpen

2005-09-04 Thread Han-Wen Nienhuys

Mehmet Okonsar wrote:

also is it possible to use other music fonts? Albeit Feta is probably the
best looking one around, fonts like November, Susato, Jazz, are nice too.
Some noteworthy additions to the Feta can be cluster noteheads and "laissez
vibrer" (notes with ties heads


You can install the fonts, and try to make it work. However, this is 
wholly unsupported. It's also problematic to add support: since the 
fonts are non-free, we can't add the tests to the LilyPond distribution, 
which means that they will not be tested, and become very buggy. If you 
want to have more glyphs, consider sponsoring a glyph-design 
(http://lilypond-design.com/sponsor). We can add cluster note heads.


--
 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: tie-configuration question

2005-09-04 Thread Han-Wen Nienhuys

Henrik Frisk wrote:

I think the recent discussions on LilyPond's new tie
behaviour has shown one thing: To a large degree it is up to musical style and
personal preference - which makes the tie-configuration command so
important (to me anyways).


  2.~ 
  \override TieColumn #'tie-configuration =

  #'((0 . -1)  (2 . 1))


I don't understand the problem: if I change the 2 to 4, the tie moves up 
(2.7.8 cvs).




--
 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


Ancient Time Signatures.

2005-09-04 Thread Trent J
Hi All..
Just a quick question with ancient time signatures. Looking a works by Frescobaldi and Monteverdi they use the old proportional time scheme. They use a mixture of ancient clefs and numbers .. e.g.  O3 but there is no time signature setting for this so I guess this needs to be created with a markup... how would I go about this. To hide the time signature eg 3/1 use the ancient time signature 03. 
Would this also generate a curteousy time singnature if the change began in the beginning of a new line or page like the normal time signatures?
Any help appreciated.
Trent



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


Strange Midi Output

2005-09-04 Thread Daniel Tonda Castillo
Hello:

I seem to be getting strange midi output from lilypond.

After including another \score section, for the purpose of getting midi
output:

...

\score {
\Notes
\midi {
   \tempo  4 = 108
}
}

After all the output from lilypond, when I play the generated midi file,
all I get is a cluster of notes.

I include my sample so it can be tested Espanoletas-00.ly, and the midi
it generates so you can listen to the cluster.

Daniel Tonda C.




Espanoletas-00.ly
Description: application/extension-ly


Espanoletas-00.midi
Description: MIDI audio
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Strange Midi Output

2005-09-04 Thread Jay Hamilton, Sound and Silence
I opened your midi file and there were 4 pages of rest measures then the 
attached gif.
Without knowing more it doesn't seem that strange except for the number 
of rests.

On the other hand I have no idea what your input was.
Jay

Daniel Tonda Castillo wrote:


Hello:

I seem to be getting strange midi output from lilypond.

After including another \score section, for the purpose of getting midi
output:

...

\score {
   \Notes
   \midi {
  \tempo  4 = 108
   }
}

After all the output from lilypond, when I play the generated midi file,
all I get is a cluster of notes.

I include my sample so it can be tested Espanoletas-00.ly, and the midi
it generates so you can listen to the cluster.

Daniel Tonda C.


 




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



--
Childhood is a Journey not a race- Emma Sadinsky aged 8
Jay Hamilton
Sound and Silence
206-328-7694
www.soundand.com


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


Hi about the midi output

2005-09-04 Thread Daniel Tonda Castillo
Nice of you to answer, I attach a png of the file, to show you how it
looks like.

Yeah the gif you send is exactly how it sounds.

I can't figure it  out...

Daniel Tonda C.

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


Re: New slur/tie behaviour

2005-09-04 Thread Werner LEMBERG
> > IIRC, I've sent an algorithm to the list a few years ago whether
> > ties should go up or down, depending on the vertical structure of
> > a chord.  Maybe you can dig it out, and perhaps it helps in
> > providing some constraints.
> 
> IIRC, it was the algorithm that was present before I rewrote the
> thing.  I thought it was rather too simplistic.

Mhmm, I don't think so: The direction of slurs was always
unsatisfactory :-)

Cf.

  http://lists.gnu.org/archive/html/lilypond-devel/2004-01/msg00148.html


Werner


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


Re: tie-configuration question

2005-09-04 Thread Henrik Frisk
Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:

> >   2.~   \override TieColumn #'tie-configuration =
> >   #'((0 . -1)  (2 . 1))
> 
> I don't understand the problem: if I change the 2 to 4, the tie moves
> up (2.7.8 cvs).
> 
Well it doesn't in 2.7.7, and since I can't use 2.7.8 because of the
errors described in an earlier post I guess I'm stuck for the moment. At
least now I know it will work.

/henrik


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


Re: How can I avoid unicode and use Latin1?

2005-09-04 Thread stk

On Sun, 4 Sep 2005, Werner LEMBERG wrote:

> You are mixing up Unicode with one of its possible representations,
> UTF-8.  A Unicode character is a number between 0x0 and 0x10;
> UTF-8 represents such code points as multi-byte sequences of varying
> length, where the range 0x00-0x7F is identical to ASCII.

Thank you. I didn't know unicode was broader than UTF-8.  The 3-byte value
10 (rather than FF) seems like a rather strange upper limit, but
that only points up the fact that I'm going to have to learn about unicode
once I get through my current arranging binge.

> Today, Windows uses Unicode exclusively -- even in North America.  You
> won't have big success with latin1 files.

I routinely switch files between Latin1 text and MS-Word docs with no
problem whatsoever.  When one saves a file in Word selecting the type Text
or Text With Line Breaks, one gets a Latin1 file -- and I have verified
these text files (put out by Word) directly with a hex editor: e-acute,
a-grave, etc. are all represented by a single byte, and it is the standard
Latin1 byte. As far back as Word 97, Microsoft claimed that Word and its
Visual Basic ("VBA") used unicode "internally".  But if one looks at a
Word .doc file with a hex editor, one sees that, in the file, all the
French accented characters are stored as single-byte standard Latin1
codes.  Microsoft's unicode claims are a marketing ploy; Latin1 still
rules.

> Well, it is straightforward to use a converter like `iconv' within a
> script which automatically transforms your latin1 file into UTF-8.

Yet another converter.  Well, it's good to know that.  But for the moment
I encounter accented letters only in song titles (I use no lyrics), so
typing in the UTF-8 double-byte for the rare accented character here and
there takes about 3 seconds, which is easy.

Thank you for taking the trouble to send me the information on unicode &
UTF-8.

-- Tom



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