Re: Different colours in a single word

2009-06-11 Thread -Eluze

so - maybe - something is incomplete in the file(s) before?
-- 
View this message in context: 
http://www.nabble.com/Different-colours-in-a-single-word-tp23966604p23976137.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Different colours in a single word

2009-06-11 Thread Mark Polesky

Jayaratna wrote:

 $ lilypond score.ly
 GNU LilyPond 2.12.2
 Processing `score.ly'
 Analisi...
 score.ly:25:11: error: syntax error, unexpected UNSIGNED
 %\include 
   04_fig.ly
 error: failed files: score.ly

The only explanation I can imagine is that the parser doesn't
see the % because in fact it is *inside* a quoted string. For
example, if you accidentally put a quote-mark at the end of a
line somewhere earlier in the code, like this:

#(set-global-staff-size 16)

%\include 04_fig.ly


the parser will actually see this:

1. scheme command: #(set-global-staff-size 16)
2. quoted string: 

%\include 
3. unsigned integer: 04

Here it will stop parsing because it doesn't have any 
instructions on what to do if it reads a number in that context.
Perhaps the problem could be in one of the included files? I
don't know enough to say for sure if that's something that could
happen. Use

%{
   multi-line comments
%}

to isolate potential culprits...

 \book {
 
 
 
   \header {
 
 title = \markup \center-align { \smallCaps La Fuitte du Roi
 d'Angleterre \fontsize #-3 à 3. deux Violons où Flutes,  Basse ou
 Continue. par N. DEROSIER }
 subtitle = \markup { \italic \fontsize #-2  et se vendenz chez.
 l'Autheur, sur le Cingel devant le Doele inde Roose-Boom }
 subsubtitle = \markup { \smallCaps A Amsterdam, 1689.}
 %composer = \markup \center-column { Nicolas Derosier   }
 copyright =  © A M*** 2009
 %tagline = \markup {\roman A* M* \concat {\with-color
 #(x11-color red)  M \with-color #(x11-color black) vsicvs P**
 C*}
 
 }

 If I delete the %\include 04_fig.ly line, Lilypond starts giving errors
 from the next  character.


I would recommend that you format your file to fit (uncompromisingly)
within at most 72 lines, to prevent certain problems. For example, I
copied your code directly into a file, which compiled with errors
because the curly braces were not matched. Here is the structure:

\book {
  \header {
title = { ... }
subtitle = { ... }
subsubtitle =  { ... }
%composer = { ... }
copyright =  ...
%   tagline =  { \concat {
   ...}
}

I assume you meant to comment out all of the tagline? Perhaps it was 
originally on one line in your file, but perhaps through e-mail it 
gained one or two line-endings. Which means that

 ...}
  }

is not commented out. Multi-line comments are done like this:
%{
   tagline =  { \concat {
   ...}
}
%}

But by doing this, it becomes clear that the \header and \book braces
are not closed. So here's a clearer indentation:

\header {
  title =  {
long
  }
  subtitle = {
long
  }
  subsubtitle = short
  composer = short
  copyright = short
  tagline =  {
long
  }
}

Note that curly braces can safely be removed if there is only one
item:

subsubtitle = \markup \smallCaps string

So here's your file re-formatted with some changes:

1. title: \center-align -- \center-column
   (I assume that's what you meant)
2. subtitle: used \pad-to-box to balance the vertical spacing
3. subtitle: used \concat to break 1 string into 2 lines of code.
4. subsubtitle: removed unnecessary curly braces.
5. composer: removed \markup \center-column since it does nothing.
6. tagline: removed \roman (default is roman already)
7. tagline: #(x11-color red) -- #red
8. tagline: removed \with-color #(x11-color black) since the
   color reverts back to black automatically anyway.

HTH.
- Mark

\version 2.12.2
#(set-global-staff-size 16)

\include 01_fl1.ly
\include 01_fl2.ly
\include 01_bc.ly
%\include 01_fig.ly

\include 02_fl1.ly
\include 02_fl2.ly
\include 02_bc.ly
%\include 02_fig.ly

\include 03_fl1.ly
\include 03_fl2.ly
\include 03_bc.ly
%\include 03_fig.ly

\include 04_fl1.ly
\include 04_fl2.ly
\include 04_bc.ly
%\include 04_fig.ly


\header {
  title = \markup \center-column {
\smallCaps La Fuitte du Roi d'Angleterre
\fontsize #-3
à 3. deux Violons où Flutes,  Basse ou Continue. par N. DEROSIER
  }
  subtitle = \markup
\pad-to-box #'(0 . 0) #'(0 . 2.5)
\italic \fontsize #-2 \concat {
et se vendenz chez. l'Autheur, 
sur le Cingel devant le Doele inde Roose-Boom
  }
  subsubtitle = \markup \smallCaps A Amsterdam, 1689.
  composer = Nicolas Derosier
  copyright = © A M*** 2009
  tagline = \markup \concat {
A* M* 
\with-color #red M
vsicvs P** C*
  }
}
{ c'' }






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


Re: Different colours in a single word

2009-06-11 Thread Trevor Daniels


Andrea

One of the commonest causes of errors in LilyPond files is unmatched 
quotes, braces, brackets, angle brackets etc.  They cause weird 
errors which can be difficult to find.  As Mark has pointed out, 
this seems to be the cause of your problem(s).  It really is 
important to lay out your code carefully from the outset, with 
correct indentation, as Mark has done, to help you spot these 
mis-matches - we all make them all the time, well, I do!


Trevor

- Original Message - 
From: Jayaratna jayara...@gmail.com

To: lilypond-user@gnu.org
Sent: Thursday, June 11, 2009 6:48 AM
Subject: Re: Different colours in a single word



Hi Trevor,

thank you for your reply.

Now the problem looks worse, as I get really strange errors like 
this:


$ lilypond score.ly
GNU LilyPond 2.12.2
Processing `score.ly'
Analisi...
score.ly:25:11: error: syntax error, unexpected UNSIGNED
%\include 
  04_fig.ly
error: failed files: score.ly

The first lines of my file are like this:


%%%
\version 2.12.2
#(set-global-staff-size 16)




\include 01_fl1.ly
\include 01_fl2.ly
\include 01_bc.ly
%\include 01_fig.ly

\include 02_fl1.ly
\include 02_fl2.ly
\include 02_bc.ly
%\include 02_fig.ly

\include 03_fl1.ly
\include 03_fl2.ly
\include 03_bc.ly
%\include 03_fig.ly

\include 04_fl1.ly
\include 04_fl2.ly
\include 04_bc.ly
%\include 04_fig.ly

\book {



 \header {

   title = \markup \center-align { \smallCaps La Fuitte du Roi
d'Angleterre \fontsize #-3 à 3. deux Violons où Flutes,  Basse ou
Continue. par N. DEROSIER }
   subtitle = \markup { \italic \fontsize #-2  et se vendenz chez.
l'Autheur, sur le Cingel devant le Doele inde Roose-Boom }
   subsubtitle = \markup { \smallCaps A Amsterdam, 1689.}
   %composer = \markup \center-column { Nicolas Derosier   }
   copyright =  © A M*** 2009
%tagline = \markup {\roman A* M* \concat {\with-color
#(x11-color red)  M \with-color #(x11-color black) vsicvs 
P**

C*}

   }
%


Version is 2.12.2


If I delete the %\include 04_fig.ly line, Lilypond starts giving 
errors

from the next  character.



Thank you,
Andrea


Trevor Daniels wrote:


Hi

This works fine for me.  Are you including the title in a \header
{ ... } block?

If you are, tell us what version of LilyPond you are using, what 
the

error is, and post more of your .ly file so we can look for the
problem.

Trevor

- Original Message - 
From: Jayaratna jayara...@gmail.com

To: lilypond-user@gnu.org
Sent: Wednesday, June 10, 2009 7:34 PM
Subject: Re: Different colours in a single word




I am sorry I am a real beginner, this:

   title = \markup {\roman Nomen Cognomen \concat {\with-color
#(x11-color red)  M \with-color #(x11-color black)
vsicvs} }

produces errors.




Graham Percival-3 wrote:


Use \concat.  See the docs for details.

Cheers,
- Graham

On Wed, Jun 10, 2009 at 09:55:49AM -0700, Jayaratna wrote:


Dear all,

I need to print in red colour the first letter in a word, but
the
following:

\markup {\roman \with-color #(x11-color red) M \with-color
#(x11-color
black) vsicvs}

creates a space between the coloured letter and the rest of the
word.

Any suggestions?
Thank you in advance,
Andrea
--
View this message in context:
http://www.nabble.com/Different-colours-in-a-single-word-tp23966604p23966604.html
Sent from the Gnu - Lilypond - User mailing list archive at
Nabble.com.



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



___
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/Different-colours-in-a-single-word-tp23966604p23968396.html
Sent from the Gnu - Lilypond - User mailing list archive at
Nabble.com.



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





___
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/Different-colours-in-a-single-word-tp23966604p23975632.html
Sent from the Gnu - Lilypond - User mailing list archive at 
Nabble.com.




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



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


Re: Notation Editor with MIDI

2009-06-11 Thread Andy
Grammostola Rosea rosea.grammostola at gmail.com writes:

  Try Musescore
 
  \r
 btw why don't you install ubuntu 9.04? It has all you want.
 Lilypond
 Musescore
 Nted
 Rosegarden
 Frescobaldi
Do I need all these programs to generate MIDI? It looks like I had only to 
install MuseScore on VISTA. I installed it within a minute and it runs. 
Except...

Since I asked in a Lilypond forum, I tried to generate a .ly file. This works, 
but MuseScore hangs, when I try to open the saved file. But this was only an 
experiment and should not affect normal work. I will report it in MuseScore 
forum.

Many thanks to all who answered.

regards,
Andy




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


Re: Lilypond sensitivity to whitespace

2009-06-11 Thread Trevor Daniels


Nick Payne wrote Wednesday, June 10, 2009 11:55 PM


Is there anywhere in the documentation that states where 
whitespace *is*
required? I was getting a warning in my console output: warning: 
More
alternatives than repeats.  Junking excess alternatives, and I 
couldn't see
what could be causing this. I eventually found that that warning 
was caused
by having no space between ] and } in one of the alternatives. 
i.e.


{g'8[ g g g g g]}

instead of

{g'8[ g g g g g] }

As making that change got rid of the warning.

The only mention I could find regarding whitespace was s.2.1.3 of 
the

learning manual, which doesn't really cover this case.


There is advice in Learning Manual 2.1.3 to surround
braces with whitespace:

The braces should be surrounded by a space unless
they are at the beginning or end of a line to avoid
ambiguities.

However, I've just added a further paragraph to that
section to emphasise that whitespace can always be
added, but not eliminated, especially round braces.


Nick


Trevor



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


OFF TOPIC: on porting Platform Builder 6.0 [WAS: Re: Notation Editor with MIDI]

2009-06-11 Thread Jan Nieuwenhuizen
Op donderdag 11-06-2009 om 07:11 uur [tijdzone +0200], schreef Helge
Kruse:

Hi Helge,

  apt-get install skype
 You are right, you find one point on the list, that is ported to Linux.

But that's important!  Possibly you started off with a list 
of things that you couldn't do with Linux.  That list is shrinking
while we speak.  It is interesting that you should complain about
something not working when it does, and apparently much sooner
than you expected!

 I don't say that you, Jan, should port any of theses programs. I 
 understand you as you, outside in the world. Sorry if this was 
 misleading.

Ah, that's a relief.  Now listen-up fellow LilyPond developers
and users: I'm not going to help you as I just got relieved from
this task, but will *you* please port Platform Builder 6.0 to Linux, so
that Helge may switch to Ubuntu?

I'm saying please, but you may take this as an order!  ;-)

Platform Builder 6.0 is a beautiful piece of software which, when ported
to Linux may greatly help Microsoft advance their dieing mobile and
embedded OS solutions -- and may almost enable Helge to switch to
Ubuntu.  So, what are you waiting for!?

Helge, to avoid burdening our community with an unnecessary load
of work, could you please check if Platform Builder 6.0 runs in
wine, on Ubuntu Jaunty?  Thanks!

 Does this mean that I have to use Open Source exclusively and have no 
 possibility to pay for a good software job anymore?

My advice would be that you can and should do whatever you think is
best.  

Personally, I believe that advocating, using and developing free
software helps the world more, and makes you happier than paying for 
and/or using proprietary software.  Sometimes using proprietary
software can hardly be avoided and feeling bad about that does
not help anyone either.

 Yep. The OP asked for MIDI file generating. I write harp scores for my 
 friends and me. I use Lilypond, since I get the best score even with 
 special requirements.

Thanks!  Can we see them, are they published on the web?

Greetings,
Jan.

-- 
Jan Nieuwenhuizen jann...@gnu.org | GNU LilyPond - The music typesetter
Avatar®: http://AvatarAcademy.nl| http://lilypond.org



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


Trouble with convert-ly

2009-06-11 Thread Father Gordon Gilbert
Hi all,

I've recently installed jEdit 4.3 pre16 on my Ubuntu Jaunty, after a lot of
trouble  and most ably helped by Bertalan.  When I first tried, I had to
change the location of the program from a Windoze-type location with '\',
but it now works.

But now I find that while I can compile a file successfully, I cannot
convert-ly.  When I try, I get the following:

LilyPond ready.
convert-ly.py --edit /home/fgg/Desktop/LilyPondFiles/For All the Saints.ly
/usr/bin/python: can't open file '/usr/bin/convert-ly.py': [Errno 2] No such
file or directory
Processing time: 0 seconds

It's not too bad with this particular file, which is 2.11.x, but many of my
files are now quite old (2.2.x - 2.7.x), and I'd like to update them.

Any ideas?

Gordon+



-- 
Fr. Gordon Gilbert
Penetanguishene, ON
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond and Jazz chords

2009-06-11 Thread Jean-Alexis Montignies


Le 10 juin 09 à 02:11, kzt a écrit :


Hi,


You can find an example of a chord notated as 'phrygian' (well  
it's more a
modal indication, but that's what the composer Gary Peacock  
intended) in the

lead sheet for Vignette.
More arguments for using names: Alt is much more easy to write  
and read, less

error prone than: 7.3-.5-.9-.11-.13-


So if Alt is always (or primarily) 7.3-.5-.9-.11-.13- we should  
add an alt
modifier to LilyPond.  Then, we could say c:alt, and get just what  
the
composer intends.  And then we should have the ChordNames context  
generate

CAlt.

Note that it's notated C7 Alt (or alt)


At least in the Real Books, the chord usually just says C alt on  
the chart.  The structure of the alt chord is pretty variable and  
up for interpretation on the fly.  Many times it's just played as a  
dominant 7b5b9.



I agree with Tim. It's up for players.
Assigning 7.3-.5-.9-.11-.13-  statically to the altered chord   
does not make sense to me.
It depends how you define the altered chord. For me it's the chord  
derived from the altered scale (7th mode of melodic minor). The alt  
chord is a logical choice for subV7, subV7/V, subV7/IV.


Of course a player will rarely play all the notes of the mode. Common  
voicings includes the ones with b5b9, b13b9, b13#9


BTW, is 3-  right?   I guess 3- is meant for #9 but looks   
major 3rd is missing.


Right this is a trick because Lilypond won't accept #9 and b9 and the  
same time. Next trick is to use a b11 'as' a M3. I did that because of  
the limitations of Lilypond. Now we're discussing about how to do that  
better.



Why don't we just make alt available only for scoring? bad idea?
To me, score is important.  midi is not.

Right, Lilypond is really about engraving. Midi is a (probably useful)  
extra function but it should not be the aim.
If I notate an Alt chord, I intend players to improvise over the  
altered scale, I intend compers to underlay this sound as well but not  
to play a cluster with all the scale chords :). If I render a midi  
file, I would choose one possible voicing for the Alt chord.
So currently in Lilypond we can't do that: at the same time have a  
correct score and a correct midi track for the chords. This is not an  
issue for me because I'm not using the midi side.
I guess the closest thing to jazz with lilypond for now is to have a  
separate track for the score and for the generated midi track (an  
arrangement for the chords).



- kzt


Jean-Alexis



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


Re: Trouble with convert-ly

2009-06-11 Thread Federico Bruni

Father Gordon Gilbert wrote:
 
But now I find that while I can compile a file successfully, I cannot 
convert-ly.� When I try, I get the following:


LilyPond ready.
convert-ly.py --edit /home/fgg/Desktop/LilyPondFiles/For All the Saints.ly
/usr/bin/python: can't open file '/usr/bin/convert-ly.py': [Errno 2] No 
such file or directory

Processing time: 0 seconds



I'm very new with lilypond..
..anyway, you may try to rename the lilypond file so that there are no 
spaces:


for example: ForAllTheSaints.ly

(because the terminal thinks spaces are spaces between 
commands,options,..)



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


Re: Trouble with convert-ly

2009-06-11 Thread Bertalan Fodor (LilyPondTool)

Look into the jedit plugin options, where convert-ly's name is set.

Father Gordon Gilbert wrote:

Hi all,

I've recently installed jEdit 4.3 pre16 on my Ubuntu Jaunty, after a 
lot of trouble  and most ably helped by Bertalan.  When I first tried, 
I had to change the location of the program from a Windoze-type 
location with '\', but it now works.


But now I find that while I can compile a file successfully, I cannot 
convert-ly.  When I try, I get the following:


LilyPond ready.
convert-ly.py --edit /home/fgg/Desktop/LilyPondFiles/For All the 
Saints.ly
/usr/bin/python: can't open file '/usr/bin/convert-ly.py': [Errno 2] 
No such file or directory

Processing time: 0 seconds

It's not too bad with this particular file, which is 2.11.x, but many 
of my files are now quite old (2.2.x - 2.7.x), and I'd like to update 
them.


Any ideas?

Gordon+
 



--
Fr. Gordon Gilbert
Penetanguishene, ON


___
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: Improvisor lilypond support!?

2009-06-11 Thread lasconic


I took some time yesterday night to take a look to improvisor code and
estimate the cost of adding musicXML export. Import is indeed more
complicated.
I downloaded the code of improvisor 3.39. It's the last and only code
available. Improvisor inner model is a little bit different than musicXML
one. Common practice in musicXML is to don't time the chords and put them
in the middle of notes. At least, this is my experience with finale musicXML
export features. 
I managed to make a quick and dirty prototype to export a simple melody (no
tuplet) and chord root and bass (no extension yet). Chords are in between
notes but lily+musicML2ly shoud be able to deal with it. Unfortunately, 3.39
is an old version, and according to Bob Keller the code base changed a lot
but it's not public yet.  
With some more voices, perhaps we can convince Bob Keller and his team to
open up the repository to the public. After all, improvisor is a fine piece
of software which can benefit from open development, moreover if time and
resources are an issue.

Lasconic

-- 
View this message in context: 
http://www.nabble.com/Improvisor-lilypond-support%21--tp23950076p23980192.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Improvisor lilypond support!?

2009-06-11 Thread Grammostola Rosea

lasconic wrote:

I took some time yesterday night to take a look to improvisor code and
estimate the cost of adding musicXML export. Import is indeed more
complicated.
I downloaded the code of improvisor 3.39. It's the last and only code
available. Improvisor inner model is a little bit different than musicXML
one. Common practice in musicXML is to don't time the chords and put them
in the middle of notes. At least, this is my experience with finale musicXML
export features. 
I managed to make a quick and dirty prototype to export a simple melody (no

tuplet) and chord root and bass (no extension yet). Chords are in between
notes but lily+musicML2ly shoud be able to deal with it. Unfortunately, 3.39
is an old version, and according to Bob Keller the code base changed a lot
but it's not public yet.  
With some more voices, perhaps we can convince Bob Keller and his team to

open up the repository to the public. After all, improvisor is a fine piece
of software which can benefit from open development, moreover if time and
resources are an issue.

Lasconic

  

Thanks man. I'll forward this to Bob Keller too.
I think he mentioned in a message that he is willing to give developers 
svn access to the recent code.


Bob, could you comment on this?

Kind regards,

\r


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


Re: Different colours in a single word

2009-06-11 Thread Mats Bengtsson
Your example works excellently over here when I try it with version 2.12 
and 2.13. What version of LilyPond do you use?


   /Mats

Jayaratna wrote:

I am sorry I am a real beginner, this:

title = \markup {\roman Nomen Cognomen \concat {\with-color
#(x11-color red)  M \with-color #(x11-color black) vsicvs} }

produces errors.




Graham Percival-3 wrote:
  

Use \concat.  See the docs for details.

Cheers,
- Graham

On Wed, Jun 10, 2009 at 09:55:49AM -0700, Jayaratna wrote:


Dear all,

I need to print in red colour the first letter in a word, but the
following:

\markup {\roman \with-color #(x11-color red) M \with-color
#(x11-color
black) vsicvs}

creates a space between the coloured letter and the rest of the word.

Any suggestions?
Thank you in advance,
Andrea
--
View this message in context:
http://www.nabble.com/Different-colours-in-a-single-word-tp23966604p23966604.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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

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





  


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Notation Editor with MIDI

2009-06-11 Thread David Stocker
While MuseScore's ability to import *.ly files is a nice feature, the 
greatest thing about its export of *.ly files is the ability to type a 
score with keyboard and mouse, and then use LilyPond as the typesetter 
on the exported *.ly file.


MuseScore is still in beta status. Although its feature set doesn't yet 
rival Finale and Sibelius, a thorough walk through the menus and dialogs 
reveals that the groundwork has been laid to make it every bit as 
feature rich, and more. It's quite a bit buggier than even Finale (which 
is saying something), but then again, it's still in beta status.


Their goal--to become the de-facto standard notation program for 
learning institutions--is ambitious to be sure. It's not clear at this 
point if it will ever mature into a professional grade engraving tool. 
Nevertheless, I'm watching with interest...


David

Andy wrote:

Grammostola Rosea rosea.grammostola at gmail.com writes:

  

Try Musescore

\r
  

btw why don't you install ubuntu 9.04? It has all you want.
Lilypond
Musescore
Nted
Rosegarden
Frescobaldi

Do I need all these programs to generate MIDI? It looks like I had only to 
install MuseScore on VISTA. I installed it within a minute and it runs. 
Except...


Since I asked in a Lilypond forum, I tried to generate a .ly file. This works, 
but MuseScore hangs, when I try to open the saved file. But this was only an 
experiment and should not affect normal work. I will report it in MuseScore 
forum.


Many thanks to all who answered.

regards,
Andy




___
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


G_8 not complete in a small eps file

2009-06-11 Thread Alexandros Droseltis
Hello all!

[I am using GNU LilyPond 2.10.33 and I am a new user.]

I try to create a small example, in order to use it in a text document.
My lilypond file looks like this

%%
\version 2.10.33

\paper{
indent=0\mm
line-width=100\mm
oddFooterMarkup=##f
oddHeaderMarkup=##f
bookTitleMarkup = ##f
scoreTitleMarkup = ##f
}

line = relative c
{
\clef G_8 e f g a
}

\score{ \new Staff\line }
%%

and I give the command

lilypond -b eps -dno-gs-load-fonts -dinclude-eps-fonts example.ly

In the result, the 8 under the clef is cut. I could not find how I could
solve this problem niftily. I would be grateful for any idea.

Best Regards

Alexandros


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


Second release candidate of OOoLilyPond 0.4.0

2009-06-11 Thread Samuel Hartmann
I hope I have now fixed some bugs. I would be happy about some
feedback. Especially whether there are still some path related errors.

The second release candidate is available under:
http://www.hartmann-weine.ch/OOoLilyPond-0.4.0rc2.oxt

For the ones that do not know what OOoLilyPond is: please read:
http://ooolilypond.sourceforge.net

regards,

Samuel


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


Re: OFF TOPIC: on porting Platform Builder 6.0 [WAS: Re: Notation Editor with MIDI]

2009-06-11 Thread Anthony W. Youngman
In message 1244715010.25811.674.ca...@heerbeest, Jan Nieuwenhuizen 
janneke-l...@xs4all.nl writes

Ah, that's a relief.  Now listen-up fellow LilyPond developers
and users: I'm not going to help you as I just got relieved from
this task, but will *you* please port Platform Builder 6.0 to Linux, so
that Helge may switch to Ubuntu?

I'm saying please, but you may take this as an order!  ;-)

Platform Builder 6.0 is a beautiful piece of software which, when ported
to Linux may greatly help Microsoft advance their dieing mobile and
embedded OS solutions -- and may almost enable Helge to switch to
Ubuntu.  So, what are you waiting for!?

Helge, to avoid burdening our community with an unnecessary load
of work, could you please check if Platform Builder 6.0 runs in
wine, on Ubuntu Jaunty?  Thanks!


Or in vmWare, or one of the other virtual machines ...

(I'm thinking of trying one, but with 3/4Gb ram and an Athlon 1050 - no 
I don't think they made one but it's a 1400 running at a 100MHz FSB 
instead of 133 - I think it'll make pretty heavy weather of running it. 
And at the moment a PC upgrade isn't on the cards :-(


Cheers,
Wol
--
Anthony W. Youngman - anth...@thewolery.demon.co.uk



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


A python function to covert lists of numbers to Lilypond files

2009-06-11 Thread John O'Hagan
I've been working on an algorithmic music-generating program written in 
Python. It uses the function below to convert its numerical output (the same 
output that is converted to sound) into Lilypond text output, thus 
automatically producing scores (or midi files).

I thought it might be of interest to those working in similar areas. Any 
feedback appreciated.

Regards,

John

Python code:

def auto_lily(arg, tempo=120, percussion=False, bass=False, midi=False,
filename=auto_lily):

Translate arg into a Lilypond score or midi file.
Arg must be a list of bars. A bar is a list of 2-tuples,
of which the first element is a list of integers representing pitches,
and the second is an integer representing duration.

For example:

[ [([0, 4, 7], 4), ([0, 4, 7], 4)], [([0, 4, 7], 8)] ]

will be converted to a bar of two C-major chords
each four quavers in length, followed by
a bar of one C-major chord eight quavers in length.

pitch_dict = { 0: c, 1: cis, 2: d, 3: dis, 4: e, 5: f,
6: fis, 7: g, 8: gis, 9: a, 10: ais, 11: b, rest:r }
duration_dict = {1:str(8), 2:str(4), 3:str(4)+. , 4:str(2) ,
6:str(2)+., 7:str(2) + . + ., 8:str(1) }

if percussion:
clef = percussion
elif bass:
clef = bass
else:
clef = treble
clef = \n \\clef   + clef

tempo =  \n \\tempo 4 =  + str(tempo)

score = [ \\score { \n\n \\version \2.10.33\ { , clef, tempo]

last_octave = 
last_time_sig = 

for bar in arg:

highest = max([max(event[0]) for event in bar])
lowest = min([min(event[0]) for event in bar])
middle = (highest + lowest) / 2

if middle = 30 :
octave = 2
elif middle in range(18, 30):
octave = 1
elif middle in range(-18, 18):
octave = 0
elif middle in range(-30, -18):
octave = -1
elif middle  -30 :
octave  = -2

octave = #(set-octavation  + str(octave) +)
if octave == last_octave:
octave = 
else:
last_octave = octave

numerator = sum([event[1] for event in bar])

if (numerator != 6) and  (numerator != 12) and not numerator % 2:
numerator /= 2
time_sig =  \n \\time  + str(numerator) + /4
else:
time_sig =  \n \\time  + str(numerator) + /8
if time_sig == last_time_sig:
time_sig = 
else:
last_time_sig = time_sig

newbar = [\n,  time_sig, octave, \n]
for event in bar:
duration = event[1]
if duration == 0:
continue
else:
if len(event)  1:
openchord , closechord =   ,   
else:
openchord , closechord = , 

pitches = [openchord]
for i in event[0] :
tag = []
if i = 0:
for _ in range(((i)/12 + 1)) :
tag.append(')
else:
for _ in range(abs(((i)/12 + 1))) :
tag.append(,)
pitches += [pitch_dict[(i) % 12]] + tag
pitches.append(closechord)
pitches = ''.join(pitches)

if duration == 5:
newbar += [pitches,  2,  ~, pitches, 8]
elif duration = 8:
newbar += [pitches, duration_dict[duration]]
else:
semibreves = duration/8
newbar += [pitches,  1]
for _ in range(1, semibreves):
newbar += [~, pitches,  1]
if duration % 8 == 5:
newbar += [ ~, pitches,  2 , ~, pitches, 8]
elif duration % 8:
newbar += [~, pitches, duration_dict[ duration % 8]]

score +=  newbar

if midi:
score.append(\n }\n \\midi \n{ }\n } )
else:
score.append(\n }\n })

score = ''.join(score)
return score

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


Re: G_8 not complete in a small eps file

2009-06-11 Thread -Eluze


Alexandros Droseltis-3 wrote:
 
 [I am using GNU LilyPond 2.10.33 and I am a new user.]
 
 In the result, the 8 under the clef is cut. I could not find how I could
 solve this problem niftily. I would be grateful for any idea.
 
 

for me it looks ok with version 2.13.1 - maybe you should upgrade to a newer
version!?
-- 
View this message in context: 
http://www.nabble.com/G_8-not-complete-in-a-small-eps-file-tp23981367p23984600.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Notation Editor with MIDI

2009-06-11 Thread lasconic

Thanks :) 
The lilypond export, although in beta, is a lot more solid than the import,
consider it alpha.
Lilypond syntax is very versatile, making it a powerful tool. But it's hard
to parse as well.



David Stocker wrote:
 
 While MuseScore's ability to import *.ly files is a nice feature, the 
 greatest thing about its export of *.ly files is the ability to type a 
 score with keyboard and mouse, and then use LilyPond as the typesetter 
 on the exported *.ly file.
 
 MuseScore is still in beta status. Although its feature set doesn't yet 
 rival Finale and Sibelius, a thorough walk through the menus and dialogs 
 reveals that the groundwork has been laid to make it every bit as 
 feature rich, and more. It's quite a bit buggier than even Finale (which 
 is saying something), but then again, it's still in beta status.
 
 Their goal--to become the de-facto standard notation program for 
 learning institutions--is ambitious to be sure. It's not clear at this 
 point if it will ever mature into a professional grade engraving tool. 
 Nevertheless, I'm watching with interest...
 
 David
 

-- 
View this message in context: 
http://www.nabble.com/Notation-Editor-with-MIDI-tp23940840p23984943.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: G_8 not complete in a small eps file

2009-06-11 Thread Alexandros Droseltis
On Thu, Jun 11, 2009 at 09:23 -0700, -Eluze wrote:
 
 
 Alexandros Droseltis-3 wrote:
  
  [I am using GNU LilyPond 2.10.33 and I am a new user.]
  
  In the result, the 8 under the clef is cut. I could not find how I could
  solve this problem niftily. I would be grateful for any idea.
  
  
 
 for me it looks ok with version 2.13.1 - maybe you should upgrade to a newer
 version!?

Thank you for the answer. I updated to 2.13.1 and I find out, that there
is no option -b eps any more! Now I cannot create the small eps image at
all. [Of course, the pdf and the ps file looks fine, they looked fine
with the older version too; what happened to eps? :( ]

Alexandros


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


Re: G_8 not complete in a small eps file

2009-06-11 Thread -Eluze


Alexandros Droseltis-3 wrote:
 
 On Thu, Jun 11, 2009 at 09:23 -0700, -Eluze wrote:
 
 
 Alexandros Droseltis-3 wrote:
  
  [I am using GNU LilyPond 2.10.33 and I am a new user.]
  
  In the result, the 8 under the clef is cut. I could not find how I
 could
  solve this problem niftily. I would be grateful for any idea.
  
  
 
 for me it looks ok with version 2.13.1 - maybe you should upgrade to a
 newer
 version!?
 
 Thank you for the answer. I updated to 2.13.1 and I find out, that there
 is no option -b eps any more! Now I cannot create the small eps image at
 all. [Of course, the pdf and the ps file looks fine, they looked fine
 with the older version too; what happened to eps? :( ]
 
to be honest  - i had a look at the png file and not at the eps file (which
btw is created)
-- 
View this message in context: 
http://www.nabble.com/G_8-not-complete-in-a-small-eps-file-tp23981367p23987069.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Different colours in a single word

2009-06-11 Thread Jayaratna

Dear all,

first of all thenk you for your fantastic supprt. I found the problem, which
was in one of the subfiles (I forgot to type a  at the end of a markup
:blush:)

Trevor, you are certainly right, I don't do a good outlining of my files.
Usually I don't modify the header, and when I do I prefer to comment out
whole lines, that's why many times there's confusion with { }. In the
previous case I also noticed a } lacked, but it was commented out and I did
not care.

Now all works fine, but when I uncomment the line

 tagline = \markup \concat { A*** M* \with-color #red M
vsicvs P*** C***  } 


I get the following error:

score.ly:38:23: error: stringa di escape sconosciuta: `\concat'
 tagline = \markup 
\concat { A*** M* \with-color
#red M vsicvs P*** C***  } 

it's in italian (version 2.10.33) I hope my translation is good. It looks
like it does not understand the command \concat it says error: unknown
escape string: '\concat'

Thank you very much,
Andrea







-Eluze wrote:
 
 so - maybe - something is incomplete in the file(s) before?
 

-- 
View this message in context: 
http://www.nabble.com/Different-colours-in-a-single-word-tp23966604p23987448.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


R1*3

2009-06-11 Thread Mario Moles
Perché R1*2 non funziona in questo file?
-- 

oiram/bin/selom
cofon ={\cadenzaOff \bar |\cadenzaOn}
cofn ={\cadenzaOff \bar |\cadenzaOn}
snu = { \set stringNumberOrientations = #'(up) }
snd = { \set stringNumberOrientations = #'(down) }
snl = { \set stringNumberOrientations = #'(left) }
snr = { \set stringNumberOrientations = #'(right)}
fou = { \set fingeringOrientations = #'(up) }
fod = { \set fingeringOrientations = #'(down) }
fol = { \set fingeringOrientations = #'(left) }
for = { \set fingeringOrientations = #'(right) }
gt = \override Glissando #'breakable = ##T
gl = \glissando
gT = \override Glissando #'thickness = #2
ignore = \override NoteColumn #'ignore-collision = ##t
\version 2.12.1
% \paper{
% #(set-paper-size a4)
% bottom-margin = 1.2\cm
% top-margin = 0.4\cm
% ragged-last-bottom = ##f
% ragged-bottom = ##f
% between-system-space =  5\cm
% %{between-system-padding = #5%}
% }
\layout {
indent = 0.5\cm
}

#(set-global-staff-size 26)

#(define (calc-custom-stroke-text grob)
   (let ((text (ly:event-property (event-cause grob) 'text)))
 (if (string? text)
 (markup #:center-column (#:lower 2.5 ^ text))
 (stroke-finger::calc-text grob

#(define (make-stroke-finger location finger)
   (apply make-music
  (append
   (list
'StrokeFingerEvent
'origin location)
   (if  (string? finger)
(list 'text finger)
(list 'digit finger)

da = #(define-music-function (parser location) ()
(make-stroke-finger location a))
dm = #(define-music-function (parser location) ()
(make-stroke-finger location m))
di = #(define-music-function (parser location) ()
(make-stroke-finger location i))
dp = #(define-music-function (parser location) ()
(make-stroke-finger location p))
dan = #(define-music-function (parser location) ()
 (make-stroke-finger location 4))
dmn = #(define-music-function (parser location) ()
 (make-stroke-finger location 3))
din = #(define-music-function (parser location) ()
 (make-stroke-finger location 2))
dpn = #(define-music-function (parser location) ()
 (make-stroke-finger location 1))
\new Staff
% laPiccoloQuaglia = 

  \new Voice
 \relative c' 
{  \clef G_8
  \key c \major
  \time 4/4
 \set strokeFingerOrientations = #'(up)
  \override StrokeFinger #'avoid-slur = #'inside
  \override StrokeFinger #'add-stem-support = ##t
  \override StrokeFinger #'font-size = #0
  \override StrokeFinger #'text = #calc-custom-stroke-text
%{  \once \override Staff.TimeSignature #'stencil = ##f%}
  \override StringNumber #'staff-padding = #'()
  \fol \snd
  \voiceOne
  \override Slur #'height-limit = #4
  % \set Score.defaultBarType = #empty 
  %1 rigo
  R1*3
 g-\di2 b-\dm a-2-\di d-3-\dm c-1-\di4 b-0-\dm a-2-\di
  g-\dm a-\di2 d-3-\dm \break
  g,-\di b-\dm a-2-\di c-1-\dm d-3-\di4
  c-1-\dm b-\di a-2-\dm g-\da1 \bar :|
}

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


Re: R1*3

2009-06-11 Thread James E. Bailey


On 11.06.2009, at 21:26, Mario Moles wrote:


Perché R1*2 non funziona in questo file?
--  


oiram/bin/selom
suegiu.ly___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user



I see an R1*3 and it shows properly when I render this using version  
2.12.2


James E. Bailey



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


Re: Transposition with arrow quarter-tone notation

2009-06-11 Thread fenevad

I'm rather late to this discussion, but it describes something quite similar
to my need. I'm working with music from Central Europe where there is an
established tradition of two levels of accidentals that correspond quote
closely to what Joseph arrived at. The only real difference is glyphic. In
this case, rather than combining arrows with the standard accidental symbol,
the arrow is put above the note, quite close by it. So, for instance you
could have a natural sign on an D with an up arrow over the D, in which case
it's n D quarter sharp. On the other hand, you might have a D sharp with a
down arrow over it, in which case it is a D sharp quarter flat. Note that if
the key signature already modifies pitches, the arrows modify the pitches
specified in the key signature, so if D is already sharped in the key
signature, you wouldn't have both the sharp sign and the down arrow. (The
actual pitch difference indicated by these symbols is pretty imprecise too)

When I look at Joseph's solution the two levels of accidental are integrated
into one symbol, which is fine, but rather different visually from the
established tradition I'm working in. The Feta font doesn't have these sorts
of arrows (↑ and ↓). I can easily enough insert them as markup, but the
problem then is that Lilypond doesn't respect that these arrows have a
priority over slurs and certain other sorts of markup, so it treats them
like textual elements and puts them in the wrong place.

Does anyone have any idea of how I might be able to get these to be
automatically tied to certain notes? In most of the cases I'm working with
the pitches will all be up arrows and I would be happy to map cih, fih and
gih to the notes plus these glyphs (those three instances would cover about
95% of my immediate need).

Thanks in advance for any insight anyone may have.

Arle
-- 
View this message in context: 
http://www.nabble.com/Quarter-tone-notation-with-arrows-tp22893342p23987585.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Different colours in a single word

2009-06-11 Thread James E. Bailey


On 11.06.2009, at 21:25, Jayaratna wrote:



Dear all,
Now all works fine, but when I uncomment the line

 tagline = \markup \concat { A*** M* \with-color  
#red M

vsicvs P*** C***  }


I get the following error:

score.ly:38:23: error: stringa di escape sconosciuta: `\concat'
 tagline = \markup
\concat { A*** M*  
\with-color

#red M vsicvs P*** C***  }

it's in italian (version 2.10.33) I hope my translation is good. It  
looks

like it does not understand the command \concat it says error: unknown
escape string: '\concat'

Thank you very much,
Andrea



That looks like the \markup before the \concat is missing, i.e.,  
commented out. And lilypond doesn't know what to do with a \concat  
without a \markup preceding it.


James E. Bailey



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


Re: G_8 not complete in a small eps file

2009-06-11 Thread Graham Percival
On Thu, Jun 11, 2009 at 08:48:15PM +0200, Alexandros Droseltis wrote:
 On Thu, Jun 11, 2009 at 09:23 -0700, -Eluze wrote:
  Alexandros Droseltis-3 wrote:
   
   [I am using GNU LilyPond 2.10.33 and I am a new user.]
   
   In the result, the 8 under the clef is cut. I could not find how I could
   solve this problem niftily. I would be grateful for any idea.
   
   
  
  for me it looks ok with version 2.13.1 - maybe you should upgrade to a newer
  version!?
 
 Thank you for the answer. I updated to 2.13.1 and I find out, that there
 is no option -b eps any more! Now I cannot create the small eps image at
 all. [Of course, the pdf and the ps file looks fine, they looked fine
 with the older version too; what happened to eps? :( ]

First, I recommend that you use 2.12, since 2.13 is the unstable
development version.  Note to other people who answer such emails:
let's not suggest that new users try the devel releases.

Second, please read the NEWS document for 2.12.  That will tell
you what you need to to other than -b eps.  You may also want to
look at AU 3.something (I think?)... it's the chapter about
lilypond-book.  At the end, it tells you how to produce eps for
use in other programs.

Cheers,
- Graham


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


Re: Different colours in a single word

2009-06-11 Thread Mark Polesky

Jayaratna wrote:
 score.ly:38:23: error: stringa di escape sconosciuta: `\concat'
 tagline = \markup
   \concat { A*** M*  \with-color
 #red M vsicvs P*** C***  }

 it's in italian (version 2.10.33) 

\concat was added in version 2.11.0


Yesterday I said that 2.10 is like the Old Testament. The
announcement page for 2.12 mentions almost 30 new features and
nearly 200 bugs fixed. I strongly recommend you download 2.13
(or 2.12 if you're more comfortable with the stable release).

- Mark


  


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


RE: Lilypond sensitivity to whitespace

2009-06-11 Thread Nick Payne
 -Original Message-
 From: Trevor Daniels [mailto:t.dani...@treda.co.uk]
 Sent: Thursday, 11 June 2009 6:49 PM
 To: Nick Payne; lilypond-user@gnu.org
 Subject: Re: Lilypond sensitivity to whitespace
 
 There is advice in Learning Manual 2.1.3 to surround
 braces with whitespace:
 
 The braces should be surrounded by a space unless
 they are at the beginning or end of a line to avoid
 ambiguities.
 
 However, I've just added a further paragraph to that
 section to emphasise that whitespace can always be
 added, but not eliminated, especially round braces.

The code examples in the documentation are not consistent in this respect.
For example, in the section in the NR on simultaneous expressions
(http://lilypond.org/doc/v2.13/Documentation/user/lilypond/Single-voice#Simu
ltaneous-expressions), every code sample has both the left and right braces
tight up against the notes they surround.

Nick



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


[SOLVED] Re: G_8 not complete in a small eps file

2009-06-11 Thread Alexandros Droseltis
Thank you all for the help! -dbackend did the job!

Best Regards

Alexandros


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


RE: Lilypond sensitivity to whitespace

2009-06-11 Thread Nick Payne
The two situations that I know of that require a space are:

1. Explicit beaming closing square bracket followed by brace: eg {g8[ g g g
g g] }

2. Closing angle bracket following a stroke finger indication: eg
c-\rightHandFinger #2 

It sounds as though there are more but I haven't encountered them yet...

Nick

 -Original Message-
 From: Graham Percival [mailto:gper...@gmail.com] On Behalf Of Graham
 Percival
 Sent: Thursday, 11 June 2009 10:01 AM
 To: Jonathan Kulp
 Cc: Nick Payne; lilypond-user@gnu.org
 Subject: Re: Lilypond sensitivity to whitespace
 
 On Wed, Jun 10, 2009 at 06:56:36PM -0500, Jonathan Kulp wrote:
  Graham Percival wrote:
  On Thu, Jun 11, 2009 at 08:55:25AM +1000, Nick Payne wrote:
  Is there anywhere in the documentation that states where whitespace
 *is*
  required?
 
  No, but that would be nice.  It should go somewhere in NR 3.  If
  you could come up with anything -- frankly, even just a stub with
  a FIXME: find out later, that would be a good start.  :)
 
 
  There's at least one place where this is mentioned, in Fretted
 Strings
  right hand fingerings, because I put a @warning about it after
 finding
  out the hard way when I was rewriting that section.
 
 It's also mentioned in Vocal.  The issue is that we should have a
 general section that lays out the general rules -- then it'll make
 sense when we mention specific cases in the NR.



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


Re: Different colours in a single word

2009-06-11 Thread Jayaratna

In fact now it works on my other computer, which has a 2.12.2 version.

Thank you so much,
Andrea




Mark Polesky wrote:
 
 
 Jayaratna wrote:
 score.ly:38:23: error: stringa di escape sconosciuta: `\concat'
 tagline = \markup
   \concat { A*** M*  \with-color
 #red M vsicvs P*** C***  }

 it's in italian (version 2.10.33) 
 
 \concat was added in version 2.11.0
 
 
 Yesterday I said that 2.10 is like the Old Testament. The
 announcement page for 2.12 mentions almost 30 new features and
 nearly 200 bugs fixed. I strongly recommend you download 2.13
 (or 2.12 if you're more comfortable with the stable release).
 
 - Mark
 
 
   
 
 
 ___
 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/Different-colours-in-a-single-word-tp23966604p23988388.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Lilypond sensitivity to whitespace

2009-06-11 Thread Graham Percival
On Fri, Jun 12, 2009 at 06:10:24AM +1000, Nick Payne wrote:
  There is advice in Learning Manual 2.1.3 to surround
  braces with whitespace:
  
  The braces should be surrounded by a space unless
  they are at the beginning or end of a line to avoid
  ambiguities.
  
  However, I've just added a further paragraph to that
  section to emphasise that whitespace can always be
  added, but not eliminated, especially round braces.
 
 The code examples in the documentation are not consistent in this respect.
 For example, in the section in the NR on simultaneous expressions
 (http://lilypond.org/doc/v2.13/Documentation/user/lilypond/Single-voice#Simu
 ltaneous-expressions), every code sample has both the left and right braces
 tight up against the notes they surround.

Thanks, fixed.  at least, those three examples.  If you find any
other such cases, could you fix them and send a patch?

Cheers,
- Graham


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


RE: Lilypond sensitivity to whitespace

2009-06-11 Thread Mats Bengtsson

Quoting Nick Payne nick.pa...@internode.on.net:


The two situations that I know of that require a space are:

1. Explicit beaming closing square bracket followed by brace: eg {g8[ g g g
g g] }

2. Closing angle bracket following a stroke finger indication: eg
c-\rightHandFinger #2 

It sounds as though there are more but I haven't encountered them yet...


It sounds as if you never have written any lyrics. That's the situation 
that started this thread if I'm not mistaken. In lyrics mode, you even 
need spaces around the dots when doing settings like \override Score . 
LyricText #'font-size = #5 (since a dot in lyrics normally is a 
punctuation that belongs to the preceding syllable) and you need a 
space before every closing bracket (again since a bracket also may be 
part of a syllable).


A generalization of your second item is that you need a space after 
every expression that's interpreted as a Scheme expression, i.e. that 
begins with a # sign.


  /Mats


Nick


-Original Message-
From: Graham Percival [mailto:gper...@gmail.com] On Behalf Of Graham
Percival
Sent: Thursday, 11 June 2009 10:01 AM
To: Jonathan Kulp
Cc: Nick Payne; lilypond-user@gnu.org
Subject: Re: Lilypond sensitivity to whitespace

On Wed, Jun 10, 2009 at 06:56:36PM -0500, Jonathan Kulp wrote:
 Graham Percival wrote:
 On Thu, Jun 11, 2009 at 08:55:25AM +1000, Nick Payne wrote:
 Is there anywhere in the documentation that states where whitespace
*is*
 required?

 No, but that would be nice.  It should go somewhere in NR 3.  If
 you could come up with anything -- frankly, even just a stub with
 a FIXME: find out later, that would be a good start.  :)


 There's at least one place where this is mentioned, in Fretted
Strings
 right hand fingerings, because I put a @warning about it after
finding
 out the hard way when I was rewriting that section.

It's also mentioned in Vocal.  The issue is that we should have a
general section that lays out the general rules -- then it'll make
sense when we mention specific cases in the NR.




___
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: Second release candidate of OOoLilyPond 0.4.0

2009-06-11 Thread Tim Reeves
 
 Message: 4
 Date: Thu, 11 Jun 2009 22:10:27 +0200
 From: Gilles THIBAULT gilles.thiba...@free.fr
 Subject: Re: Second release candidate of OOoLilyPond 0.4.0
 To: Samuel Hartmann samuel.hartmann...@gmail.com,   lilypond-user
lilypond-user@gnu.org
 Message-ID: 3ab0e65510764b14ab189fdbaae93...@pc64
 Content-Type: text/plain; format=flowed; charset=iso-8859-1;
reply-type=original
 
 
  The second release candidate is available under:
  http://www.hartmann-weine.ch/OOoLilyPond-0.4.0rc2.oxt
 Works now perfect for me.
 (The executable path is saved after closing).
 
 Thanks.
 
 Gilles
 
 
 

Works for me now, too, on WinXP with OOo 3.1.

Thanks for the update, Samuel!___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Improvisor lilypond support!?

2009-06-11 Thread Grammostola Rosea

Robert Keller wrote:


On Jun 11, 2009, at 5:19 AM, Grammostola Rosea wrote:


lasconic wrote:

I took some time yesterday night to take a look to improvisor code and
estimate the cost of adding musicXML export. Import is indeed more
complicated.
I downloaded the code of improvisor 3.39. It's the last and only code
available. Improvisor inner model is a little bit different than 
musicXML
one. Common practice in musicXML is to don't time the chords and 
put them
in the middle of notes. At least, this is my experience with finale 
musicXML
export features. I managed to make a quick and dirty prototype to 
export a simple melody (no
tuplet) and chord root and bass (no extension yet). Chords are in 
between
notes but lily+musicML2ly shoud be able to deal with it. 
Unfortunately, 3.39
is an old version, and according to Bob Keller the code base changed 
a lot
but it's not public yet.  With some more voices, perhaps we can 
convince Bob Keller and his team to
open up the repository to the public. After all, improvisor is a 
fine piece
of software which can benefit from open development, moreover if 
time and

resources are an issue.

Lasconic



Thanks man. I'll forward this to Bob Keller too.
I think he mentioned in a message that he is willing to give 
developers svn access to the recent code.


Bob, could you comment on this?

Kind regards,

\r



I'll be looking toward moving Impro-Visor to a public repository, as 
soon as I stabilize the current version, which I hope will be before 
the end of June. 

Ah that's good news. Thanks.


Is SourceForge the best bet?


I think SourceForge is good, but others might think different (I have 
little experience with it myself, others?)


Let us know when it's up there.

Kind regards

\r





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


Laissez-vibrer tie of non-zero duration?

2009-06-11 Thread Kalirren

I'm attempting to typeset a piece of music that contains a laissez-vibrer tie
that starts from a note, stretches over rests, and ends on a beat on which
there is a rest in the same voice as the initial note.  This last
requirement seems to rule out the use of a hidden note.

The output I am looking for is similar to that which be gotten from 

\relative c' {
\slurDown e8 ( r16 r8.)
}

except that the tie is completely horizontal.

Does anyone know how to manipulate the \laissezVibrer function to make this
happen, or of some other workaround?  In general, is it possible to create a
laissez-vibrer tie that lasts a certain length of time, or until a certain
note?
-- 
View this message in context: 
http://www.nabble.com/Laissez-vibrer-tie-of-non-zero-duration--tp23987651p23987651.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: G_8 not complete in a small eps file

2009-06-11 Thread -Eluze


Graham Percival-3 wrote:
 
 Note to other people who answer such emails:
 let's not suggest that new users try the devel releases.
 
yes, i am one of those people who answer such emails, and i suggested to use
a newer version!  
anything wrong about that?
-- 
View this message in context: 
http://www.nabble.com/G_8-not-complete-in-a-small-eps-file-tp23981367p23989901.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: G_8 not complete in a small eps file

2009-06-11 Thread Graham Percival
On Thu, Jun 11, 2009 at 03:15:15PM -0700, -Eluze wrote:
 Graham Percival-3 wrote:
  Note to other people who answer such emails:
  let's not suggest that new users try the devel releases.
  
 yes, i am one of those people who answer such emails, and i suggested to use
 a newer version!  
 anything wrong about that?

2.13 is the development release, not the stable release.  The
syntax may change, and additional bugs may be introduced.  This
can be particularly confusing for new users -- if anything
changes, best to have it happen all at once between 2.12.x and
2.14.0, instead of spread throughout the 2.13 versions.

That's why I suggest that normal users stick to the stable
version.

Cheers,
- Graham


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


Re: Trouble with convert-ly

2009-06-11 Thread Father Gordon Gilbert
Hi Bertalan,

Looking in jEdit plugin options, the line which shows were the program and
convert-ly are shows /usr/bin .  And Lily fires up just fine, so you'd think
convert-ly should work as well.  I did 'which convert-ly' and it showed
/usr/bin as well.

But the console shows the following when I call for a convert-ly:

LilyPond ready.
convert-ly.py --edit /home/fgg/Desktop/LilyPondFiles/FaithfulOne.ly
/usr/bin/python: can't open file '/usr/bin/convert-ly.py': [Errno 2] No such
file or directory
Processing time: 0 seconds

So what do we do here?

Gordon+





-- 
Fr. Gordon Gilbert
Penetanguishene, ON
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: G_8 not complete in a small eps file

2009-06-11 Thread James E. Bailey


On 12.06.2009, at 00:21, Graham Percival wrote:


On Thu, Jun 11, 2009 at 03:15:15PM -0700, -Eluze wrote:

Graham Percival-3 wrote:

Note to other people who answer such emails:
let's not suggest that new users try the devel releases.

yes, i am one of those people who answer such emails, and i  
suggested to use

a newer version!
anything wrong about that?


2.13 is the development release, not the stable release.  The
syntax may change, and additional bugs may be introduced.


Like eighth note beaming? :P

James E. Bailey



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


Re: Trouble with convert-ly

2009-06-11 Thread Carl D. Sorensen



On 6/11/09 4:36 PM, Father Gordon Gilbert fatherg...@gmail.com wrote:

 Hi Bertalan,
 
 Looking in jEdit plugin options, the line which shows were the program and
 convert-ly are shows /usr/bin .  And Lily fires up just fine, so you'd think
 convert-ly should work as well.  I did 'which convert-ly' and it showed
 /usr/bin as well.
 

Have you done 'which convert-ly.py', or 'which convert-ly'?  Maybe there
shouldn't be a .py extension for convert-ly in /usr/bin?  And Jedit has the
.py extension in it.

HTH,

Carl



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


Re: Trouble with convert-ly

2009-06-11 Thread Father Gordon Gilbert
Ah ha!  You're a genius!  I hadn't looked in that section of the plugin
options dialog.  It indeed had .py on the end of it, and that seems to be
why I couldn't convert.  So now I can!

Thank you so much!

Blessings,

Gordon

On 11/06/2009, Carl D. Sorensen c_soren...@byu.edu wrote:




 On 6/11/09 4:36 PM, Father Gordon Gilbert fatherg...@gmail.com wrote:

  Hi Bertalan,
 
  Looking in jEdit plugin options, the line which shows were the program
 and
  convert-ly are shows /usr/bin .  And Lily fires up just fine, so you'd
 think
  convert-ly should work as well.  I did 'which convert-ly' and it showed
  /usr/bin as well.
 


 Have you done 'which convert-ly.py', or 'which convert-ly'?  Maybe there
 shouldn't be a .py extension for convert-ly in /usr/bin?  And Jedit has the
 .py extension in it.

 HTH,


 Carl




-- 
Fr. Gordon Gilbert
Penetanguishene, ON
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Laissez-vibrer tie of non-zero duration?

2009-06-11 Thread Robin Bannister

Kalirren wrote:
Does anyone know      of some other workaround? 


It's rather crude, but the following override makes your slur horizontal:

\relative c' {
\once \override Slur #'positions = #'(-3 . -3)
\slurDown e8 ( r16 r8.)
}

Cheers,
Robin


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


Re: G_8 not complete in a small eps file

2009-06-11 Thread -Eluze


Graham Percival-3 wrote:
 
 On Thu, Jun 11, 2009 at 03:15:15PM -0700, -Eluze wrote:
 Graham Percival-3 wrote:
  Note to other people who answer such emails:
  let's not suggest that new users try the devel releases.
  
 yes, i am one of those people who answer such emails, and i suggested to
 use
 a newer version!  
 anything wrong about that?
 
 2.13 is the development release, not the stable release.  The
 syntax may change, and additional bugs may be introduced.  This
 can be particularly confusing for new users -- if anything
 changes, best to have it happen all at once between 2.12.x and
 2.14.0, instead of spread throughout the 2.13 versions.
 
 That's why I suggest that normal users stick to the stable
 version.
 
 Cheers,
 - Graham
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
 

when i suggested to use a newer version i did not mean it has to be an
unstable version

in any case i believe that most lilypond users are able to take the risk -
or to decline it - of an instable release

speaking of the diagnostic process: if you hear something works under
specific circumstances you can narrow the search area - isn't that why you
are talking to others?

-- 
View this message in context: 
http://www.nabble.com/G_8-not-complete-in-a-small-eps-file-tp23981367p23990502.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


LilyPond Wiki

2009-06-11 Thread Francisco Vila
Hello, anyone knows what's happened to the lilypond wiki?

wiki.lilynet.net

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org


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


Re: LilyPond Wiki

2009-06-11 Thread Valentin Villenave
2009/6/12 Francisco Vila paconet@gmail.com:
 Hello, anyone knows what's happened to the lilypond wiki?

 wiki.lilynet.net

OMG. I'm on it.

Regards,
Valentin


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


Re: R1*3

2009-06-11 Thread Francisco Vila
2009/6/11 Mario Moles mario-mo...@libero.it:
 Perché R1*2 non funziona in questo file?

Why the   and \voiceOne? This makes the whole rests to raise on the staff.
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org


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


Re: LilyPond Wiki

2009-06-11 Thread Patrick McCarty
On Thu, Jun 11, 2009 at 4:43 PM, Valentin
Villenavev.villen...@gmail.com wrote:
 2009/6/12 Francisco Vila paconet@gmail.com:
 Hello, anyone knows what's happened to the lilypond wiki?

 wiki.lilynet.net

 OMG. I'm on it.

I must have missed the excitement.  :-)

Looks okay now.

-Patrick


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


Re: G_8 not complete in a small eps file

2009-06-11 Thread Graham Percival
On Thu, Jun 11, 2009 at 04:11:17PM -0700, -Eluze wrote:
 
 Graham Percival-3 wrote:
  
  That's why I suggest that normal users stick to the stable
  version.
 
 when i suggested to use a newer version i did not mean it has to be an
 unstable version

All 2.13 releases are unstable.  In version numbers 2.x, if x is
odd then it is unstable; if x is even then it is stable.

 in any case i believe that most lilypond users are able to take the risk -
 or to decline it - of an instable release

True, but this person specifically mentioned that he was a newbie.
In such cases, I recommend a stable (i.e. 2.12.x) version.

 speaking of the diagnostic process: if you hear something works under
 specific circumstances you can narrow the search area - isn't that why you
 are talking to others?

Yes, but when possible I prefer to avoid using newbies as test
subjects.  If I was talking to an experienced lilypond user, I
would certainly consider recommending 2.13.

Cheers,
- Graham


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


Re: LilyPond Wiki

2009-06-11 Thread Francisco Vila
2009/6/12 Patrick McCarty pnor...@gmail.com:
 On Thu, Jun 11, 2009 at 4:43 PM, Valentin
 Villenavev.villen...@gmail.com wrote:
 2009/6/12 Francisco Vila paconet@gmail.com:
 Hello, anyone knows what's happened to the lilypond wiki?

 wiki.lilynet.net

 OMG. I'm on it.

 I must have missed the excitement.  :-)

 Looks okay now.

 -Patrick

Phew...
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org


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


Re: going to the next level

2009-06-11 Thread Matt Boersma
On Wed, May 27, 2009 at 3:09 PM, Daniel Hulmes...@istic.org wrote:
 I've uploaded my flam functions to LSR as snippet 566, and it's awaiting
 approval. My functions include \flam, \drag, and \ruff and can be
 attached to any drum note.

I hunted around and found this snippet--thanks again, Daniel.

I think I found a bug when doing a flam on a 16th note--the slash
through the stem is repeated again on the main note.  Here's a measure
Dave Grohl plays in Hey, Johnny Park! by Foo Fighters for example:

\score {
  \new DrumStaff
  
\new DrumVoice \drummode {  \stemUp
  cymc8[ cymc16 sn cymc8 cymc] r16 \flam sn \flam sn s \flam sn s
\flam sn \flam sn |
}
\new DrumVoice \drummode { \stemDown
  bd8 s s16 bd bd s8 s16 s bd s bd s s |
}
  
}

I attached a complete example that with lilypond 2.12.2 shows the
problem on the snare flam that isn't beamed.


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


Positioning of half rests

2009-06-11 Thread Karenee Herman
I'm fairly new to Lily Pond, and I've been trying to get a half rest to
center in it's space - as in, a half rest version of entering R1, where the
whole rest centers in the measure.  There doesn't seem to be any info on it
in the manuals or the mailing-list archive.  Does anyone know how to do
this?

Here's an excerpt of what I have:

\version 2.12.2

upper = \relative c'' {
\clef treble
\key f \major
\time 4/4
d2 c
r2 r4 g8 a }

lower = \relative c' {
\clef treble
\key f \major
\time 4/4
f,8 d' g a bes2
f,8 d' g a bes2 }

\score {
\new PianoStaff 
\set PianoStaff.instrumentName = #Piano 
\new Staff = upper \upper
\new Staff = lower \lower

\layout { }
\midi { }
}

I've attached the PDF.  In the second measure, I need the half rest to
center over the eighth notes, as opposed to aligning to the left like a half
note.  Hope this makes sense, and that someone can help!

Thanks,

Karenee Herman


Lullaby.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


re: G_8 not complete in a small eps file

2009-06-11 Thread 胡海鹏 - Hu Haipeng
Graham,

 True, but this person specifically mentioned that he was a newbie.

Hmm, when I was a newbie at the end of 2007, I first downloaded 2.10.33, but 
after few days, I discovered the version I downloaded was not the latest. So I 
jumped to 2.11.34 immediately, regardingless whether it was stable or not. For 
me, I'm always keep up with the latest versions, although I am not a track and 
field athlete :-)

Haipeng

 



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