Re: New here and first question about using repeat percent over more than two measures

2011-03-16 Thread Aurelien
On Tue, Mar 15, 2011 at 01:40:48PM +, James Lowe wrote :
 Hello,
 
 )-Original Message-
 )From: Aurelien [mailto:tyran...@free.fr]
 )Sent: 15 March 2011 07:54
 )To: James Lowe
 )Cc: lilypond-user@gnu.org
 )Subject: Re: New here and first question about using repeat percent over
 )more than two measures
 )
 )
 )No, I really want to use %. Or at least, I'd like to be able to draw
 )*automatically* the number of repetitions. So, two options:
 )
 )| a bar | % | % | % |
 )or
 )||: a bar :||x4 (or x3, following the way you want to read it).
 
 What about http://lilypond.org/doc/v2.13/Documentation/notation/short-repeats
 
 Scroll down to the snippet 'Isolated percent repeats' 

No, it's not really what I want.
I guess that my english is not good enough concerning musical notations,
and thus I don't explain it correctly. See below.

 
 )
 )Actually, when dealing with only one measure to repeat (or even two), it's
 )OK. But when you have more than two measures repeating, the percent
 )way doesn't work anymore (someone exlained me why),
 
 Doesn't work 'anymore' or has *never* been supported? 

Once again, my english. I meant that it works for 1 or 2 measures
repeating, and for more than 3, it doesn't work. In french I would have
had anymore at the end of the sentence. ;)

 
 ) and the volta
 )way doesn't show the number of repetitions.
 
 \repeat volta 3 { c4 d e f | }
 \alternative {
   { c2 e | }
   { f2 g | }
   { a2 g | }
 }
 c1
 
 Gives you three distinct voltas (this was taken from the manual), so what am 
 I missing, doesn't this give you what you want?
 

I know that way too, but that's not what I'm looking for.
Let's take a true example:


This works:

\repeat percent 12 {
r16 \parenthesize a,,\416 a,,\416 ais,,\416 r16 \parenthesize 
a,,\416 a,,\416 ais,,\416 r16 \parenthesize a,,\416 a,,\416 
ais,,\416 a,,\416 ais,,\416 r16 \parenthesize a,,\416 
a,,\416 ais,,\416 r16 \parenthesize a,,\416 a,,\416 ais,,\416 r16 
\parenthesize a,,\416 a,,\416 ais,,\416 a,,\416 ais,,\416 r16 
\parenthesize a,,\416 a,,\416 ais,,\416 
}

However, this doesn't show the number of repetitions:
\repeat volta 12 {
r16 \parenthesize a,,\416 a,,\416 ais,,\416 r16 \parenthesize 
a,,\416 a,,\416 ais,,\416 r16 \parenthesize a,,\416 a,,\416 
ais,,\416 a,,\416 ais,,\416 r16 \parenthesize a,,\416 
a,,\416 ais,,\416 r16 \parenthesize a,,\416 a,,\416 ais,,\416 r16 
\parenthesize a,,\416 a,,\416 ais,,\416 a,,\416 ais,,\416 r16 
\parenthesize a,,\416 a,,\416 ais,,\416 
}

OK, and now, my problem, this doesn't work:
\repeat percent 7 {
d,\316 dis,\38 dis,\316 dis,\316 fis,\28 d,\316 d,\316 
dis,\316 dis,\316 fis,~\216 fis,\216 d,\316 d,\316 dis,~\316  
dis,\316 dis,\316 dis,\316 fis,~\216 fis,\216 d,\316 
d,\316 dis,~\316 dis,\316 dis,\316 dis,\316 fis,\216 d,\316 
dis,\38 dis,\316 
dis,\316 fis,\28 d,\316 d,\316 dis,\38 dis,\316 dis,\316 
fis,\216 d,\316 dis,\38 dis,\316 dis,\316 fis,~\216 
fis,\216 d,\316 d,\316 dis,\38 dis,\316 dis,\316 fis,\28 
d,\316 d,\316 dis,\316 dis,\316 fis,\28 r16 
}

And still, this doesn't show the number of repetitions:
\repeat volta 7 {
d,\316 dis,\38 dis,\316 dis,\316 fis,\28 d,\316 d,\316 
dis,\316 dis,\316 fis,~\216 fis,\216 d,\316 d,\316 dis,~\316  
dis,\316 dis,\316 dis,\316 fis,~\216 fis,\216 d,\316 
d,\316 dis,~\316 dis,\316 dis,\316 dis,\316 fis,\216 d,\316 
dis,\38 dis,\316 
dis,\316 fis,\28 d,\316 d,\316 dis,\38 dis,\316 dis,\316 
fis,\216 d,\316 dis,\38 dis,\316 dis,\316 fis,~\216 
fis,\216 d,\316 d,\316 dis,\38 dis,\316 dis,\316 fis,\28 
d,\316 d,\316 dis,\316 dis,\316 fis,\28 r16 
}

I know the example I've given is not using |, but it's the exact output
of tuxguitar.
Anyway, the result is exactly the same using |.

Don't know if that's clearer by now, but I hope so.

Thanks a lot.
Aurélien


-- 
Aurélien

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


Re: Piano score and kneed beams

2011-03-16 Thread Peter O'Doherty

On 03/15/2011 09:54 PM, Phil Holmes wrote:



That's a bit weird.  The noteheads on the lower staff are the wrong 
way round!


Yes, it does look strange. It's the published score of Xenakis' Herma. 
Guess their typesetters couldn't deal with those stems either!


Anyway, if I was trying to set this within my knowledge of the 
limitations of LilyPond, I'd set the upper stave as it is, then use 
the instructions for Cross-staff stems in the Notation Reference to 
join the lower notes to the upper beams.


The problem is that the stems on the upper stave need to go down and 
those on the lower, up. Because of the alignment of the note heads the 
stems will not meet. I've also tried tweaking the code for the snippet 
of /Goyescas/ by Enrique Granados but to no avail.


Best,
Peter

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


Re: filename in markup

2011-03-16 Thread Trevor Daniels

Hi Mike

Time to eat humble pie :)

Here's the output from command line on Windows Vista:

C:\Users\Trevorlilypond foo.ly bar.ly
GNU LilyPond 2.13.53
Processing `foo.ly'
Parsing...
error: program too old: 2.13.53 (file requires: 2.13.54)
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `foo.ps'...
Converting to `./foo.pdf'...
Processing `bar.ly'
Parsing...
error: program too old: 2.13.53 (file requires: 2.13.54)
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `bar.ps'...
Converting to `./bar.pdf'...
error: failed files: bar.ly foo.ly

It works exactly the same in the bash shell that comes with mingw.

Trevor

- Original Message - 
From: m...@apollinemike.com

To: -Eluze elu...@gmail.com
Cc: lilypond-user@gnu.org
Sent: Wednesday, March 16, 2011 12:36 AM
Subject: Re: filename in markup


On Mar 15, 2011, at 1:21 PM, -Eluze wrote:




m...@apollinemike.com wrote:



One issue with this solution is that if you do batch processing 
from the

command line:

lilypond foo.ly bar.ly

Then the solution no longer works.  Is there a more secure way to 
get the

correct file name?



this works perfectly for me (windows vista, LP version 2.13.53)



Could you confirm by running the attached two files using the 
following command:


lilypond foo.ly bar.ly

When I do it, both of them use the bar filename.
If this works on Windows, then I take back all of the mean things I 
ever said about the Windows command line.


Cheers,
Mike








___
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


Lily language files for Carnatic Ragas

2011-03-16 Thread ananth p
Hello all,

I'm happy to share with you, Lily Raga, a collection of lilypond 'language'
files (headers?) that'll help us transcribe Carnatic (South Indian
Classical) Raga music with lilypond in standard western notation.

https://github.com/ananthp/lilyraga


A short sample -

\include carnatic/melam/15_mayamalavagowla.ly
\relative sa' {
sa8 ri ga ma pa dha ni sa | sa ni dha pa ma ga ri sa
}

.. and the output:
https://github.com/ananthp/lilyraga/raw/master/examples/sample-raga.png


Cheers,
Ananth
beautifulnote.com
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: filename in markup

2011-03-16 Thread -Eluze


m...@apollinemike.com wrote:
 
 
 Could you confirm by running the attached two files using the following
 command:
 
 lilypond foo.ly bar.ly
 
 When I do it, both of them use the bar filename.
 If this works on Windows, then I take back all of the mean things I ever
 said about the Windows command line.
 
well, sorry for my premature statement: it only works in the sense that it
compiles correctly.
but the result is as you stated: only the name of the latter file is shown!

this looks like a timing problem: the variables are filled with the values
that are encountered and are replaced when another assignement occurs... in
the end, when ouputting, the last values remain!

cheers
Eluze

ps: i noticed another problem when compiling two files from the command line
if the 2nd name contains a blank - you have to embed this filename in triple
double-quotes like described in Usage (AU) for convert-ly - i could not find
where this is mentioned in the docs.
-- 
View this message in context: 
http://old.nabble.com/filename-in-markup-tp31123257p31162997.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: New here and first question about using repeat percent over more than two measures

2011-03-16 Thread James Lowe
Hello,

)-Original Message-
)From: Aurelien [mailto:tyran...@free.fr]
)Sent: 16 March 2011 06:35
)To: James Lowe
)Cc: 'lilypond-user@gnu.org'
)Subject: Re: New here and first question about using repeat percent over
)more than two measures
)
)On Tue, Mar 15, 2011 at 01:40:48PM +, James Lowe wrote :
) Hello,
)
) )-Original Message-
) )From: Aurelien [mailto:tyran...@free.fr]
) )Sent: 15 March 2011 07:54
) )To: James Lowe
) )Cc: lilypond-user@gnu.org
) )Subject: Re: New here and first question about using repeat percent
) over )more than two measures
) )
) )
) )No, I really want to use %. Or at least, I'd like to be able to draw
) )*automatically* the number of repetitions. So, two options:
) )
) )| a bar | % | % | % |
) )or
) )||: a bar :||x4 (or x3, following the way you want to read it).
)
) What about
) http://lilypond.org/doc/v2.13/Documentation/notation/short-repeats
)
) Scroll down to the snippet 'Isolated percent repeats'
)
)No, it's not really what I want.
)I guess that my english is not good enough concerning musical notations,
)and thus I don't explain it correctly. See below.
)
)
) )
) )Actually, when dealing with only one measure to repeat (or even two),
) it's )OK. But when you have more than two measures repeating, the
) percent )way doesn't work anymore (someone exlained me why),
)
) Doesn't work 'anymore' or has *never* been supported?
)
)Once again, my english. I meant that it works for 1 or 2 measures
)repeating, and for more than 3, it doesn't work. In french I would have
)had anymore at the end of the sentence. ;)
)
)
) ) and the volta
) )way doesn't show the number of repetitions.
)
) \repeat volta 3 { c4 d e f | }
) \alternative {
)   { c2 e | }
)   { f2 g | }
)   { a2 g | }
) }
) c1
)
) Gives you three distinct voltas (this was taken from the manual), so
)what am I missing, doesn't this give you what you want?
)
)
)I know that way too, but that's not what I'm looking for.
)Let's take a true example:
)
)
)This works:
)
)\repeat percent 12 {
)   r16 \parenthesize a,,\416 a,,\416 ais,,\416 r16
)\parenthesize a,,\416 a,,\416 ais,,\416 r16 \parenthesize a,,\416
)a,,\416 ais,,\416 a,,\416 ais,,\416 r16 \parenthesize a,,\416
)a,,\416 ais,,\416 r16 \parenthesize a,,\416 a,,\416 ais,,\416
)r16 \parenthesize a,,\416 a,,\416 ais,,\416 a,,\416 ais,,\416
)r16 \parenthesize a,,\416 a,,\416 ais,,\416 }
)
)However, this doesn't show the number of repetitions:
)\repeat volta 12 {
)   r16 \parenthesize a,,\416 a,,\416 ais,,\416 r16
)\parenthesize a,,\416 a,,\416 ais,,\416 r16 \parenthesize a,,\416
)a,,\416 ais,,\416 a,,\416 ais,,\416 r16 \parenthesize a,,\416
)a,,\416 ais,,\416 r16 \parenthesize a,,\416 a,,\416 ais,,\416
)r16 \parenthesize a,,\416 a,,\416 ais,,\416 a,,\416 ais,,\416
)r16 \parenthesize a,,\416 a,,\416 ais,,\416 }
)
)OK, and now, my problem, this doesn't work:
)\repeat percent 7 {
)   d,\316 dis,\38 dis,\316 dis,\316 fis,\28 d,\316
)d,\316 dis,\316 dis,\316 fis,~\216 fis,\216 d,\316 d,\316
)dis,~\316
)   dis,\316 dis,\316 dis,\316 fis,~\216 fis,\216 d,\316
)d,\316 dis,~\316 dis,\316 dis,\316 dis,\316 fis,\216
)d,\316 dis,\38 dis,\316
)   dis,\316 fis,\28 d,\316 d,\316 dis,\38 dis,\316
)dis,\316 fis,\216 d,\316 dis,\38 dis,\316 dis,\316
)fis,~\216
)   fis,\216 d,\316 d,\316 dis,\38 dis,\316 dis,\316
)fis,\28 d,\316 d,\316 dis,\316 dis,\316 fis,\28 r16 }
)
)And still, this doesn't show the number of repetitions:
)\repeat volta 7 {
)   d,\316 dis,\38 dis,\316 dis,\316 fis,\28 d,\316
)d,\316 dis,\316 dis,\316 fis,~\216 fis,\216 d,\316 d,\316
)dis,~\316
)   dis,\316 dis,\316 dis,\316 fis,~\216 fis,\216 d,\316
)d,\316 dis,~\316 dis,\316 dis,\316 dis,\316 fis,\216
)d,\316 dis,\38 dis,\316
)   dis,\316 fis,\28 d,\316 d,\316 dis,\38 dis,\316
)dis,\316 fis,\216 d,\316 dis,\38 dis,\316 dis,\316
)fis,~\216
)   fis,\216 d,\316 d,\316 dis,\38 dis,\316 dis,\316
)fis,\28 d,\316 d,\316 dis,\316 dis,\316 fis,\28 r16 }
)
)I know the example I've given is not using |, but it's the exact output of
)tuxguitar.
)Anyway, the result is exactly the same using |.
)
)Don't know if that's clearer by now, but I hope so.

Unfortunately I cannot compile these, I get errors.

Also your repeat Volta 7 constructs will only show 1 Volta with a 1-7 in it, 
what is it you want? If you want 7 voltas then you need some \alternative { } 
constructions, if you actually want to repeat the music then you use \repeat 
unfold, but it is not clear to me.

Could you compile them yourself and take some screenshots in png to attach?

Alternatively you could try the French speaking list (if it might be easier for 
you to articulate what you want) here:

http://lists.gnu.org/mailman/listinfo/lilypond-user-fr

Sorry for not understanding what you need.

James


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


Re: filename in markup

2011-03-16 Thread Trevor Daniels


Eluze wrote Wednesday, March 16, 2011 12:31 PM


m...@apollinemike.com wrote:



Could you confirm by running the attached two files using the 
following

command:

lilypond foo.ly bar.ly

When I do it, both of them use the bar filename.
If this works on Windows, then I take back all of the mean things 
I ever

said about the Windows command line.

well, sorry for my premature statement: it only works in the sense 
that it

compiles correctly.
but the result is as you stated: only the name of the latter file 
is shown!


Whoops, you're right!  I hadn't checked the pdfs.
I just looked at the console output.

Trevor



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


Re: filename in markup

2011-03-16 Thread thehalpennys-lilypond
This snippet just parses the command line.  It would be nice if there was a way 
to query the file attributes directly. I would expect that it should be simple 
to do.

Dave.  





From: Trevor Daniels t.dani...@treda.co.uk
To: -Eluze elu...@gmail.com; lilypond-user@gnu.org
Sent: Wed, March 16, 2011 9:46:36 AM
Subject: Re: filename in markup


Eluze wrote Wednesday, March 16, 2011 12:31 PM

 m...@apollinemike.com wrote:
 
 
 Could you confirm by running the attached two files using the following
 command:
 
 lilypond foo.ly bar.ly
 
 When I do it, both of them use the bar filename.
 If this works on Windows, then I take back all of the mean things I ever
 said about the Windows command line.
 
 well, sorry for my premature statement: it only works in the sense that it
 compiles correctly.
 but the result is as you stated: only the name of the latter file is shown!

Whoops, you're right!  I hadn't checked the pdfs.
I just looked at the console output.

Trevor



___
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: filename in markup

2011-03-16 Thread m...@apollinemike.com
(from Neil Puttock)

snip
foo = #(ly:parser-output-name parser)

Cheers,
Neil
/snip

On Mar 16, 2011, at 10:32 AM, thehalpennys-lilyp...@yahoo.ca wrote:

 This snippet just parses the command line.  It would be nice if there was a 
 way to query the file attributes directly. I would expect that it should be 
 simple to do.
 
 Dave.  
 
 From: Trevor Daniels t.dani...@treda.co.uk
 To: -Eluze elu...@gmail.com; lilypond-user@gnu.org
 Sent: Wed, March 16, 2011 9:46:36 AM
 Subject: Re: filename in markup
 
 
 Eluze wrote Wednesday, March 16, 2011 12:31 PM
 
  m...@apollinemike.com wrote:
  
  
  Could you confirm by running the attached two files using the following
  command:
  
  lilypond foo.ly bar.ly
  
  When I do it, both of them use the bar filename.
  If this works on Windows, then I take back all of the mean things I ever
  said about the Windows command line.
  
  well, sorry for my premature statement: it only works in the sense that it
  compiles correctly.
  but the result is as you stated: only the name of the latter file is shown!
 
 Whoops, you're right!  I hadn't checked the pdfs.
 I just looked at the console output.
 
 Trevor
 
 
 
 ___
 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

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


Re: filename in markup

2011-03-16 Thread -Eluze


thehalpennys-lilypond wrote:
 
 This snippet just parses the command line.  It would be nice if there was
 a way 
 to query the file attributes directly. I would expect that it should be
 simple 
 to do.
 
yes, and because it assumes blanks are file-name delimiters it can not work
properly.
-- 
View this message in context: 
http://old.nabble.com/filename-in-markup-tp31123257p31164344.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: scale notehead X and Y independently

2011-03-16 Thread Tim Sheasby
Sorry, it's taken me a while to get back to this. This works fine but how do I 
apply it to a specific note in a \set shapeNoteStyles context. Tried the 
following for example but not working.

---8-
miNarrow = {
\musicglyph #noteheads.s1mi
#(lambda (grob) (ly:stencil-scale
(ly:note-head::print grob) 0.95 1.05))
}

aikenHeads = {
\set shapeNoteStyles = #'#(do re miNarrow fa sol la ti)
}

\key c
\relative c' {
\aikenHeads
c e4
c e4
}
---8-

On 27 Feb 2011, at 12:53 AM, Robin Bannister wrote:

 Tim Sheasby wrote:
 Can a notehead be scaled by different factors in the x and y directions?
In the recent development versions (starting with 2.13.38) you can. The 
 following snippet uses an X-factor of 2:
wideNH = #(lambda (grob) (ly:stencil-scale (ly:note-head::print grob) 2 1))
 
 {
 b'4 g'4  \override NoteHead #'stencil = #wideNH
 b'4 g'4
 }
Cheers, Robin
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user

Tim Sheasby
t...@sheafpublishing.co.za


inline: Sheaf logo small.jpg

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


lilypond v2.13.54

2011-03-16 Thread MING TSANG
I deleted v.2.13.53 and download v2.13.53, then install v2.13.54.  Now I cannot 
run lilypond anymore.  Where can I get v2.13.53?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond v2.13.54

2011-03-16 Thread Federico Bruni
Il giorno mer, 16/03/2011 alle 14.08 -0700, MING TSANG ha scritto:
 I deleted v.2.13.53 and download v2.13.53, then install v2.13.54.  Now
 I cannot run lilypond anymore.  Where can I get v2.13.53?
 

http://download.linuxaudio.org/lilypond/binaries/ 

You get there in 2 steps from lilypond.org: Download » Old downloads

Cheers,
Federico


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


Re: lilypond v2.13.54

2011-03-16 Thread MING TSANG
Thank you.  I download and re-install v2.13.53 and now i can run lilypond.

What happened to v2.13.54?  installation say it is successfully installed; but 
when I ran lilypond, it said lilypond is not recognized internal or external 
batch file.





From: Federico Bruni fedel...@gmail.com
To: MING TSANG tsan...@rogers.com
Cc: lilypond-user@gnu.org
Sent: Wed, March 16, 2011 5:30:00 PM
Subject: Re: lilypond v2.13.54

Il giorno mer, 16/03/2011 alle 14.08 -0700, MING TSANG ha scritto:
 I deleted v.2.13.53 and download v2.13.53, then install v2.13.54.  Now
 I cannot run lilypond anymore.  Where can I get v2.13.53?
 

http://download.linuxaudio.org/lilypond/binaries/ 

You get there in 2 steps from lilypond.org: Download » Old downloads

Cheers,
Federico___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


midi problem in 2.13.54

2011-03-16 Thread 胡海鹏 - Hu Haipeng
Hello,
  One regression from 2.13.53 to 54 is, the program change in midi doesn't 
effect the following note. Thus, when you set midi instrument before a note, 
this note remains sounding the previous instrument.
Regards
Haipeng


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


Re: midi problem in 2.13.54

2011-03-16 Thread Jan Nieuwenhuizen
胡海鹏 - Hu Haipeng schreef op do 17-03-2011 om 06:24 [+0800]:
 Hello,
   One regression from 2.13.53 to 54 is, the program change in midi
 doesn't effect the following note.

That's odd.  There have been fixes to the MIDI output after .54,
possibly this has been fixed.

  Thus, when you set midi instrument before a note, this note remains
 sounding the previous instrument.

Test file please?

Jan.

-- 
Jan Nieuwenhuizen jann...@gnu.org | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  


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


OpenType ligatures

2011-03-16 Thread Bertrand Bordage
Hello,

I noticed LilyPond only support two text ligatures : fi and fl. Just as
Century Schoolbook.
I am using a font that support several ligatures : ſt, ct, Th, sp, etc.
For now I copy/paste when I meet these ligatures.
There is undoubtly a best way to achieve this, as fi  fl work. But I can't
find how to do this. Few hours of code browsing hasn't helped.  :o(

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


Roman numerals in my number sequence

2011-03-16 Thread Adam Good
Hello,
Considering that fretboard diagrams can use (number-type .
roman-lower) how can I get scheme to print Roman numerals in place of
Arabic numbers in the following sequence?

Thanks
Adam

@@@
\version 2.12.3

#(define sequence-number 0)

#(define-markup-command (score-sequence layout props sequence-number)
  (number?)
  (interpret-markup layout props
(markup #:circle (number-string sequence-number

#(set! sequence-number (1+ sequence-number))
\markup { \score-sequence #sequence-number }

#(set! sequence-number (1+ sequence-number))
\markup { \score-sequence #sequence-number }

#(set! sequence-number (1+ sequence-number))
\markup { \score-sequence #sequence-number }

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


Re: lilypond v2.13.54

2011-03-16 Thread Federico Bruni
Il giorno mer, 16/03/2011 alle 15.19 -0700, MING TSANG ha scritto:
 What happened to v2.13.54?  installation say it is successfully
 installed; but when I ran lilypond, it said lilypond is not recognized
 internal or external batch file.

Post the output of the command otherwise I think that nobody will be
able to help you.


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


Re:Re: midi problem in 2.13.54

2011-03-16 Thread 胡海鹏 - Hu Haipeng
Thanks, I found the fix in the git dir, and will wait for the next version.

Haipeng

 

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


Re: scale notehead X and Y independently

2011-03-16 Thread Carl Sorensen



On 3/16/11 12:32 PM, Tim Sheasby t...@sheafpublishing.co.za wrote:

 Sorry, it's taken me a while to get back to this. This works fine but how do I
 apply it to a specific note in a \set shapeNoteStyles context. Tried the
 following for example but not working.
 

You can't.  I think I already said that.  But I think that Robin didn't
understand what you were asking.

The shape note code works by going and getting a music glyph named

noteheads.s + durlog(notehead) + shape(notehead)

So you need to have a music glyph named noteheads.s1miNarrow in order to
work with the shape notes.

That's why I said you'd need to go work with the font.

Otherwise, you'll need to write a new notehead::print function that makes
the desired substitution.

HTH,

Carl
 


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


Re: Roman numerals in my number sequence

2011-03-16 Thread Carl Sorensen



On 3/16/11 4:16 PM, Adam Good adamg...@adamgood.com wrote:

 Hello,
 Considering that fretboard diagrams can use (number-type .
 roman-lower) how can I get scheme to print Roman numerals in place of
 Arabic numbers in the following sequence?
 
 Thanks

A quick search of scm/fret-diagrams.scm for roman shows

 704  (label-text
 705(cond
 706  ((equal? number-type 'roman-lower)
 707   (fancy-format #f ~(~@r~) base-fret))
 708  ((equal? number-type 'roman-upper)
 709   (fancy-format #f ~@r base-fret))
 710  ((equal? 'arabic number-type)
 711   (fancy-format #f ~d base-fret))
 712  (else (fancy-format #f ~(~@r~) base-fret



So if you want to use upper-case roman, you'd do

\markup { \score-sequence #(fancy-format #f ~@r sequence-number) }

and if you want to use lower-case roman, you'd do

\markup { \score-sequence #(fancy-format #f ~(~@r~) sequence-number) }

HTH,

Carl


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


Re: scale notehead X and Y independently

2011-03-16 Thread Robin Bannister
Tim Sheasby wrote: 
how do I apply it to a specific note in a \set shapeNoteStyles context 
  
  
Well, I'm not sure what you're aiming for, but try this: 
  
  
 miNarrow = #(lambda (grob) 
   (if (eqv? (ly:grob-property grob 'style) 'miMirror)

 (ly:stencil-scale (ly:note-head::print grob) 0.5 1.5)
 (ly:note-head::print grob)))
 
 \relative c' {

   \override NoteHead #'stencil = #miNarrow
   \aikenHeads
   c e4
   c e4
 }
  
  
Cheers, 
Robin


attachment: miNarrow.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond v2.13.54

2011-03-16 Thread MING TSANG
I uninstall v2.13.53 and re-install v2.13.54 in order to re-created the error 
message.  I enclosed 2 .png files.  One png is from jedit run and the other is 
a 
cmd run. Hope you can read them.





From: Federico Bruni fedel...@gmail.com
To: MING TSANG tsan...@rogers.com
Cc: Stan Sanderson physinfo...@ameritech.net; lilypond-user@gnu.org
Sent: Wed, March 16, 2011 7:25:28 PM
Subject: Re: lilypond v2.13.54

Il giorno mer, 16/03/2011 alle 15.19 -0700, MING TSANG ha scritto:
 What happened to v2.13.54?  installation say it is successfully
 installed; but when I ran lilypond, it said lilypond is not recognized
 internal or external batch file.

Post the output of the command otherwise I think that nobody will be
able to help you.

2011-03-16_215838.png
Description: Binary data


2011-03-16_215532.png
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


handbell sample source

2011-03-16 Thread Stan Sanderson
In September of 2009 Stephen Corey posted a template for handbell  
music having the ability to color note heads automatically. I think I  
saw some discussion about special symbols used with handbell music,  
but little else.


It would be very helpful (to me, at least) if a short example of a  
completed handbell score would be posted, assuming one exists.


Thanks,

Stan




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


Re: filename in markup

2011-03-16 Thread eluze
Am 16.03.2011, 15:36 Uhr, schrieb m...@apollinemike.com  
m...@apollinemike.com:



(from Neil Puttock)

snip
foo = #(ly:parser-output-name parser)

Cheers,
Neil
/snip



thanks, is it possible to get the file-extension, too?

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