Re: End-of-piece trill?

2006-07-18 Thread Gianluca D.
Alle 03:22, mercoledì 19 luglio 2006, Trevor Bača ha scritto:
 \version 2.9.11

 \new Staff {
    c'4
    d'4
    e'4
    f'4 \startTrillSpan s4 \stopTrillSpan
 }

I think you could use the same trick it was posted some months ago about 
crescendo and decrescendo (I'm sorry I don't remeber who posted it):

%% START SNIPPET %%

\version 2.9.11

 \new Staff {
c'4
d'4
e'4
f'4*1/2 \startTrillSpan s4*1/2 \stopTrillSpan
 }

%% END SNIPPET %%

You can modify numbers (such as f4*1/3 ... s4*2/3  and so on) to adjust the 
length of the spanner. 
I've tried it and it seems to work as you'd like. I hope this can be of some 
use.

Best regards,

Gianluca D'Orazio


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


Strange behaviour of breakbefore option

2006-06-28 Thread Gianluca D.
Hi everybody!

I'm using lilypond version 2.8.4.

I was trying to use the breakbefore option in the header block inside 
a score to make  the second score of my book start on a new page, but I 
couldn't afford it. 
So, trying on a little test file, I've discovered that breakbefore 
apparently works only if piece string is set, and this string can't be an 
empty one.
So this header block did not work:

\header  {
  breakbefore = ##t
}

but this one worked:

\header {
  piece =  
  breakbefore = ##t
}

I think this is really a strange behaviour, since it's quite normal to want a 
score start on a new page even if this score has no piece title.

Best regards,

Gianluca D'Orazio


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


Even and odd page-margins

2006-05-22 Thread Gianluca D.
Hi everybody!
I'd like to ask if anyone knows a way to set different margins for odd and 
even pages with Lilypond. I've tried to find some information from the manual 
of boh 2.8 and 2.9 version, but I couldn't find anything.
I wouldn't like to use lilypond-book to achieve my goal, because I think it 
would be a waste of resources to use two different programs to obtain a 
simple thing like this.
I'd be also interested in sponsoring this feature, eventually.

Another feature I'd like to see in lilypond is a set of properties for the 
first page of a score, or the page with title- something like 
first-page-between-system-space or first-page-top-margin; actually, the 
first page usually needs specific tuning, which are often not suitable for 
the rest of the score- so I've thought it would be pretty nice to have 
specific settings for the title-page. I would be interested in sponsoring 
this feature too.

Best wishes,

Gianluca D'Orazio


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


Re: I'm having problem coloring notes

2006-05-09 Thread Gianluca D.
Alle 19:40, martedì 9 maggio 2006, Xiaoyu Ding ha scritto:
 Is this because that I'm trying to color a note within a chord?

It is not allowed to use the override command within a chord; if you're 
working with lilypond 2.8, you can use the tweak command.
Your example will work this way:

bes \tweak #'color #blue g4

It will produce a chord with a blue g. It is not needed to revert the color to 
black, because tweak changes the property only once at a time.

You can find some other information here:

http://lilypond.org/doc/v2.8/Documentation/topdocs/NEWS.html

Scroll down the page a bit, and one of the news is all about tweak.

Gianluca D'Orazio




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


Problems with lilypond-invoke-editor

2006-03-11 Thread Gianluca D.
Good morning to everybody!
I'm using lilypond v. 2.7.38 and I've got a weird problem with 
lilypond-invoke-editor. I use xpdf as pdf-viewer and it used to work fine 
with point-and-click, but know it gives me this error message:

lilypond-invoke-editor (GNU LilyPond) 2.7.38
ERROR: no code for module (scm editor)

Is there anyone who knows why or how could I fix it?
My Linux distribution is SuSE 10.0 - is the problem perhaps related to the 
distribution?

Thank you all!
Best regards,

Gianluca D.


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


How to shorten ties?

2006-03-10 Thread Gianluca D.
Good afternoon to everybody!
I know that the answer to my question is probably somewhere in the manual, but 
I will be grateful to anyone who could help me. 
I've been searching for a way to shorten ties. I've tried with commands such 
as extra-X-extent but I couldn't make it work.
I'm using Lilypond version 2.7.37 in Linux.
There's an example of the code I used:

\version 2.7
\score {
  \new Staff \relative c'' {
\once \override Staff.Tie #'extra-X-extent = #'(-1 . 0) a2~ a4 r
  }
}

Thank you to everybody!

Gianluca D.


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


Re: putting piano centered dynamics into score

2006-01-31 Thread Gianluca D.
Alle 13:19, martedì 31 gennaio 2006, liang seng ha scritto:
 Hi, I am using Lilypond 2.7.27 for Windows 98 and I have a problem putting
 a file which contains piano centered dynamics into a score. The contents of
 the file piano.ly are the same as the input file used to generate piano
 centered dynamics in the 2.7 documentation file. The file of the score is
 as below:
 \version 2.7.27
 \include piano.ly
 \score{
 \new StaffGroup  \override Score.InstrumentName #'space-alist =
 #'((left-edge extra-space . 4.0))

 \new Staff { \set Staff.instrument = Violin R2 }
 \new Staff { \set Staff.instrument = Viola R2}
 \new PianoStaff  \set PianoStaff.instrument = Piano
 \new Staff { \upper }
 \new Staff { \lower } 

 \new Staff { \set Staff.instrument = Bass R2 }

 }

 The contents of \upper are:
 \new Voice \relative c {
\clef treble
\key c \major
\time 2/4
  \change Staff=lower
 r8 g32 b d g a8\rest \stemUp g32 b \change Staff=upper d g   }

 The contents of \lower are:
 \new Voice \relative c  { \clef bass
 \stemDown \times 2/3 { g,16 b d } c8\rest \times 2/3 { g'16 b d } r8
  }

 The problem is highlighted in the pdf file. The piano staff appears twice
 while the piano staff which is in the correct position does not display the
 manual staff switches. What is wrong?

Maybe you should try to give a name to piano staves, using the \context 
command- otherwise I think the switching-notes routine will get confused. 
So try writing :

\new PianoStaff  \set PianoStaff.instrument = Piano
  \context Staff = upper { \upper }
  \context Staff = lower { \lower } 

I hope this could be useful.

Best regards,

Gianluca D'Orazio


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


Forcing page layout in Lilypond 2.6.4

2006-01-20 Thread Gianluca D.
Hello everybody!

Is there any way to force Lilypond 2.6.4 to obliviously obey to \paper 
settings such as betweensystemspace or betweensystempadding?
It's very frustrating the useless struggle against the intelligent stubborness 
of lilypond internal layout when it continues putting more white space on the 
page than staves even if you've just tried all the possible settings in the 
\paper block.
Best regards,

Gianluca D'Orazio


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


Re: Migration from Finale: music xml or etf

2006-01-18 Thread Gianluca D.
Alle 23:31, mercoledì 18 gennaio 2006, Mark Van den Borre ha scritto:
 MusicXML2ly is quite recent. What's there is high quality, but it's
 still under development. It does take quite a lot of work off your
 shoulders already, especially for monophonic and homophonic work.

I think that, at the moment, it could be a very useful alternative the xml2ly 
converter by Guido Amoruso. Have you ever tried it? It's a nice piece of 
software and its output is very neat. Also, it supports some features that 
musicxml2ly doesn't support yet.  The xml2ly converter has been posted in the 
mailing list, so I think it could be easily found in the archives. 

Best regards,

Gianluca


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


Re: Still learning Lilypond's ropes

2006-01-15 Thread Gianluca D.
Alle 00:08, lunedì 16 gennaio 2006, Ray ha scritto:

 Do I insert the \break into the notes (not shown)?

  Yes, you can put the \break instruction into the notes, but you should put 
it just after a barline, or, which is the same, between two measures- 
otherwise, lilypond will ignore your command. When I say  after a barline I 
don't mean that you must have a \bar command between your notes, but that 
you have to put the break in the ideal space between the notes of two 
different measures- in common time, for instance, if you have this sequence 
of notes:
g4 b8 c d4 d, g2. r4
assuming that the first note starts a bar, there's only one place to put a 
break, i.e. after the second d:
g4 b8 c d4 d, \break g2. r4
because it is where a bar falls.

  Actually, it is still possible that Lilypond will ignore your command, if 
its internal layout engine thinks that you've asked a too much ugly bar 
break, but that disgraceful situation usually occurs when you try to avoid a 
break with the \noBreak command. 

  I hope this can be of some use.

Gianluca 


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


Re: grace-notes in tuplets

2005-11-04 Thread Gianluca D.
Alle 19:07, venerdì 04 novembre 2005, Peter Mogensen ha scritto:
 Hi,

 Is there a good reason, that I just don't know of that the two tuplets
 below do not give the same result?

 Peter


I've just tried compiling your code with Lilypond 2.7.12 and the two tuplets 
look exactly the same. Could it be a bug of the 2.6.3 version? Maybe 
upgrading to the 2.6.8 will be of use.

Gianluca


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


Re: grace-notes in tuplets

2005-11-04 Thread Gianluca D.
Alle 19:20, venerdì 04 novembre 2005, Gianluca D. ha scritto:

 Maybe upgrading to the 2.6.8 will be of use.

 Gianluca

Oops... I meant version 2.6.4- sorry :)



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


Re: Lily 2.7.12 autopackages fail on my Debian sid

2005-10-09 Thread Gianluca D.
Alle 13:05, domenica 9 ottobre 2005, Paul Scott ha scritto:
 On my Debian sid system (completely up to date) the upgrade autopackage
 for any x86 for 2.7.12 fails looking for the correct version of  Guile

 The install version fails with:

 [EMAIL PROTECTED]:~/music/stfrancis$ lilypond-2.7.12 --ps cityofgodE.ly
 GNU LilyPond 2.7.12
 ERROR: In procedure primitive-load-path:
 ERROR: Unable to find file ice-9/boot-9.scm in load path

 I was using 2.7.10.  I will now try 2.7.11

 Paul Scott

I had the same problem with my SuSE 9.3. Reading the error-message made me 
thinking that may be the autopackage had removed some symbolic links; since 
file ice-9/boot-9.scm comes from Guile, I re-installed the Guile package, 
so that any symbolic links could be recreated, and now everything works fine.
I hope this solution may be good for you too.

Gianluca D'Orazio


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


Adding parenthesis around slurs or hairpins or whatever else

2005-10-05 Thread Gianluca D.
Hi everybody!

I'm trying to copy with Lilypond a nice sheet of music showing many editorial 
parenthesis around slurs, ties and hairpins.

In the attachments, you can see two examples of what I'm talking about.

Is there anyone who knows a general way to reproduce these expressions, 
hopefully without dismantling Lilypond bit by bit? :P

I've already tried searching the archive and the regression-tests and 
tips-and-tricks, but with no results, except for that dirty trick to make 
dynamics surrounded by parenthesis ( which is a very very very dirty trick 
because such dynamics are actually markups and so they will never align 
properly with normal dynamics, but with changing all the default dynamic 
padding properties etc etc... )

Thank you to everyone.

Gianluca D'Orazio
attachment: tie.jpg
attachment: hairpin.jpg


pgpRqd8ZmteET.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user