Re: space system problem

2008-02-19 Thread Mats Bengtsson

As far as I can understand, this is a warning that the score lines might
get too squeezed or to widely spaced compared to what the design rules
in LilyPond would prefer. I haven't seen any case where the resulting
layout looks really bad, though, so don't worry too much.

/Mats

hhpmusic wrote:

Hi,
Here is the first paragraph of my piece describing the great Three 
Gorges on Yantze River. But the log file said "tried to space systems 
on bad number of pages". What does it mean?

Haipeng



 ?? ?? 100 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 




___
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: what does adorn mean in this context? GDP

2008-02-19 Thread Joe Neeman
On Mon, 2008-02-18 at 18:26 -0800, Jay Hamilton wrote:
> I'm working on the balloon section of Editorial and in that section is this 
> statement
> 
> There are two music functions, balloonGrobText and balloonText; the former 
> takes the name of the grob to adorn, while the latter may be used as an 
> articulation on a note. The other arguments are the offset and the text of 
> the label.
> 
> the words after the semicolon (;) look like they make sense but adorn and 
> articulation don't really make sense to a common English reader (me) can 
> someone explain what is meant here so I can translate it into something I 
> might understand?

I believe it's just referring to how the two functions fit in the
lilypond syntax. The former takes the name of the grob that will be
adorned:
\balloonGrobText #'Stem etc...
while the latter is used like an articulation:
c-\balloonText etc...

Hope that helps,
Joe




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


Re: Several issues transcribing ancient notation (clefs, noteheads, spacing)

2008-02-19 Thread Mats Bengtsson



till wrote:


2. There is a lot of threads here on the list. You can play with all sorts
of spacing but nothing is yet really convincing. The most simple workaround
appears to be to scale all note durations to a singe duration, eg. 1/8,
which can be achieved by appending the note duration: a\breve*1/8 will give
a breve that takes only the space of 1/8. 
For the record, you made a typo (thinko?) here. The duration of 
a\breve*1/8 will

be 1/8 of the duration of a breve, i.e. a quarter note.

  /Mats


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


Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?

2008-02-19 Thread Mats Bengtsson



Nicolas Sceaux wrote:

A score is a Score :-)


Not if you want to attach a \header, \layout or \midi block to it, though
it seems that Han-Wen has just added some support for doing that.

  /Mats


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


Re: getting tuplets using midi2ly

2008-02-19 Thread Mats Bengtsson

I'm afraid that the best available documentation is the source code. :-(
The impression I've got from the mailing list is that most people who have
tried to use midi2ly for any serious purpose have soon realized that it's
just as quick to enter the .ly file directly. Especially considering the 
fact that

you often spend just as much time editing slurs, articulations, dynamics and
other features that are not represented in MIDI, as you spend on 
inputting the

actual music.

Regards

   /Mats

Ledocq-Boccart wrote:

Hi,

Where can I find explanations about the effect of the options of 
midi2ly.py?

What is "quantize"?
What is the effect of "explicit durations"?
etc...
I mean I would like to understand the link between the options and its 
action on the structure of a midi file.

As yet I feel to "cut and try" without understanding.

Best regards

Charlie


Ledocq-Boccart a écrit :

Thanks Mats!

I have made some trials with various options settings: and I got 
something I could start with making manual corrections.


I do not understand the effect of options like:
--explicit-duration
--start-quant=DURI did not see much effect
--duration-quant=DUR
With DUR=16 I get something acceptable (triplet of 8th are rendered 
as triplet of 16th , while--allow-tuplet=8*2/3); if DUR=8 
notes of triplet are rendered as 4th.


Best regards

Charlie





Mats Bengtsson a écrit :

Don't have too high expectations on what midi2ly can do with the
rhythm. As far as I know, it will only work reasonably well with
MIDI files generated from other notation programs.

  /Mats

Ledocq-Boccart wrote:

Hi,

I'm managing converting a  *.midi  to  a *-midi.ly
*-midi is stored in "C:\...\Lilypond\usr\bin". It contains a lot of 
triplets (f8 g a)
Purpose is: avoid manualy modifying the *-midi.ly code to get all 
of the triplets!

No answer found in the forums about the use of convert-ly
Environment: is Lilypond 2.10.33 running on win XP.
_
1.using midi2ly_
typing"C:\...\bin\midi2ly --key=2 --allow-tuplet=8*2/3 *.midi"
produces   *-midi.lywhich version is given to be 2.7.18 
(reading with jedit);

applying lilypond.exe   gives:
*-midi.pdfshows the correct notes pitches (quite all 
4-th) but without any triplet nor 8-th;
*-midi-logrecommanding to use convert-ly  ...2.7.18 ... 
(2.7.38  2.10.33) **this will part of another post**

_2.questions:_
- How could I get the tuplets?
- Have I missed something?

Thanks for answering!

Charlie






___
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: TimeSignature as fraction: gap between numerator and denominator - solution

2008-02-19 Thread Mats Bengtsson



Werner wrote:


(My opinion: That should be default layout.)
  

The opinion of the main LilyPond developers is to use hand-engraved
scores by the main German publishers as the inpiration when deciding on
the layout, see for example 
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Engraving#Engraving

If you can find many such examples in your music library that supports your
opinion, then you have a good basis to request such a change. Otherwise, 
I'm afraid
that you have to accept that the current layout remains the default in 
LilyPond.


As you have seen, it's possible to modify the layout as you wish and 
it's even possible to
write a few lines of Scheme code to get a solution that automatically 
can handle all

time signatures.

   /Mats


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


Re: Lyric Text position

2008-02-19 Thread Valentin Villenave
2008/2/17, Reinhold Kainhofer <[EMAIL PROTECTED]>:

> In the LSR there are templates for vocal (SATB) music, which also show this as
> one of their features. However, I now created a specialized snippet
> showcasing only this one feature (with loads of comments in the lilypond
> file, the actual code is very short):
>  http://lsr.dsi.unimi.it/LSR/Item?id=391

Thanks for this snippet. I've approved it.

Cheers,
Valentin


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


RE: Old Bass Clef

2008-02-19 Thread Trevor Daniels

> Valentin Villenave wrote 19 February 2008 08:58
> 
> 2008/2/18, Philip <[EMAIL PROTECTED]>:
> > Is it possible to type-set the old bass clef?
> 
> Yes it is. I took the .svg file in your example, 
> converted it to
> postscript, changed a bit the code, and here you are:

Hi Valentin

How exactly do you convert a .svg file into 
postscript?  It seems a very useful general
technique to get arcane symbols into LP scores.

Trevor D



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


Re: Measure repeats, phrasing slurs and dynamics

2008-02-19 Thread Mats Bengtsson
For the crescendo, see section "Dynamics" for a description on how to 
attach
the dynamics to a parallel line of spacer notes. A similar trick can be 
used also
for the phrasing slur, but in contrast to dynamics, the end of the slur 
has to be
a real note, not a spacing note. To handle that, you can use an 
invisible note.

The resulting example can look like
\version "2.10.0"
{
% Version without the repeat, copied verbatim from your email:
cis'16\mp\( dis e gis cis, dis e gis cis, dis e gis cis, dis e gis
 cis' dis e gis cis, dis e gis cis,\< dis e gis cis, dis e gis\) \!
\break
% Version with percent repeat:
<< \repeat "percent" 2 {
   cis'16 dis e gis cis, dis e gis cis, dis e gis cis, dis e gis
 } {s1\( s2 s4 \< s8. \hideNotes gis16\) \! \unHideNotes } >>
}

   /Mats
Oscar van Eijk wrote:

Hi All,


I'm trying to write the following:

  cis'16\mp\( dis e gis cis, dis e gis cis, dis e gis cis, dis e gis
  cis' dis e gis cis, dis e gis cis,\< dis e gis cis, dis e gis\)

using a repeat:

  \repeat "percent" 2 { 
cis'16 dis e gis cis, dis e gis cis, dis e gis cis, dis e gis

  }


Is there a way to to this, having the phrasing slur span 2 measures and
the cresc hairpin printed in the second measure?

Thnx in advance,
Oscar



___
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Old Bass Clef

2008-02-19 Thread Valentin Villenave
2008/2/18, Philip <[EMAIL PROTECTED]>:
> Is it possible to type-set the old bass clef?

Yes it is. I took the .svg file in your example, converted it to
postscript, changed a bit the code, and here you are:

{
  \once \override Staff.Clef #'stencil =
   #ly:text-interface::print
 \once \override Staff.Clef #'text =
\markup \postscript #"-1 2 translate
0.05 -0.05 scale
0 0 0 setrgbcolor
[] 0 setdash
1 setlinewidth
0 setlinejoin
0 setlinecap
gsave [1 0 0 1 0 0] concat
gsave
0 0 0 setrgbcolor
newpath
76.702387 30.449969 moveto
76.702387 33.50094 74.229087 35.97424 71.178116 35.97424 curveto
68.127146 35.97424 65.653845 33.50094 65.653845 30.449969 curveto
65.653845 27.398998 68.127146 24.925698 71.178116 24.925698 curveto
74.229087 24.925698 76.702387 27.398998 76.702387 30.449969 curveto
76.702387 30.449969 lineto
closepath
eofill
grestore
gsave
0 0 0 setrgbcolor
newpath
76.702387 51.484699 moveto
76.702387 54.53567 74.229087 57.00897 71.178116 57.00897 curveto
68.127146 57.00897 65.653845 54.53567 65.653845 51.484699 curveto
65.653845 48.433728 68.127146 45.960428 71.178116 45.960428 curveto
74.229087 45.960428 76.702387 48.433728 76.702387 51.484699 curveto
76.702387 51.484699 lineto
closepath
eofill
grestore
gsave
0 0 0 setrgbcolor
newpath
27.196415 45.323004 moveto
36.332711 55.309187 53.930464 41.604737 43.131814 30.449965 curveto
33.69562 20.70258 20.588738 34.057939 20.184839 42.135924 curveto
19.706777 51.697164 28.60023 64.061703 41.219566 62.745707 curveto
52.460143 61.573493 63.576527 52.78186 62.466765 36.611652 curveto
61.52705 23.099094 48.2047 15.526401 35.907766 16.214341 curveto
28.311893 16.639285 19.389584 18.866229 13.810679 32.149741 curveto
7.6983781 46.703281 5.9317835 65.130659 18.485063 76.98133 curveto
32.720686 90.420184 60.660411 88.234774 72.877892 67.420091 curveto
74.298671 64.999538 73.1966 62.108291 70.115757 65.507843 curveto
65.623633 70.464671 57.420556 77.937454 47.806198 76.768858 curveto
35.48352 75.271074 28.040234 73.444992 20.609783 61.683347 curveto
8.4394507 42.418954 21.594009 24.303731 31.870798 21.101197 curveto
43.291168 17.542291 58.683397 24.261753 58.642269 41.498508 curveto
58.623997 49.156509 49.505973 58.602503 40.58215 58.496267 curveto
32.663318 58.401995 26.558999 52.33458 27.196415 45.323004 curveto
closepath
eofill
grestore
grestore"

\clef bass f1}


Of course, if you use a different staff- or font-size, you'll have to
change the translate and scale instructions at the beginning of the
code.

Cheers,
Valentin


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


Re: Old Bass Clef

2008-02-19 Thread Valentin Villenave
2008/2/19, Trevor Daniels <[EMAIL PROTECTED]>:

> How exactly do you convert a .svg file into
> postscript?  It seems a very useful general
> technique to get arcane symbols into LP scores.

Oh, you'll be disappointed: I just use Inkscape and save the file as .ps :-)

Philip, if you're ok with the code as it is, I'll add it as a snippet
in the LSR.

Cheers,
Valentin


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


Re: about musicxml2ly

2008-02-19 Thread Reinhold Kainhofer
Hello Haipeng,

Am Dienstag, 19. Februar 2008 schrieb hhpmusic:
>   By the way, how can I write metronome markings such as quarter = eighth =
> 120 or quarter = ca120 (sorry, my screen reader has poor function and this
> line must be put beneathe the next line)?

In lilypond, simply use the \tempo command:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Metronome-marks#Metronome-marks

That puts the quarter=120 above the staff. Is that where you need it? 
Otherwise you'll have to fiddle around with the #'direction and #'side-axis 
properties of MetronomeMark to move it left/right or below/above the staff.

If you need more advanced metronome marks (e.g. "Fast (quarter = 220-220)"), 
you'll have to use a markup (which unfortunately has no effect on MIDI). See 
the LSR snippet for a scheme function definition to simplify their 
generation:
http://lsr.dsi.unimi.it/LSR/Item?id=234

>   My software has limited function to transcribe MusicXml file of large
> orchestral piece into braille, so I tried MusicXml2ly. 

musicxml2ly does not yet convert any metronome marks.

It should should not be too hard to implement, though, if anyone is 
interested:  is simply a direction subelement, see 
http://musicxml.org/dtds/direction.html for the syntax, which can be 
converted similar to  or  or  (see the code for 
these)

> But it can't convert  percussion part and returns to command line without
> any result files. 

Hmm, musicxml2ly has limited support for  percussion staves, but at least it 
should produce some output... Which version of lilypond are you using? If 
it's 2.10, then musicxml2ly has only really basic functionality, in 2.11 it 
gained a lot of new features.

Is there any error message on the command line?
You can also send me the .xml file via private mail, so I can check the 
problem myself.

> Does the lilypond developer team also handle musicxml2ly (not 
> Xml2ly)? 

Well, yes (if I count myself as part of the lilypond developer team...). I've 
done most of the work on musicxml2ly recently (as said above, all that is 
only in 2.11, but not in 2.10, because i started development long after 2.10 
has been released).

Cheers,
Reinhold

-- 
--
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/


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


Re: what does adorn mean in this context? GDP

2008-02-19 Thread Nicholas WASTELL
On Mon, 18 Feb 2008 18:26:58 -0800
"Jay Hamilton" <[EMAIL PROTECTED]> wrote:

> There are two music functions, balloonGrobText and balloonText; the former 
> takes the name of the grob to adorn, while the latter may be used as an 
> articulation on a note. The other arguments are the offset and the text of 
> the label.
> 
> the words after the semicolon (;) look like they make sense but adorn and 
> articulation don't really make sense

I'm a native English (en-GB) speaker, but I am not familiar with the balloon 
function. ;-)  However:

To adorn is to decorate and enhance.  It's rather an old-fashioned word, I 
suppose. 

Articulation in this context is a musical term, meaning a mark (e.g., accent, 
staccato dot, stopped mark) against a note showing how it should be delivered 
(i.e., articulated).  

It doesn't explain (to me) the difference between the two functions.  I'd have 
a look in LSR, but it appears to be down at the moment.

hth,

Nick.
-- 
Nicholas WASTELL
France


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


Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?

2008-02-19 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Han-Wen,,
Thanks a lot for your great help and all the hints!  I'm starting to get a 
little insight into how lilypond works internally


> at toplevel. check out
>toplevel-score-handler
> in ly/declarations-init.ly; this shows how to schedule a \score object
> for typesetting.

Thanks, I'll investigate that a little later.

> > Now that this works more or less, how can I set 'header:piece only for
> > this score? I tried ly:prob-set-property! and ly:context-set-property!,
> > but neither works. Which type of object is a score?
>
> It's a scheme module. I think we lack the bindings to set or read the
> one in the \score block  from scheme. I'll add some for .41 - when the
> bindings are there, it would be
>
> (define header-object (ly:score-header score))
> (module-set! header-object 'piece "blah")

Thanks for adding these bindings. However, should ly:score-header always 
return a header module, or do I have to create the header module myself? For 
me it simply returns an empty list... In particular, the following code does 
not work:

#(define (createscoreII name) 
  (let* (
 (score (ly:make-score #{ \makestaff $name #}))
 ; I also tried (make-module 1021 (ly:score-header score)
 ; where 1021 is taken from the only call to make-module that I 
 ; found in scm/lily.scm
 (header-object (ly:score-header score))
 ;(header-object (make-module 1021 (ly:score-header score)))
)
;(display header-object)
; This complains about header-object not being a module.
; using make-module, it complains about now knowing the piece variable...
(module-set! header-object 'piece "blah")
(ly:export score)
  )
)

I also tried module-add!, but since I'm basically doing trial and error, I 
could not get this to work, either...

Thanks,
Reinhold


- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHut91TqjEwhXvPN0RAtOoAKDEkQMhBWMgQj+PqmBFuy3G25+vkgCgoI7Y
WjuTZIFvS559xoSGdIVACGU=
=Wxn+
-END PGP SIGNATURE-


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


RE: Old Bass Clef

2008-02-19 Thread Trevor Daniels

Valentin Villenave wrote
> 
> 2008/2/19, Trevor Daniels <[EMAIL PROTECTED]>:
> 
> > How exactly do you convert a .svg file into
> > postscript?  It seems a very useful general
> > technique to get arcane symbols into LP scores.
> 
> Oh, you'll be disappointed: I just use Inkscape 
> and save the file as .ps :-)
> 
No, that's fine.  I hadn't used Inkscape before -
now I have it, and it works!  Many thanks :)

Trevor D


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


Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?

2008-02-19 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 18. Februar 2008 schrieben Sie:
> Reinhold Kainhofer wrote:
> > ...
> > Also, how can I create a staff in scheme? A staff is no music expression,
> > is it?
>
> Finally a question I can answer, or rather that LilyPond can answer for
> you. Just use the \displayMusic function. For example, run LilyPond on the
> following
> example and look at the printouts at the command line:
> \displayMusic \new Staff{}

Hrmpf, I swear I tried that before, but got an error message (similar to the 
one when trying to display a score). Anyway, it works now (even setting the 
instrumentName etc. by simply adding 'property-operations to 
the 'ContextSpeccedMusic).

Thanks,
Reinhold

- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHuutbTqjEwhXvPN0RAtA8AJ9mmlZ12CRWFBtq9Tf+i9UJR8nkyACfR8dC
Amq4Sjg9j1yyWg8lqDrdRJw=
=xDjm
-END PGP SIGNATURE-


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


Re: Fixed, tight staff spacing

2008-02-19 Thread Trevor Bača
On Feb 19, 2008 12:44 AM, Marcus Macauley <[EMAIL PROTECTED]> wrote:

> Hello,
>
> In Lilypond 2.10.33, I want to have four staves per system, connected by a
> piano-style brace, with exactly enough space for two ledger lines between
> the
> upper two staves, one ledger line between the middle two staves, and two
> ledger
> lines between the lower two staves. (Measured from center line to center
> line,
> that works out to 7, 6, and 7 staff spaces, respectively.)
>
> I tried the various methods described in section 11.4 of the manual (with
> and
> without PianoStaff), but I couldn't get the staves tight enough. (There
> are
> some notes which are supposed to overlap or collide with the staves above/
> below.) It seems the only option left is "11.4.4 Explicit staff and system
> positioning", but I don't want to specify the position of each new system,
> just
> the amount of space between the staves within a system -- and this spacing
> should apply to every system throughout the score.
>
> Any suggestions?



Hi Marcus,

You can set #'line-break-system-details alignment-offsets independently and
score-globally.

For example:


%%% BEGIN %%%

\version "2.11.34"

\layout {
   \context {
  \Score
  \override NonMusicalPaperColumn
  #'line-break-system-details = #'((alignment-offsets . (0 -6 -12 -18)))
   }
}

\new GrandStaff <<
   \new Staff { \repeat unfold 128 f'8 }
   \new Staff { \repeat unfold 128 f'8 }
   \new Staff { \repeat unfold 128 f'8 }
   \new Staff { \repeat unfold 128 f'8 }
>>

%%% END %%%


This will force 6 staffspaces of vertical distance between the center
stafflines of staves of all four staves. Collisions and even overprint are
possible here, which sounds like exactly what you'll need for the type of
conglomerate staff you're assembling.

Let me know if this is the sorta thing you're looking for. I neglected to
add this fact -- that alignment-offsets is globally settable, and also that
the various #'line-break-system-details settings can all set independently
of one another -- to 11.4.4 "Explicit staff and system positioning"; if this
is what your project needs then I'll add a section to either 11.4.4 or the
LSR, as Graham specifies.


Trevor.




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


Starting up lilypond (install)

2008-02-19 Thread Rafael González
This happened to me with my windows XP and my Apple leopard: I download tha
latest version of lilypond. It does not want to save the initial test file.
-- 
γγγ
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Old Bass Clef

2008-02-19 Thread Benedict Singer
This is also perfect for my needs to typeset some ancient clefs. I  
assume this trick will work for most graphical objects in LP. Can it  
be used for noteheads?


Ben

On Feb 19, 2008, at 0:58, Valentin Villenave <[EMAIL PROTECTED]>  
wrote:



2008/2/18, Philip <[EMAIL PROTECTED]>:

Is it possible to type-set the old bass clef?


Yes it is. I took the .svg file in your example, converted it to
postscript, changed a bit the code, and here you are:

{
 \once \override Staff.Clef #'stencil =
  #ly:text-interface::print
\once \override Staff.Clef #'text =
\markup \postscript #"-1 2 translate
0.05 -0.05 scale
0 0 0 setrgbcolor
[] 0 setdash
1 setlinewidth
0 setlinejoin
0 setlinecap
gsave [1 0 0 1 0 0] concat
gsave
0 0 0 setrgbcolor
newpath
76.702387 30.449969 moveto
76.702387 33.50094 74.229087 35.97424 71.178116 35.97424 curveto
68.127146 35.97424 65.653845 33.50094 65.653845 30.449969 curveto
65.653845 27.398998 68.127146 24.925698 71.178116 24.925698 curveto
74.229087 24.925698 76.702387 27.398998 76.702387 30.449969 curveto
76.702387 30.449969 lineto
closepath
eofill
grestore
gsave
0 0 0 setrgbcolor
newpath
76.702387 51.484699 moveto
76.702387 54.53567 74.229087 57.00897 71.178116 57.00897 curveto
68.127146 57.00897 65.653845 54.53567 65.653845 51.484699 curveto
65.653845 48.433728 68.127146 45.960428 71.178116 45.960428 curveto
74.229087 45.960428 76.702387 48.433728 76.702387 51.484699 curveto
76.702387 51.484699 lineto
closepath
eofill
grestore
gsave
0 0 0 setrgbcolor
newpath
27.196415 45.323004 moveto
36.332711 55.309187 53.930464 41.604737 43.131814 30.449965 curveto
33.69562 20.70258 20.588738 34.057939 20.184839 42.135924 curveto
19.706777 51.697164 28.60023 64.061703 41.219566 62.745707 curveto
52.460143 61.573493 63.576527 52.78186 62.466765 36.611652 curveto
61.52705 23.099094 48.2047 15.526401 35.907766 16.214341 curveto
28.311893 16.639285 19.389584 18.866229 13.810679 32.149741 curveto
7.6983781 46.703281 5.9317835 65.130659 18.485063 76.98133 curveto
32.720686 90.420184 60.660411 88.234774 72.877892 67.420091 curveto
74.298671 64.999538 73.1966 62.108291 70.115757 65.507843 curveto
65.623633 70.464671 57.420556 77.937454 47.806198 76.768858 curveto
35.48352 75.271074 28.040234 73.444992 20.609783 61.683347 curveto
8.4394507 42.418954 21.594009 24.303731 31.870798 21.101197 curveto
43.291168 17.542291 58.683397 24.261753 58.642269 41.498508 curveto
58.623997 49.156509 49.505973 58.602503 40.58215 58.496267 curveto
32.663318 58.401995 26.558999 52.33458 27.196415 45.323004 curveto
closepath
eofill
grestore
grestore"

\clef bass f1}


Of course, if you use a different staff- or font-size, you'll have to
change the translate and scale instructions at the beginning of the
code.

Cheers,
Valentin


___
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: Starting up lilypond (install)

2008-02-19 Thread Mats Bengtsson
If you search the mailing list archives, you will find that there are 
some problems
with the OSX version of LilyPond on Leopard. As far as I can understand, 
you can only run it from the command line.


However, in Windows XP, there shouldn't be any such problems. Based on 
your previous email, it seems that you have used LilyPond before, so I 
won't direct you to the Tutorial, as I would normally do when this kind 
of question pops up on the mailing list.


However, for us to be able to understand what problem you experience in 
Windows, you would have to provide more details of exactly what you 
tried to do and what LilyPond version you used, the last stable 2.10.33 
or the last development 2.11.40? Did you use the editor that's opened 
when you double click in the LilyPond icon or a LilyPond file, or did 
you use some other text editor (any text editor will do and the one 
included with LilyPond is fairly primitive).


  /Mats

Rafael González wrote:


This happened to me with my windows XP and my Apple leopard: I 
download tha latest version of lilypond. It does not want to save the 
initial test file.

--
γγγ


___
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: TimeSignature as fraction: gap between numerator and denominator - solution

2008-02-19 Thread Werner
Mats Bengtsson  ee.kth.se> writes:

> 
> Werner wrote:
> >
> > (My opinion: That should be default layout.)
> >   
> The opinion of the main LilyPond developers is to use hand-engraved
> scores by the main German publishers as the inpiration when deciding on
> the layout, see for example 
>
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Engraving#Engraving
> If you can find many such examples in your music library that supports your
> opinion, then you have a good basis to request such a change.

Well, I consulted some of my (only german) music books and I found, that maybe
more often the cyphers of the Time Signature merge with the third (middle) line
in the stave an with each other, but there are really many examples, that there
is a small gap between the top of the lower cypher (denominator) an the third
line and also between the top of the numerator (upper cypher) and the fifth
(upper) line in the stave. It seems, the merging appears, but isn't really what
the engraver wants...

Greetings

Werner





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


Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?

2008-02-19 Thread Nicolas Sceaux


Le 19 févr. 08 à 09:48, Mats Bengtsson a écrit :




Nicolas Sceaux wrote:

A score is a Score :-)


Not if you want to attach a \header, \layout or \midi block to it


Of course it is, even with a header, layouts or a midi blocks.


By the way, this is strange:

--- a/lily/score-scheme.cc
+++ b/lily/score-scheme.cc
@@ -59,7 +59,20 @@ LY_DEFINE (ly_score_header, "ly:score-header",
 {
   LY_ASSERT_SMOB (Score, score, 1);
   Score *sc = unsmob_score (score);
-  return sc->header_;
+  return sc->get_header ();
+}
+
+
+LY_DEFINE (ly_score_set_header_x, "ly:score-set-header!",
+  2, 0, 0, (SCM score, SCM module),
+  "Set the score header.")
+{
+  LY_ASSERT_SMOB (Score, score, 1);
+  SCM_ASSERT_TYPE (ly_is_module (module), module, SCM_ARG2,  
__FUNCTION__,

+  "module");
+
+  Score *sc = unsmob_score (score);
+  return sc->get_header ();
 }


Shoudn't ly:score-set-header! actually set the header, rather than
returning it?

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


Re: Old Bass Clef

2008-02-19 Thread Tim Reeves
If the "old bass clef" symbol is available in some font, couldn't you just 
do this:

\version "2.10.0"
myClefSymbol = \markup{
  \override #'(font-name . "Times New Roman" ) \huge "A"
}

\score{
\relative c'{
  \override Staff.Clef #'stencil = #ly:text-interface::print
  \override Staff.Clef #'text = #myClefSymbol

  c d e f | g a b c |
}
}



(I didn't create this solution; it was in my folder of useful snippets - I 
probably got it from this list or from LSR)


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


Re: old bass clef

2008-02-19 Thread Tim Reeves
Well done, Valentin!
Another Inkscape convert (Trevor D.)!

Lilypond and Inkscape are my two favorite open source applications.
(In that order, of course ;-)


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


Re: ANN: LilyKDE, tool to work with LilyPond in KDE

2008-02-19 Thread Thomas Spuhler
On Wednesday 13 February 2008, Larry Kent wrote:
> > > KDE easier. If you use KDE you might like it:
> > > http://lilykde.googlecode.com/
>
> The site says if you want to preview pdf files, you need KPDF, but there's
> no button (that I can see) for downloading that.  What am I missing? -LK
>
> Larry Kent
> Tampa FL
> [EMAIL PROTECTED]
>
> _
> Shed those extra pounds with MSN and The Biggest Loser!
> http://biggestloser.msn.com/

In Mandriva it's called kdegraphics-kpdf

$ rpm -qa |grep kpdf
kdegraphics-kpdf-3.5.7-8.1mdv2008.0


-- 
Thomas 


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


Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?

2008-02-19 Thread Han-Wen Nienhuys
2008/2/19, Nicolas Sceaux <[EMAIL PROTECTED]>:

> +LY_DEFINE (ly_score_set_header_x, "ly:score-set-header!",
> +  2, 0, 0, (SCM score, SCM module),
> +  "Set the score header.")
> +{
> +  LY_ASSERT_SMOB (Score, score, 1);
> +  SCM_ASSERT_TYPE (ly_is_module (module), module, SCM_ARG2,
> __FUNCTION__,
> +  "module");
> +
> +  Score *sc = unsmob_score (score);
> +  return sc->get_header ();
>   }
>
>
> Shoudn't ly:score-set-header! actually set the header, rather than
> returning it?

ah yes, a cut & paste error.


-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?

2008-02-19 Thread Han-Wen Nienhuys
2008/2/19, Reinhold Kainhofer <[EMAIL PROTECTED]>:

> Thanks for adding these bindings. However, should ly:score-header always
> return a header module, or do I have to create the header module myself? For

It's inited as empty, so you will need to do (ly:score-set-header!
score (make-module ... ))
in .41

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Special symbols in tabulature

2008-02-19 Thread Marc Hohl
Hello,

After years of typesetting guitar music with MusiXTeX, I finally switched to 
Lilypond (2.10.5, which comes with ubuntu feisty). Now (nearly) everything 
works fine, but there are two related problems with tabulature:

1) How can I put a symbol instead of the fret number in the tabulature?
Sometimes a "x" denotes that a string is plucked with no definite pitch, or I 
use brackets to indicate a harmonic: <5> (the number needn't to be calculated 
by lilypond, because the relationship between the fret number and the 
resultig note is not linear; even fractional frets like <2.6> for the sixth 
harmonic of a string are used in tabbing guitar scores).

2) How can I put a symbol in the middle between two tab numbers, without 
influencing the spacing? For example, there are many possibilities to connect 
two notes, like "hammer on", "pull off, "slide" etc., which I want to mark 
not with a slur in the tabulature, but with one or two letters:

-10-p-8-
---5-h-7---4-sl-5---


I searched the manual and the LSR, but I dind't find any hints.

Thanks for any suggestions,

Marc
-- 

www.hohlart.de


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