Re: Co-Sponsoring

2005-09-16 Thread Joe Neeman



Dynamic formatting
 

Proper dynamic formatting would allow the endpoints of hairpins to be 
adjusted individually, right? If this tweaking could be expanded to a 
larger subset of spanners, I would be interested in co-sponsoring this.


Joe


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


Micro tones in english

2005-09-16 Thread Mehmet Okonsar
I think there are no microtones names in english
I tried -seh ,feh, fh,sh .. no success
Best Regards,
Mehmet Okonsar, pianist-composer
www.okonsar.com



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


Re: Templates repository

2005-09-16 Thread Mats Bengtsson

I don't really see any clear distinction between templates and
the examples in the LSR. Most templates we have today contain
some example music and I guess that people usually cut bits and
pieces from both templates and snippets when they want to set up
their own files. So, why not include also templates in the LSR?
If the comment includes the word template, you can easily find
those snippets that the author considered as a template.

   /Mats

Mehmet Okonsar wrote:

It would be nice if there is a Templates repository exactly like the code
snippets rep.
Just fill in the notes..
for lazy guys.. (like me)

Best Regards,
Mehmet Okonsar, pianist-composer
www.okonsar.com



___
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: Co-Sponsoring

2005-09-16 Thread Jamie Bullock
I would be willing to co-sponsor feathered beams.

Jamie

On Fri, 2005-09-16 at 07:17 +0300, Mehmet Okonsar wrote:
 Hi to all
 I'm willing to co-sponsor the following features:
 
 Feathered beams;
 S shaped slurs
 Music XML import
 Dashed barlines
 Cross-staff chords
 Dynamic formatting
 
 if anyone interested in sharing let's start collecting..
 Or there may be another feature as listed in the
 http://lilypond-design.com/sponsor/open-features.html
 may be almost fully collected-for , so I can add my part..
 I think co-sponsoring is the way to go and can make things faster and
 sweeper..
 
 Best Regards,
 Mehmet Okonsar, pianist-composer
 www.okonsar.com
 
 
 
 
 ___
 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: Templates repository

2005-09-16 Thread D Josiah Boothby
Further, there are a number of templates in the manual. But, as Mats 
points out, there is absolutely no reason not to submit more snippets -- 
whether they are templates or not -- to the LSR.


Josiah

Mats Bengtsson wrote:

I don't really see any clear distinction between templates and
the examples in the LSR. Most templates we have today contain
some example music and I guess that people usually cut bits and
pieces from both templates and snippets when they want to set up
their own files. So, why not include also templates in the LSR?
If the comment includes the word template, you can easily find
those snippets that the author considered as a template.

   /Mats

Mehmet Okonsar wrote:


It would be nice if there is a Templates repository exactly like the code
snippets rep.
Just fill in the notes..
for lazy guys.. (like me)

Best Regards,
Mehmet Okonsar, pianist-composer
www.okonsar.com



___
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: is Lilypond difficult? A composer's point of view

2005-09-16 Thread Mats Bengtsson



Mehmet Okonsar wrote:

I'm a 12 year Finale user and I also wrote some 500 pages of music with
Sibelius and
I also know somewhat Igor Engraver and Geniesoft's Overture..

I must say, Lilypond is the winner!
Incidentally Lily is the name of my wife:)

I had some serious concerns at the beginning. First of all it seems awkward
to write text files without seeing the music paper and many fellow
friends composers feel the same. However, only a small practice proved it to
be a false concern. As a composer ( not a copyist neither a programmer) I
can say that typesetting music in a text environment is far better in many
points to actually looking at the music paper.

I think Lilypond is easier than Finale. One thing I'm still not very
comfortable with is: I feel like a gap between the manual and the program
reference. The reference is great but written in a style somewhat foreign to
me. The journey for a newcomer which starts at manual's first page is not
without blackholes. Things that only get clear many many practice weeks
later..


Feel free to point to specific issues that you think can be improved or,
even better, write some suggestions to be cut into the manual.



Also more advanced editor support may be one of the needs. Here is the way
which really made me start: I use WinEdt and I made some 200+ macros which
are simply auto-texts to save you a trip to the manual and many probable
syntax errors.. The point is whenever I want to set a 2d and a 3rd. voice I
just have to click a menu item and fill the notes.


Did you try jedit? It's probably the editor that provides the best
support for LilyPond, including an automatic template setup feature
and it's available for Windows.

   /Mats


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


Re: defaul action for lilypond files in windows version

2005-09-16 Thread Mats Bengtsson

I send your message to the bug reporting list, since it clearly seems
like a bug.

   /Mats

nirly (sent by Nabble.com) wrote:

ok now that you said this i tried a few more things:

the whole time i've been trying this the .ly file where on diferrent 
drive then the lilypond program it seems that if the lilypond file is in 
the same drive it always works


i was right clicking the .ly files
after your message i also tried to drag into the lilypond icon, this 
worked a bit diferrent,
if the .ly file was on the same drive it worked correctly, if it was on 
diferrent drive lilypad gives an error: warning: can't find file: 
`E:filename.ly'





Sent from the Gnu - Lilypond - User 
http://www.nabble.com/defaul-action-for-lilypond-files-in-windows-version-t310348.html#a876739 
forum at Nabble.com.





___
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: Midi output from 2.7.9

2005-09-16 Thread Mats Bengtsson

Please send bug reports to the bug-lilypond mailing list.
I have included a Cc: there and confirm that the bug remains
in the latest CVS version. A good test file for the debugging
is input/no-notation/midi-volume-equaliser.ly, which works well
in version 2.6 but shows the reported bug in latest CVS.

Also, for questions on specific features of the development
versions, I'd rather use the lilypond-devel mailing list
than lilypond-user which mainly is devoted to general usage
questions that apply to the stable version.


  /Mats

Daniel Tonda Castillo wrote:

Hi:

Lilypond 2.7.9 in Fedora Core 4 now produces decent midi output
except that it doesn't assign the instrument patch name in
Staff.midiInstrument.

If I put something like this:

...
  \set Staff.midiInstrument = acoustic guitar (nylon) 
...

The output will have a piano patch assigned to it instead of the
guitar.

Anyway, the line-breaks are now working fine. 


Keep up the fine work...


___
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: Micro tones in english

2005-09-16 Thread Pedro Kröger
Mehmet Okonsar [EMAIL PROTECTED] writes:

 I think there are no microtones names in english

no, there isn't. but this is not a difficult thing to do.
they should be defined in a file called english.ly inside the ly
directory in the sources. for instance, this is how the note names are
defined in duch (nederlands.ly file):

dutchPitchnames = #`(
(ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))

(ceh . ,(ly:make-pitch -1 0 SEMI-FLAT))
(ces . ,(ly:make-pitch -1 0 FLAT))
(ceseh . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
(c . ,(ly:make-pitch -1 0 NATURAL))
(cis . ,(ly:make-pitch -1 0 SHARP))
(cih . ,(ly:make-pitch -1 0 SEMI-SHARP))
(cisih . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
(cisis . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
(deses . ,(ly:make-pitch -1 1 DOUBLE-FLAT))

if you fell like you can add it yourself (and send the result back to
the list) or wait ultil someone does. what do you think of these names
(first column):

(cf . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
(cftqt . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
(cf . ,(ly:make-pitch -1 0 FLAT))
(cfqt . ,(ly:make-pitch -1 0 SEMI-FLAT))
(c . ,(ly:make-pitch -1 0 NATURAL))
(csqt . ,(ly:make-pitch -1 0 SEMI-SHARP))
(cs . ,(ly:make-pitch -1 0 SHARP))
(cstqt . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
(css . ,(ly:make-pitch -1 0 DOUBLE-SHARP))


Pedro


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


Re: Co-Sponsoring

2005-09-16 Thread Jamie Bullock
... and proper laissez vibrer ties. I could probably afford 30-40 Euros
towards each depending on who else comes forward.

Regards,

Jamie

On Fri, 2005-09-16 at 08:36 +0100, Jamie Bullock wrote:
 I would be willing to co-sponsor feathered beams.
 
 Jamie
 
 On Fri, 2005-09-16 at 07:17 +0300, Mehmet Okonsar wrote:
  Hi to all
  I'm willing to co-sponsor the following features:
  
  Feathered beams;
  S shaped slurs
  Music XML import
  Dashed barlines
  Cross-staff chords
  Dynamic formatting
  
  if anyone interested in sharing let's start collecting..
  Or there may be another feature as listed in the
  http://lilypond-design.com/sponsor/open-features.html
  may be almost fully collected-for , so I can add my part..
  I think co-sponsoring is the way to go and can make things faster and
  sweeper..
  
  Best Regards,
  Mehmet Okonsar, pianist-composer
  www.okonsar.com
  




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


Re: Co-Sponsoring

2005-09-16 Thread Mats Bengtsson



Jamie Bullock wrote:

... and proper laissez vibrer ties. I could probably afford 30-40 Euros
towards each depending on who else comes forward.

Regards,

Jamie


Too late! See 
http://lists.gnu.org/archive/html/info-lilypond/2005-09/msg1.html



  /Mats


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


Re: Lilypond for Windows 2.5.28 - Guile error

2005-09-16 Thread Jan Nieuwenhuizen
Mojca Miklavec writes:

 E:\Mojcaset LILYPOND_VERBOSE=1
 E:\Mojcalilypond
 warning: argv0 relocation: argv0=lilypond, prefix=/usr/share/lilypond/2.6.3

Can you try with the absolute file name (c:/Program 
Files/LilyPond/usr/bin/lilypond.exe --verbose), or running from bash?

Running from bash, I get

 bash
$ LILYPOND_VERBOSE=1 lilypond
warning: argv0 relocation: argv0=c:\Program 
Files\LilyPond\usr\bin\lilypond.exe, prefix=/usr/share/lilypond/2.6.3
warning: no such directory: c:/Program 
Files/LilyPond/usr/share/ghostscript/8.15/fonts
warning: no such directory: c:/Program 
Files/LilyPond/usr/share/ghostscript/8.15/Resource
warning: no such directory: c:/Program 
Files/LilyPond/usr/share/ghostscript/8.15/lib
warning: no such directory: c:/Program Files/LilyPond/usr/share/gs/Resource

LILYPOND_DATADIR=/usr/share/lilypond/2.6.3
LOCALEDIR=/usr/share/locale

Effective prefix: c:/Program Files/LilyPond/usr/share/lilypond/2.6.3
FONTCONFIG_FILE=c:/Program Files/LilyPond/usr/etc/fonts/fonts.conf
GS_FONTPATH=c:/Program Files/LilyPond/usr/share/gs/fonts;C:\WINDOWS/fonts
GS_LIB=c:/Program Files/LilyPond/usr/share/gs/lib
GUILE_LOAD_PATH=c:/Program Files/LilyPond/usr/share/guile/1.7


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: Co-Sponsoring

2005-09-16 Thread Steve D
On Fri, Sep 16, 2005 at 07:17:51AM +0300, Mehmet Okonsar wrote:
 Hi to all
 I'm willing to co-sponsor the following features:
 
 Feathered beams;
 S shaped slurs
 Music XML import
 Dashed barlines
 Cross-staff chords
 Dynamic formatting
 
 if anyone interested in sharing let's start collecting..
 Or there may be another feature as listed in the
 http://lilypond-design.com/sponsor/open-features.html
 [. . .]
--- ---

Starting in November, I plan to contribute 200 Euros per month to
Han-Wen, for at least 4 months and perhaps 6 months, for whatever work
he happens to do on LilyPond.

If he wishes to take into account some of my own personal preferences,
my own wish-list includes the cross-staff chords you mentioned, as
well as automatic and manual tie formatting (Han-Wen mentioned that
during the last tie-rewrite, he thought of a possibly better way to
rewrite the tie code), and the higher-level \override mentioned at the
open-features URL above.

Monthly pledges might make it easier on the budgets of cosponsors, for
features that will require a relatively greater amount of Han-Wen's time
and effort. If anyone else considers cross-staff chords, tie formatting
(automatic and manual) and the higher-level \override functionality
important, he or she might wish to consider joining me in making monthly
pledges as mentioned above. Just an idea-- ;-)

-Steve D
New Mexico US
-- 

Anarchism is founded on the observation that since few men are
wise enough to rule themselves, even fewer are wise enough to
rule others. -Edward Abbey



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


Re: Lilypond for Windows 2.5.28 - Guile error

2005-09-16 Thread Mojca Miklavec
Jan Nieuwenhuizen wrote:
 Mojca Miklavec writes:
 
  E:\Mojcaset LILYPOND_VERBOSE=1
  E:\Mojcalilypond
  warning: argv0 relocation: argv0=lilypond, prefix=/usr/share/lilypond/2.6.3
 
 Can you try with the absolute file name (c:/Program 
 Files/LilyPond/usr/bin/lilypond.exe --verbose), or running from bash?

This solves it! If I call lilypond with the whole path, it works (but
it should be working also when calling lilypond alone). I can modify
the module which calls lilypond to fit my installation, but it won't
work for the others.

 Running from bash, I get

Here's my output if it can help you to discover the problem. I guess
that I manually added lilypond to the path, but why does it add itself
once more when running it (it should be either added at installation
time or not at all)?

Thank you,
Mojca


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

E:\set LILYPOND_VERBOSE=1

E:\lilypond
warning: argv0 relocation: argv0=lilypond, prefix=/usr/share/lilypond/2.6.3
warning: no such file: /etc/fonts/fonts.conf
warning: no such directory: /share/ghostscript/8.15/fonts
warning: no such directory: /share/ghostscript/8.15/Resource
warning: no such directory: /share/ghostscript/8.15/lib
warning: no such directory: /share/gs/fonts
warning: no such directory: /share/gs/Resource
warning: no such directory: /share/gs/lib
warning: no such directory: /share/guile/1.7
warning: no such file: /etc/pango/pangorc
warning: no such directory:
GNU LilyPond 2.6.3
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file ice-9/boot-9.scm in load path



E:\c:\Programme\LilyPond\usr\bin\lilypond.exe
warning: argv0 relocation:
argv0=c:\Programme\LilyPond\usr\bin\lilypond.exe,
prefix=/usr/share/lilypond/2.6.3
warning: no such directory:
c:/Programme/LilyPond/usr/share/ghostscript/8.15/fonts
warning: no such directory:
c:/Programme/LilyPond/usr/share/ghostscript/8.15/Resource
warning: no such directory: c:/Programme/LilyPond/usr/share/ghostscript/8.15/lib
warning: no such directory: c:/Programme/LilyPond/usr/share/gs/Resource
GNU LilyPond 2.6.3

LILYPOND_DATADIR=/usr/share/lilypond/2.6.3
LOCALEDIR=/usr/share/locale

Effective prefix: c:/Programme/LilyPond/usr/share/lilypond/2.6.3
FONTCONFIG_FILE=c:/Programme/LilyPond/usr/etc/fonts/fonts.conf
GS_FONTPATH=c:/Programme/LilyPond/usr/share/gs/fonts;C:\WINDOWS/fonts
GS_LIB=c:/Programme/LilyPond/usr/share/gs/lib
GUILE_LOAD_PATH=c:/Programme/LilyPond/usr/share/guile/1.7
PANGO_RC_FILE=c:/Programme/LilyPond/usr/etc/pango/pangorc
PATH=c:/Programme/LilyPond/usr/bin; [REMOVED]; C:\programme\lilypond\usr\bin
Initializing FontConfig...
adding font directory: c:/Programme/LilyPond/usr/share/lilypond/2.6.3/fonts/otf/
adding font directory:
c:/Programme/LilyPond/usr/share/lilypond/2.6.3/fonts/type 1/
adding font directory: c:/Programme/LilyPond/usr/share/lilypond/2.6.3/fonts/svg/
Usage: lilypond [OPTION]... FILE...

Typeset music and/or produce MIDI from FILE.

LilyPond produces beautiful music notation.
For more information, see http://lilypond.org

[HELP REMOVED]

E:\


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


Re: Lilypond for Windows 2.5.28 - Guile error

2005-09-16 Thread Mats Bengtsson



Jan Nieuwenhuizen wrote:

Mojca Miklavec writes:



E:\Mojcaset LILYPOND_VERBOSE=1
E:\Mojcalilypond
warning: argv0 relocation: argv0=lilypond, prefix=/usr/share/lilypond/2.6.3



Can you try with the absolute file name (c:/Program 
Files/LilyPond/usr/bin/lilypond.exe --verbose), or running from bash?

Running from bash, I get



bash


$ LILYPOND_VERBOSE=1 lilypond
warning: argv0 relocation: argv0=c:\Program 
Files\LilyPond\usr\bin\lilypond.exe, prefix=/usr/share/lilypond/2.6.3
warning: no such directory: c:/Program 
Files/LilyPond/usr/share/ghostscript/8.15/fonts
warning: no such directory: c:/Program 
Files/LilyPond/usr/share/ghostscript/8.15/Resource
warning: no such directory: c:/Program 
Files/LilyPond/usr/share/ghostscript/8.15/lib
warning: no such directory: c:/Program Files/LilyPond/usr/share/gs/Resource

LILYPOND_DATADIR=/usr/share/lilypond/2.6.3
LOCALEDIR=/usr/share/locale

Effective prefix: c:/Program Files/LilyPond/usr/share/lilypond/2.6.3
FONTCONFIG_FILE=c:/Program Files/LilyPond/usr/etc/fonts/fonts.conf
GS_FONTPATH=c:/Program Files/LilyPond/usr/share/gs/fonts;C:\WINDOWS/fonts
GS_LIB=c:/Program Files/LilyPond/usr/share/gs/lib
GUILE_LOAD_PATH=c:/Program Files/LilyPond/usr/share/guile/1.7


Sure, but did you try to process an .ly file using the command line?
See http://lists.gnu.org/archive/html/lilypond-user/2005-08/msg00716.html

  /Mats


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


calculating durations

2005-09-16 Thread matthew . munz

Hi all,

  I am a new user of LilyPond and I am currently writing a program that
transforms scores expressed in a piano-roll-like format into LilyPond
scores, for the purpose of typesetting/printing.

  In the source format, music is expressed (like Midi, I suppose) as
strings of notes with absolute durations, without a notion of time
signatures, barlines, ties, etc.  Is there a tried-and-true algorithm
for converting such notes into their proper equivalents in LilyPond,
given a time signature?  

  I'm especially thinking of how to resolve a note like c3 (where 3
means 3 quarter note beats) into Lilypond's c2.  Any suggestions?  I
suppose this problem relates to quantization but in this case, the
input data is mostly clean and unambiguous.  I don't think the
solution should be too compilcated.

  Thanks in advance, and thanks too for making such useful software that
works out-of-the-box on my mac :)  If I've submitted to the wrong list,
I apologize.

  - Matt Munz



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


Re: Lilypond for Windows 2.5.28 - Guile error

2005-09-16 Thread Jan Nieuwenhuizen
Mojca Miklavec writes:

 This solves it! If I call lilypond with the whole path, it works (but
 it should be working also when calling lilypond alone). I can modify
 the module which calls lilypond to fit my installation

Ok, great.

 , but it won't work for the others.

What others?

 Here's my output if it can help you to discover the problem.

Thanks.  The problem is that CMD does not use the absolute file name
in argv0 when invoking LilyPond, while Cygwin's bash does.

 I guess that I manually added lilypond to the path, but why does it
 add itself once more when running it

That is for other programs in the lilypond bin directory.

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: PDF Viewing / Updating a score

2005-09-16 Thread VSD
Unfortunately this seems to be broken in the last lily4jedit version   
(0.2.8-6), at least with lily 2.7.X windows native, because it seems  
to  mix cygwin paths (using / and prefixed with /cygdrive/) in the  
call to  the ghostscript which comes with lilypond.


Please make a bug tracker at www.sourceforge.net/projects/lily4jedit

Bert


Done :)


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


Re: Lilypond for Windows 2.5.28 - Guile error

2005-09-16 Thread Mojca Miklavec
Jan Nieuwenhuizen wrote:
 Mojca Miklavec writes:
 
  This solves it! If I call lilypond with the whole path, it works (but
  it should be working also when calling lilypond alone). I can modify
  the module which calls lilypond to fit my installation
 
 Ok, great.
 
  , but it won't work for the others.
 
 What others?

Just as an example:
Someone has written (still preliminary) support for LilyPond inclusion
to ConTeXt (alternative to LaTeX), see
http://article.gmane.org/gmane.comp.tex.context/22512. Well, the
script calls lilypond filename. Whoever wants to use this script,
has to dig into the source and modify the line calling lilypond to
match his own installation path. (In Linux this is not a problem at
all.)

But it's not only because of this single exception that may be used by
some tens of people, out of which most use Linux. This looks like a
lilypond misbehaviour (It may be that it's Microsoft's fault, but you
can't make anything about it). You can't expect a programmer writing
some piece of software which uses LilyPond to write:
if OS == windows
find the path where lilypond resides and call it with the whole path

I don't even dare to start thinking what would happen if the path
would have to be hardcoded for a GhostScript call.

 That is for other programs in the lilypond bin directory.

Why doesn't it happen already at the installation time then? People
should be able to call lilypond from command line anyway.

Thank you very much for the hint anyway, it will do for now, but it
would be great if this could be fixed in the future releases.

Mojca


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


Re: calculating durations

2005-09-16 Thread Erik Sandberg
On Thursday 15 September 2005 20.48, [EMAIL PROTECTED] wrote:
 Hi all,

   I am a new user of LilyPond and I am currently writing a program that
 transforms scores expressed in a piano-roll-like format into LilyPond
 scores, for the purpose of typesetting/printing.

   In the source format, music is expressed (like Midi, I suppose) as
 strings of notes with absolute durations, without a notion of time
 signatures, barlines, ties, etc.  Is there a tried-and-true algorithm
 for converting such notes into their proper equivalents in LilyPond,
 given a time signature?

I have 2 ideas:
- You could go through MIDI (i.e. let your program convert from 
piano-roll-format to MIDI), and use lilypond's midi2ly program to create 
the .ly file
- If you are familiar with python, write a piano-roll-to-.ly converter based 
on midi2ly.py. In this case, you may only distribute the converter under the 
terms of the GNU GPL.

   I'm especially thinking of how to resolve a note like c3 (where 3
 means 3 quarter note beats) into Lilypond's c2.  Any suggestions?  I
 suppose this problem relates to quantization but in this case, the
 input data is mostly clean and unambiguous.  I don't think the
 solution should be too compilcated.

This is done by midi2ly, so both the above solutions would fix this.

-- 
Erik


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


jEdit - translation

2005-09-16 Thread Marc Weber
Hi @ll!

A friend of my family had some problems with capella typesetting
different voices at the same time.. So I suggested to use lilypond.

Put writing text without a great editor is a pain... You forgett to save
and computer crashes - all your work is gone and so on.
The only great editor I know are:

vim
jedit
emacs.
(of course there are much more editors such like cooledit or nedit ..
but I think they haven't as much features as jedit has and you can
really extend jedit..)

Because this friend doesn't use computers very often I decided that vim
isn't a choice ;) And jEdit wins because of lily4jedit plugin.
The only drawback I know is speed due to java.. ;(
I don't know emacs (lisp) that well excpet that it also runs on windows.

The next problem was: She doesn't speak any English. Of course you can
learn where to save a file and so on, but what to do if there is a
message The following files haven't been saved, yet .. or disk
full..

That was the reason why I've asked at the jEdit developement list why
not introduce some basic support for translations..

The lead developper Slava Pestov told me (and others) that jEdit is
feature complete and that I doesn't want wait for translators till he
can release new features.. and I he and others don't want to cope with
the hassle of naming features.. So for example if someone is speaking of
a Klappe who should know that he means folding ?
And of course it would be hard to find people who are willing to
translate the whole manual.. I think that is the reason why the manual
of lilypond ins't to be translated as well as far as I know...

So spend some days looking at the jEdit source and found that they use
property classes for storing all messages. A Property class is simply a
list.
My Implementation by know just loads the translated property files
after the original ones replacing the English content. It works fine but
isn't perfect, e.g. umlauts aren't shown correctly by now.
And of course the menu is out of sync with the manual !

I also talked to Jan and he told me to send the patch to them when it's
perfect ;)
It will never be perfect because of some other things like shortcuts:
You can use Meta/Alt jkli to move the cursor... That's the default but
that also does mean you can't use jkli for shortcuts of the main menu..

So I want to address you to get to know how many people are interested
and to decide how much further effort to put into this project.. I want
to do some other things, as well :)

All you have to do is compiling jedit 4.3pre2 with my patch or ask me
for the jedit.jar file.
Then you have to put the translated jedit_gui.props file into the
directory translation where jedit.jar is located and rename it to
jedit_gui_props.de

I've decided to call the translated files this way because they don't
harm existing jedit versions..

Translating plugins works the same way.. but you have to put the
translated file back into plugin.jar

Marc Weber

mmmhhh Writing such emails takes a lot of time ..


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


Re: calculating durations

2005-09-16 Thread Han-Wen Nienhuys

Erik Sandberg wrote:

 I'm especially thinking of how to resolve a note like c3 (where 3
means 3 quarter note beats) into Lilypond's c2.  Any suggestions?  I
suppose this problem relates to quantization but in this case, the
input data is mostly clean and unambiguous.  I don't think the
solution should be too compilcated.



This is done by midi2ly, so both the above solutions would fix this.


not that I know of . I guess you'd be better off with Completion 
noteheads. (see the manual).


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


key signatures and other stuff

2005-09-16 Thread nirly (sent by Nabble.com)

i'm using lilypond right now jut to make very simple scores by a program i'm making
my files are pretty much just a bunch of...
{ c d e f g }
{ c e f d }
etc...

what is the simplest way to add key signatures and time signatures to this...
i tried the /key command but i don't know where to put ... everywhere i try gives me an error...
also is there a way i can force the number of bars per line, and number of lines per page?

Sent from the Gnu - Lilypond - User forum at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: jEdit - translation

2005-09-16 Thread Bertalan Fodor

Can't i18n efforts/feature be injected as plugins?

Bert


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


Re: Lilypond for Windows 2.5.28 - Guile error

2005-09-16 Thread Jan Nieuwenhuizen
Mojca Miklavec writes:

 http://article.gmane.org/gmane.comp.tex.context/22512. Well, the
 script calls lilypond filename.

Maybe it should call $(which lilypond) filename.

 Why doesn't it happen already at the installation time then?

Because I do not know how to do that, and none of the core developers
use windows or knows very much about it.

I tried using BAT wrappers to fix this problem of installation time
prefixes, but that was a complete and utter disaster.  I had quite
some help and input from windows users/programmers, but we could not
manage to produce something that would work on more than one flavour
of windows.

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: calculating durations

2005-09-16 Thread Erik Sandberg
On Friday 16 September 2005 20.21, Han-Wen Nienhuys wrote:
 Erik Sandberg wrote:
   I'm especially thinking of how to resolve a note like c3 (where 3
 means 3 quarter note beats) into Lilypond's c2.  Any suggestions?  I
 suppose this problem relates to quantization but in this case, the
 input data is mostly clean and unambiguous.  I don't think the
 solution should be too compilcated.
 
  This is done by midi2ly, so both the above solutions would fix this.

 not that I know of . I guess you'd be better off with Completion
 noteheads. (see the manual).

I ran lily (2.4) on this score:

\score{
{ c4. d8 e2 e2. f4 }
\midi{}
}

Then I ran midi2ly on the resulting midi file. The resulting .ly contains:

  c4. d8 e2 |
  % 2
  e2. f4 |

.. which, as far as I understand, shows that midi2ly does what Matthew needs. 
(bug or feature? :) )

Still, it's a good idea to look at completion heads, to properly handle notes 
that cross bar boundaries.

-- 
Erik


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


Re: key signatures and other stuff

2005-09-16 Thread Erik Sandberg
On Friday 16 September 2005 20.59, nirly (sent by Nabble.com) wrote:
 i'm using lilypond right now jut to make very simple scores by a program
 i'm making my files are pretty much just a bunch of...
 { c d e f g }
 { c e f d }
 etc...

 what is the simplest way to add key signatures and time signatures to
 this... i tried the /key command but i don't know where to put ...

Please read the manual carefully (section 6.3.2) - you must type in everything 
literally. In this case, you need to use a backslash, i.e. \key instead 
of /key.

 everywhere i try gives me an error... also is there a way i can force the
 number of bars per line, and number of lines per page? --

You can insert \break and \pageBreak commands, see manual section 10.1.8. In 
most cases you probably don't want to use \break - lilypond is written to 
automatically insert linebreaks where they look best. (\pageBreak is however 
useful to avoid bad page turns)

-- 
Erik


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


Re: jEdit - translation

2005-09-16 Thread Marc Weber

On Fri, Sep 16, 2005 at 08:55:22PM +0200, Bertalan Fodor wrote:
 Can't i18n efforts/feature be injected as plugins?

I do not want jedit to rely on the translation file.. That's why the
translation properties are loaded after the original ones.. So if the
verison of jEdit changes and some features are added they will be
labeled at least in English :)

And I don't think it's a good idea to write a plugin which modifies
jedit.jar because then you can run into deep trouble providing support,
can't you?

If you know another solution.. please tell me.
Perhaps there is another way I've missed?

Of course you can only exchange the property files.. 
But my goal was beeing able to switch languages if you want to look
s.th. up in help and compare the menu entries..

At the moment you have an extra option where you can enter 'de' for
German and nothing for no translation..

Marc


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