Variable line thicknesses in LilyPond 2.13/2.14 ?

2011-04-04 Thread Paul Morris

I saw this in the new features list for LilyPond 2.13/14:

"Aesthetics of shape note heads have been enhanced. Variable line thicknesses
have been implemented. [...]"

I am curious what "variable line thicknesses" means here? Does it mean you can 
set the thickness of individual staff lines, or something else?

Thanks,
-Paul


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


Re: Trill notation with fingering

2011-04-04 Thread Javier Ruiz-Alma

On Apr 4, 2011, at 5:23 PM, Javier Ruiz-Alma wrote:

>
>
>>>On Apr 3, 2011, at 7:31 PM, Javier Ruiz-Alma wrote:
>>>
>>>Any ideas as to how best to approximate the trill plus fingering notiation 
>>>as 
>>>shown in this image?
The closest I can get is:

a2.\trill^markup{\finger "3 2"}

However, this doesn't show the cap over the digits, plus lilypond seems to 
always try to display the "tr" symbol at the very top, no matter what order 
the 
modifiers are listed after the note.

Thx, 
Javier___

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

>>>
>>>Just realized that this is better...
>>>
>>>
>>>#(define-markup-command (up-tied-lyric layout props a b)
>>>  (markup? markup?)
>>>  (let*
>>>          ((tie-str (ly:wide-char->utf-8 #x2040))
>>>           (joined  (list-join `(,a ,b) tie-str))
>>>           (join-stencil (interpret-markup layout props tie-str))
>>>           )
>>>
>>>
>>>        (interpret-markup layout
>>>                          (prepend-alist-chain
>>>                           'word-space
>>>                           (/ (interval-length (ly:stencil-extent 
>>>join-stencil 
>>>X)) -3.5)
>>>                           props)
>>>                          (make-line-markup joined
>>>
>>>
>>>
>>>
>>>{ \once \override Staff . Script #'outside-staff-priority = #0
>>>a'2.\trill^\markup{ \up-tied-lyric \finger 3 \finger 2 }}
>>>
>>>
>>>
>>>
>>>Cheers,
>>>Mike
>>>


>>>Wow, Thank You Mike!
>>> 
>>>
>>>Attached is my first try with your code.  I improvised the following to 
>>>reduce 
>>>the space between digits, with bad results:
>>>\markup{ \up-tied-lyric \finger "43" }
>>>I don't know anything about custom commands (yet), so I suspect it fails is 
>>>because your command is expecting two arguments.  Let me know if there's 
>>>anything I can tweak to improve the distance between the digits or 
>>>horizontal 
>>>positioning of the cap/tie.
>>>
>
>>#(define-markup-command (up-tied-lyric layout props a b factor)
>>  (markup? markup? number?)
>>  (let*
>>          ((tie-str (ly:wide-char->utf-8 #x2040))
>>           (joined  (list-join `(,a ,b) tie-str))
>>           (join-stencil (interpret-markup layout props tie-str))
>>           )
>>
>>        (interpret-markup layout
>>                          (prepend-alist-chain
>>                           'word-space
>>                           (/ (interval-length (ly:stencil-extent 
>>join-stencil 
>>X)) factor)
>>                           props)
>>                          (make-line-markup joined
>>
>>
>>{ \once \override Staff . Script #'outside-staff-priority = #0
>>a'2.\trill^\markup{ \up-tied-lyric \finger 3 \finger 2 #-2.75 }}
>>
>>
>>Alternatively, if you want to hardcode a value instead of passing the 
>>function a 
>>value every time, you can just use the code I sent you before but replace the 
>>-3.5 with whatever value you want hardcoded in there.
>>
>>
>>Cheers,
>>MS
>>


>>Mike,
>>My thanks again for the custom tweak.  I need to test more, see if there's an 
>>offset value that may improve centering of that tie/cap.
>>The command to override lilypond's default placement of the trill sign on top 
>>was really valuable to my project.
>>Attached are a couple samples. I'm thinking this notation with a dash is 
>>readable (i.e. trill with fingers 4&3 on one, and the other is hold one note 
>>with finger 2 while trilling the other note with 4&3 for the duration of the 
>>notes).
>>Rgds,Javier

>Hey Javier,
>
>
>I don't see the attachment, but I'm glad it helped!
>
>
>Cheers,
>Mike

The dash looks like a prolongation of the "4" symbol - I'd suggest finding a 
replacement for the dash (ie a bullet point) or shifting the dash up.  But 
that's just a taste thing.

Cheers,
Mike



Hi Mike,
Thanks for not letting me give up on this. I tried the following notation using 
the upper tie character you originally proposed and adjusting horiz. space to 
bring them together:
{
\once \override Staff.Script #'outside-staff-priority = #0
f2.\trill^\markup{\finger{ \concat{ "4" \hspace #-0.5 \char ##x2040 \hspace 
#-0.5 "3"}}}
}
This may be a winner...check the images.   I got a greater appreciation for 
lilypond and I learned about notation.
Rgds, Javier<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Trill notation with fingering

2011-04-04 Thread Javier Ruiz-Alma


From: "m...@apollinemike.com" 
To: Javier Ruiz-Alma 
Sent: Mon, April 4, 2011 2:25:58 PM
Subject: Re: Trill notation with fingering


On Apr 4, 2011, at 5:23 PM, Javier Ruiz-Alma wrote:
>
>
>>>On Apr 3, 2011, at 7:31 PM, Javier Ruiz-Alma wrote:
>>>
>>>Any ideas as to how best to approximate the trill plus fingering notiation 
>>>as 
>>>shown in this image?
The closest I can get is:

a2.\trill^markup{\finger "3 2"}

However, this doesn't show the cap over the digits, plus lilypond seems to 
always try to display the "tr" symbol at the very top, no matter what order 
the 
modifiers are listed after the note.

Thx, 
Javier___

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

>>>
>>>Just realized that this is better...
>>>
>>>
>>>#(define-markup-command (up-tied-lyric layout props a b)
>>>  (markup? markup?)
>>>  (let*
>>>          ((tie-str (ly:wide-char->utf-8 #x2040))
>>>           (joined  (list-join `(,a ,b) tie-str))
>>>           (join-stencil (interpret-markup layout props tie-str))
>>>           )
>>>
>>>
>>>        (interpret-markup layout
>>>                          (prepend-alist-chain
>>>                           'word-space
>>>                           (/ (interval-length (ly:stencil-extent 
>>>join-stencil 
>>>X)) -3.5)
>>>                           props)
>>>                          (make-line-markup joined
>>>
>>>
>>>
>>>
>>>{ \once \override Staff . Script #'outside-staff-priority = #0
>>>a'2.\trill^\markup{ \up-tied-lyric \finger 3 \finger 2 }}
>>>
>>>
>>>
>>>
>>>Cheers,
>>>Mike
>>>


>>>Wow, Thank You Mike!
>>> 
>>>
>>>Attached is my first try with your code.  I improvised the following to 
>>>reduce 
>>>the space between digits, with bad results:
>>>\markup{ \up-tied-lyric \finger "43" }
>>>I don't know anything about custom commands (yet), so I suspect it fails is 
>>>because your command is expecting two arguments.  Let me know if there's 
>>>anything I can tweak to improve the distance between the digits or 
>>>horizontal 
>>>positioning of the cap/tie.
>>>
>
>>#(define-markup-command (up-tied-lyric layout props a b factor)
>>  (markup? markup? number?)
>>  (let*
>>          ((tie-str (ly:wide-char->utf-8 #x2040))
>>           (joined  (list-join `(,a ,b) tie-str))
>>           (join-stencil (interpret-markup layout props tie-str))
>>           )
>>
>>        (interpret-markup layout
>>                          (prepend-alist-chain
>>                           'word-space
>>                           (/ (interval-length (ly:stencil-extent 
>>join-stencil 
>>X)) factor)
>>                           props)
>>                          (make-line-markup joined
>>
>>
>>{ \once \override Staff . Script #'outside-staff-priority = #0
>>a'2.\trill^\markup{ \up-tied-lyric \finger 3 \finger 2 #-2.75 }}
>>
>>
>>Alternatively, if you want to hardcode a value instead of passing the 
>>function a 
>>value every time, you can just use the code I sent you before but replace the 
>>-3.5 with whatever value you want hardcoded in there.
>>
>>
>>Cheers,
>>MS
>>


>>Mike,
>>My thanks again for the custom tweak.  I need to test more, see if there's an 
>>offset value that may improve centering of that tie/cap.
>>The command to override lilypond's default placement of the trill sign on top 
>>was really valuable to my project.
>>Attached are a couple samples. I'm thinking this notation with a dash is 
>>readable (i.e. trill with fingers 4&3 on one, and the other is hold one note 
>>with finger 2 while trilling the other note with 4&3 for the duration of the 
>>notes).
>>Rgds,Javier

>Hey Javier,
>
>
>I don't see the attachment, but I'm glad it helped!
>
>
>Cheers,
>Mike

The dash looks like a prolongation of the "4" symbol - I'd suggest finding a 
replacement for the dash (ie a bullet point) or shifting the dash up.  But 
that's just a taste thing.

Cheers,
Mike



Hi Mike,
Thanks for not letting me give up on this. I tried the following notation using 
the upper tie character you originally proposed and adjusting horiz. space to 
bring them together:
{
\once \override Staff.Script #'outside-staff-priority = #0
f2.\trill^\markup{\finger{ \concat{ "4" \hspace #-0.5 \char ##x2040 \hspace 
#-0.5 "3"}}}
}
This may be a winner...check the images.   I got a greater appreciation for 
lilypond and I learned about notation.
Rgds, Javier___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: again, full score layout problem

2011-04-04 Thread 胡海鹏 - Hu Haipeng
Thanks. I don't know whether Lilypond can accomplish the result like this:
http://imslp.org/wiki/6_Pieces_for_Large_Orchestra,_Op.6_(Webern,_Anton
  This is a real publishable layout, since there are no white spaces on the 
pages. I mentioned it in my post "irregula French Score".

Haipeng

 



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


Re: problem with OS X 10.6.7 and Lily-PDFs

2011-04-04 Thread James Lowe
hello

.

On 4 Apr 2011, at 22:52, "Damian leGassick"  wrote:

> running onyx plus reboot has fixed this for me
> 
> d

any particular operations or did you just clear/run everything?

James

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


Re: Trill notation with fingering

2011-04-04 Thread Javier Ruiz-Alma


On Apr 3, 2011, at 7:31 PM, Javier Ruiz-Alma wrote:
>
>Any ideas as to how best to approximate the trill plus fingering notiation as 
>shown in this image?
>>The closest I can get is:
>>
>>a2.\trill^markup{\finger "3 2"}
>>
>>However, this doesn't show the cap over the digits, plus lilypond seems to 
>>always try to display the "tr" symbol at the very top, no matter what order 
>>the 
>>modifiers are listed after the note.
>>
>>Thx, 
>>Javier___
>>
>>lilypond-user mailing list
>>lilypond-user@gnu.org
>>http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>Just realized that this is better...
>
>
>#(define-markup-command (up-tied-lyric layout props a b)
>  (markup? markup?)
>  (let*
>          ((tie-str (ly:wide-char->utf-8 #x2040))
>           (joined  (list-join `(,a ,b) tie-str))
>           (join-stencil (interpret-markup layout props tie-str))
>           )
>
>
>        (interpret-markup layout
>                          (prepend-alist-chain
>                           'word-space
>                           (/ (interval-length (ly:stencil-extent join-stencil 
>X)) -3.5)
>                           props)
>                          (make-line-markup joined
>
>
>
>
>{ \once \override Staff . Script #'outside-staff-priority = #0
>a'2.\trill^\markup{ \up-tied-lyric \finger 3 \finger 2 }}
>
>
>
>
>Cheers,
>Mike
>


>Wow, Thank You Mike!
> 
>
>Attached is my first try with your code.  I improvised the following to reduce 
>the space between digits, with bad results:
>\markup{ \up-tied-lyric \finger "43" }
>I don't know anything about custom commands (yet), so I suspect it fails is 
>because your command is expecting two arguments.  Let me know if there's 
>anything I can tweak to improve the distance between the digits or horizontal 
>positioning of the cap/tie.
>

#(define-markup-command (up-tied-lyric layout props a b factor)
  (markup? markup? number?)
  (let*
          ((tie-str (ly:wide-char->utf-8 #x2040))
           (joined  (list-join `(,a ,b) tie-str))
           (join-stencil (interpret-markup layout props tie-str))
           )

        (interpret-markup layout
                          (prepend-alist-chain
                           'word-space
                           (/ (interval-length (ly:stencil-extent join-stencil 
X)) factor)
                           props)
                          (make-line-markup joined


{ \once \override Staff . Script #'outside-staff-priority = #0
a'2.\trill^\markup{ \up-tied-lyric \finger 3 \finger 2 #-2.75 }}


Alternatively, if you want to hardcode a value instead of passing the function 
a 
value every time, you can just use the code I sent you before but replace the 
-3.5 with whatever value you want hardcoded in there.

Cheers,
MS



Mike,
My thanks again for the custom tweak.  I need to test more, see if there's an 
offset value that may improve centering of that tie/cap.
The command to override lilypond's default placement of the trill sign on top 
was really valuable to my project.
Attached are a couple samples. I'm thinking this notation with a dash is 
readable (i.e. trill with fingers 4&3 on one, and the other is hold one note 
with finger 2 while trilling the other note with 4&3 for the duration of the 
notes).
Rgds,Javier___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: problem with OS X 10.6.7 and Lily-PDFs

2011-04-04 Thread Damian leGassick
running onyx plus reboot has fixed this for me

d


On 1 Apr 2011, at 09:30, Frauke Jurgensen wrote:

> This has happened to me in the past, and the problem goes away
> completely with a re-boot.
> 
> On Fri, Apr 1, 2011 at 8:49 AM, Jan-Peter Voigt  wrote:
>> Hello James,
>> 
>> thanks for your reply.
>> With the ats-rebuild still some things aren't right. If I randomly pick and
>> print a page out of my current work with preview, there are still some
>> things bad: The time-signature is still in some other font and the footer is
>> mashed up onto the page.
>> If I print the same page with skim, everything is fine. (thats the way, I
>> will do from now on ;-) )
>> 
>> cheers,
>> Jan-Peter
>> 
>> 
>> On 31.03.2011 23:43, James Lowe wrote:
>>> 
>>> hello,
>>> 
>>> James.
>>> 
>>> On 31 Mar 2011, at 22:08, "Patrick Karl"  wrote:
>>> 
> Message: 3
> Date: Thu, 31 Mar 2011 13:21:09 +0200
> From: Jan-Peter Voigt
> Subject: problem with OS X 10.6.7 and Lily-PDFs
> To: lilypond-user Mailinglist
> Message-ID:<4d9463a5.1000...@gmx.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hello List,
> 
> I installed Mac OSX 10.6.7 and now am unable to print my beautiful
> sheets from my mac! It seems to be related to a font problem in the last
> security update: http://www.tidbits.com/article/12078
> Luckily I work on Ubuntu and can print from there ...
> 
> Sorry for this off topic message, but I know, there are a lot mac users
> in this community ;-)
> 
> Cheers,
> Jan-Peter
 
 I also have this problem with Preview 5.0.3 under OSX 10.6.7.  Missing
 are noteheads, repeats, rests, accidentals, articulations.  All that's left
 is staves, stems, beams, and slurs, for the most part.
 
>>> well you could try the following.
>>> 
>>> 1. close all apps
>>> 2. open terminal.app
>>> 3. now type
>>> 
>>>  atsutil databases -removeUser
>>> 
>>> hit return
>>> 
>>> then type
>>> 
>>>  atsutil server -shutdown
>>> 
>>> then hit return
>>> 
>>> now type
>>> 
>>>  atsutil server -ping
>>> 
>>> This restarts the ats server and rebuilds the font cache.
>>> 
>>> I suggest a reboot for good measure.
>>> 
>>> See if that helps.
>>> 
>>> James
>>> ___
>>> 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


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


Re: Lute tablature

2011-04-04 Thread Federico Bruni
Il giorno lun, 04/04/2011 alle 22.40 +0200, Federico Bruni ha scritto:
> Il giorno lun, 04/04/2011 alle 18.02 +0100, Trevor Daniels ha scritto:
> > Not sure which particular discussion you have in mind,
> > but I did have the intention of implementing ancient
> > lute tab after seeing the beautiful scores produced by
> > Fronimo. 
> 
> you started a thread on the tablature mailing list ;-)
> 
> http://lilypond-s-support-for-tablatures.3383434.n2.nabble.com/Baroque-lute-tablature-td4008032.html
>  


there is also an issue on the tracker:
http://code.google.com/p/lilypond/issues/detail?id=865 

and a link to the original discussion in lilypond-user ml


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


Re: Lute tablature

2011-04-04 Thread Federico Bruni
Il giorno lun, 04/04/2011 alle 18.02 +0100, Trevor Daniels ha scritto:
> Not sure which particular discussion you have in mind,
> but I did have the intention of implementing ancient
> lute tab after seeing the beautiful scores produced by
> Fronimo. 

you started a thread on the tablature mailing list ;-)

http://lilypond-s-support-for-tablatures.3383434.n2.nabble.com/Baroque-lute-tablature-td4008032.html
 


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


Re: Lute tablature

2011-04-04 Thread Trevor Daniels


northofscotland wrote Monday, April 04, 2011 3:36 PM

Looking through the mailing lists for a couple of years ago, there 
was some
discussion about implementing lute tablature for Lilypond.  Did 
anything

ever come of this?


Not sure which particular discussion you have in mind,
but I did have the intention of implementing ancient
lute tab after seeing the beautiful scores produced by
Fronimo.  Here's an example:
http://www.mateus-lutes.com/tablature/barbe_egautier.pdf
and here's the Fronimo site:
http://www.theaterofmusic.com/fronimo/

Unfortunately I only got as far as implementing fret
letters before I had to stop due to a problem I
developed with RSI in my wrist.  Maybe one day ...

Trevor





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


Re: \set - \override #(set

2011-04-04 Thread Janek Warchoł
Hi,

2011/3/26 Damian leGassick :
> Hi all
>
> I've been using lilypond for years but I still can't figure out the rationale 
> for
>
> e.g.
>
> bar numbers - why us it:
>
> \override Score.BarNumber #'break-visibility blah (note capital B)
>
> but
>
> \set Score.currentBarNumber #blah (note camelCase)
>
> and why #(set-accidental-style etc
>
> and not
>
> \set Score.accidentalStyle or even \set Score.Accidental style

I'd say that's because we didn't have GLISS yet.
(http://lilypond.org/doc/v2.13/Documentation/contributor/grand-lilypond-input-syntax-standardization-_0028gliss_0029)
;p
cheers,
Janek

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


Alignment of text mark in a function

2011-04-04 Thread Ed Gordijn

Hi,

Last week a posted a request (see "Adding text to rehearsal marks") for 
help but so far didn't get any response. Therefore I decided to split 
the problem in pieces, starting with the alignment of text marks.


I want to print a mark that consist of a rehearsal mark and a text and 
want to align it on the center of the rehearsal mark. I know how I would 
this manually:


\once \override Score.RehearsalMark #'self-alignment-X = #-0.83
\mark \markup { \bold { \box "10" \normalsize "Theme from 007" }}

But I want this in a function so I could use it with other text and marks.

I worked out two options. The first option (IIa in the script) is the 
manual approach. This works fine but although I know how to calculate 
the override value in a markup script I don't know how I should get the 
result in the override. Is that possible?


Option IIb is something that I got from a snippet about centering 
Dynamics (see http://old.nabble.com/dynamic-alignment-td3095.html 
). It works 
almost, but doesn't behave as I would expect when the mark is aligned on 
the clef. Can that be solved?


Greetings, Ed
\version "2.13.54"
#(ly:set-option 'debug-skylines)

BoxMarkTextIIa = #(define-music-function (parser location MarkText AddText 
x-align) (string? string? number?)
#{
\once \override Score.RehearsalMark #'self-alignment-X = #$x-align
\mark \markup { \bold { \box $MarkText \normalsize $AddText }}
#})

#(define-markup-command (center-at-markIIb layout props mark text) (string? 
string?)
"x-align on the center of the rehaersal mark"
(let* (
(txt (markup #:normal-text #:bold #:normalsize #:concat (" " text)))

(txt-stencil  (interpret-markup layout props txt))
(txt-x-ext(ly:stencil-extent txt-stencil X))
(txt-width(- (cdr txt-x-ext)(car txt-x-ext)))

(mrk (markup #:normal-text #:box #:bold mark))

(mrk-stencil (interpret-markup layout props mrk))
(mrk-x-ext (ly:stencil-extent mrk-stencil X))
(mrk-width (- (cdr mrk-x-ext)(car mrk-x-ext)))

(x-align (- (/ mrk-width (+ txt-width mrk-width)) 1 ))
)

(interpret-markup layout props
(markup #:halign x-align #:concat (mrk txt)))
))

BoxMarkTextIIb = #(define-music-function (parser location MarkText AddText) 
(string? string?)
#{
% Alternative using \halign within the markup
% \halign only has effect if X-offset is set to #0
\once \override Score.RehearsalMark #'X-offset = #0
\mark \markup { \center-at-markIIb #$MarkText #$AddText }
#})


\score {
\relative c'' {

\clef "G"
\key c \major
\time 4/4

% Option IIa, an override before the markup works as expected
% I could calulate the value for x-align with a markup script but how do I 
get the resul
% in the override?
\BoxMarkTextIIa #"10" #"Theme from 007" #-0.83
c1 \bar "||"
e( f) \BoxMarkTextIIa #"11" #"Theme from 007" #-0.83
g( e) \break

% Option IIb, /halign inside the markup.
% Makes it possible to calculate the value for x-align inside a markup 
script.
% But, setting X-offset to "0" leads to misalignment on the clef. See mark 
12.
\BoxMarkTextIIb #"12" #"Theme from 007"
c1 \bar "||"
e( f) \BoxMarkTextIIb #"13" #"Theme from 007"
g( e)
  }
}

\layout{
indent = 0
ragged-right = ##t

\context {
\Staff
\remove "Time_signature_engraver" }
}
%%% end of example

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


Re: Lute tablature

2011-04-04 Thread Éditions IN NOMINE

Hi !
Oh yes there are a few things about that. I did, in ancient time, 
suggest a template in french here : 
http://lists.gnu.org/archive/html/lilypond-user-fr/2010-08/msg00158.html.


But there are a lot of work around this !
Best regards.

JMarc

northofscotland a écrit :

Looking through the mailing lists for a couple of years ago, there was some
discussion about implementing lute tablature for Lilypond.  Did anything
ever come of this?
  


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


Re: Lute tablature

2011-04-04 Thread Janek Warchoł
2011/4/4 northofscotland :
>
> Looking through the mailing lists for a couple of years ago, there was some
> discussion about implementing lute tablature for Lilypond.  Did anything
> ever come of this?

I don't know much about tabulatures (is lute tab substantially
different than guitar tab?), but LilyPond's support of tabulatures is
flexible. Setting custom number of strings and a custom tuning is
possible, see NR 2.4.1
http://lilypond.org/doc/v2.13/Documentation/notation/common-notation-for-fretted-strings#custom-tablatures
. Adding more tunings is certainly possible. I remember there was a
thread about it some time ago.

cheers,
Janek

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


Re: How to thing a staff's lines

2011-04-04 Thread Janek Warchoł
2011/4/4 Dmytro O. Redchuk :
> On Mon 04 Apr 2011, 16:22 胡海鹏 - Hu Haipeng wrote:
>> Hello,
>>   I find the culprit for my score. The staff lines are thick,
>> and when the staff size is reduced to 10, the space between two staff lines 
>> is very few.
>> How to make the staff lines thinner? My mother saw many Finale scores
>> published by our People's Music Publishing are very clear,
>> and some pocket scores have the same feature.
>
> You can do that with StaffSymbol's 'thickness property.
>
> However, Lilypond makes small objects _relatively thicker_ for better
> readability (like different character widths for different font sizes for
> ComputerModern font, for example -- sorry, i couldn't find better example).
>
> I can believe that an eye, "trained by Finale", will see Lilypond's output as
> "far too thick", but Lilypond does that intentionally, for readability's sake.

I'm tempted to say that LilyPond thickens the staff lines too aggresively.
However, i cannot be sure unless i do some testing, and for that i'd
need some good quality printer (i only have medium quality printer
available - resolution is too low for such tests).
Eh... another thing on my (already too ling) lily-todo list...

cheers,
Janek

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


Lute tablature

2011-04-04 Thread northofscotland

Looking through the mailing lists for a couple of years ago, there was some
discussion about implementing lute tablature for Lilypond.  Did anything
ever come of this?
-- 
View this message in context: 
http://old.nabble.com/Lute-tablature-tp31315089p31315089.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: How to define the names of separate \book output files

2011-04-04 Thread Patrick Schmidt

Am 04.04.2011 um 15:40 schrieb Dmytro O. Redchuk:

> On Mon 04 Apr 2011, 15:22 Patrick Schmidt wrote:
>> Hi all,
>> 
>> I'm using several \book blocks in one .ly file. This results as
>> expected/desired in several output files such as foo.pdf, foo-1.pdf,
>> foo-2.pdf, etc. Is there a way to define the name of the output files in the
>> .ly file? Thus it wouldn't be necessary to rename the output files to
>> something like "complete-score.pdf", "instrument1.pdf", "instrument2.pdf",
>> etc.
>> 
>> Thanks for any hint!
> 
> NR, "3.1.4 Output file names" ?
Thanks a lot! I obviously missed this section. Sorry for that.
> 
> -- 
>  Dmytro O. Redchuk
>  Bug Squad


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


Re: Instantiating temporary staves with text

2011-04-04 Thread Janek Warchoł
2011/4/4 Brent Annable :
> Hello everybody,
>
> I'm currently trying to produce a piece that is mostly on two staves, but at
> the end splits briefly into four staves and then back into two. I'm doing it
> by adding the extra staves to the top staff for those few bars and forcing
> line breaks so that it looks neat on the page. Everything goes fine until I
> try to add lyrics to the third line from the top (the line with the tenor
> clef) - using the \addlyrics command makes everything go haywire - the
> lyrics appear below the bass staff, staves cut off mid-page and the last
> section of the melody turns into chords instead of single notes. Commenting
> out the line of lyrics code fixes everything again, so as far as I can see
> it's purely the addition of the lyrics that causes the problem.

Just off the top of my head - you may try explicitly naming all
contexts involved, and use \new Lyrics with \lyricsto instead of
\addlyrics (which is, i suppose, generally designed as a shortcutto be
used with very straightforward music).
Explicit naming of contexts gives you clear view of what's happening there.

hth,
Janek

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


Re: How to define the names of separate \book output files

2011-04-04 Thread Dmytro O. Redchuk
On Mon 04 Apr 2011, 15:22 Patrick Schmidt wrote:
> Hi all,
> 
> I'm using several \book blocks in one .ly file. This results as
> expected/desired in several output files such as foo.pdf, foo-1.pdf,
> foo-2.pdf, etc. Is there a way to define the name of the output files in the
> .ly file? Thus it wouldn't be necessary to rename the output files to
> something like "complete-score.pdf", "instrument1.pdf", "instrument2.pdf",
> etc.
> 
> Thanks for any hint!

NR, "3.1.4 Output file names" ?

-- 
  Dmytro O. Redchuk
  Bug Squad

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


How to define the names of separate \book output files

2011-04-04 Thread Patrick Schmidt
Hi all,

I'm using several \book blocks in one .ly file. This results as 
expected/desired in several output files such as foo.pdf, foo-1.pdf, foo-2.pdf, 
etc. Is there a way to define the name of the output files in the .ly file? 
Thus it wouldn't be necessary to rename the output files to something like 
"complete-score.pdf", "instrument1.pdf", "instrument2.pdf", etc.

Thanks for any hint!
patrick
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Instantiating temporary staves with text

2011-04-04 Thread Phil Holmes
In my opinion, the simplest way to do this is to use the following:

\layout {
  \context {
\RemoveEmptyStaffContext
\override VerticalAxisGroup #'remove-first = ##t
  }
}

which gets rid of staves with no information in them, and then fill the staves 
with Whole Measure Rests (WMRs) except where you have the music.  A couple of 
line beaks to get the right line length, and you're done.

You can put multiple WMRs in one piece of notation by writing R1*x/y*z, where 
x/y is the time signature, and z the number of WMRs you want.

--
Phil Holmes


  - Original Message - 
  From: Brent Annable 
  To: lilypond-user@gnu.org 
  Sent: Monday, April 04, 2011 1:49 PM
  Subject: Instantiating temporary staves with text


  Hello everybody,

  I'm currently trying to produce a piece that is mostly on two staves, but at 
the end splits briefly into four staves and then back into two. I'm doing it by 
adding the extra staves to the top staff for those few bars and forcing line 
breaks so that it looks neat on the page. Everything goes fine until I try to 
add lyrics to the third line from the top (the line with the tenor clef) - 
using the \addlyrics command makes everything go haywire - the lyrics appear 
below the bass staff, staves cut off mid-page and the last section of the 
melody turns into chords instead of single notes. Commenting out the line of 
lyrics code fixes everything again, so as far as I can see it's purely the 
addition of the lyrics that causes the problem. 

  I've reproduced the last few systems in a minimum (!) example to demonstrate, 
but because there's still a lot of formatting I've included the files as 
attachments. I hope that's OK. The only difference between the -right and 
-wrong .txt files is the commenting out of the \addlyrics command for the tenor 
staff.

  I guess my question is: am I doing something wrong? Or is there a better way 
to do instantiate temporary staves than this?

  Thanks for any help,

  Brent.



--


  ___
  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: Re:Re: How to thing a staff's lines

2011-04-04 Thread Trevor Daniels


James Lowe wrote Monday, April 04, 2011 11:30 AM


Thanks. But I can't find the default value in the IR. Where's it?



Yes I cannot find it either

My route is this:

http://lilypond.org/doc/v2.13/Documentation/internals/staff_002dsymbol_002dinterface

Takes you to the starting point

and this links to

http://lilypond.org/doc/v2.13/Documentation/internals/staffsymbol

Which lists ' ledger-line-thickness' but not 'thickness'.

So it doesn't appear to be listed.


You haven't got to the end of the trail yet.  The properties listed
under a grob are just those that are set specifically for grobs of
that type.  The full list of properties which the grob might use
are listed in the interfaces supported by that object.  These are
listed at the bottom.  Try looking in staff-symbol-interface.

This process is explained in the Learning Manual.  See
http://lilypond.org/doc/v2.13/Documentation/learning/the-internals-reference-manual

Trevor



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


Re: again, full score layout problem

2011-04-04 Thread Janek Warchoł
Hi,

2011/4/4 胡海鹏 - Hu Haipeng 
>
> Again for the full score pagination. A professor first tried to read a4 
> version,
> and he must use a magnifying glass. I then compiled the a3 version
> (the link below, containing all score/parts/code/midi files).
> He said that it's actually not the problem of paper size,
> since many large scores are printed in just a4 but look very clear.
> I'm puzzled, since Lilypond always produce the most beautiful and clear music.
> Please check my full score, and tell me what' wrong with the appearance.
> http://www.darajan2.com/douban/Haipeng/Celebration%20Overture.zip

I'm not familiar with large orchestral scores (honestly i haven't see
any in real life, only some on computer), but i have an idea: there is
a lot of unused vertical space in the score you posted - almost all
pages have 20% or more whitespace at the bottom. What font size have
you used on that a4 version? I tried 11.5 and it worked quite well -
there is less unused vertical space compared to what you posted (of
course at the expense of page count).
Do you have some example of good LilyPond-made orchestral score, so we
can compare it to this overture?
Also there might be one more thing - beam width. Contrary to line
thickness, relative beam width doesn't change with font size: because
of that beams are less and less distinct from staff lines when font
size gets smaller.

Hope that helps,
Janek

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


RE: Re:Re: How to thing a staff's lines

2011-04-04 Thread James Lowe
Hello

From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On Behalf Of ??? 
- Hu Haipeng
Sent: 04 April 2011 09:52
To: Dmytro O. Redchuk
Cc: lilypond-user
Subject: Re:Re: How to thing a staff's lines

Thanks. But I can't find the default value in the IR. Where's it?

--

Yes I cannot find it either

My route is this:

http://lilypond.org/doc/v2.13/Documentation/internals/staff_002dsymbol_002dinterface

Takes you to the starting point 

and this links to

http://lilypond.org/doc/v2.13/Documentation/internals/staffsymbol

Which lists ' ledger-line-thickness' but not 'thickness'.

So it doesn't appear to be listed.

At least that is how I assume one would go about finding the value?

James


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


Re: Trill notation with fingering

2011-04-04 Thread m...@apollinemike.com

On Apr 3, 2011, at 11:42 PM, Javier Ruiz-Alma wrote:

> On Apr 3, 2011, at 7:31 PM, Javier Ruiz-Alma wrote:
> 
>> Any ideas as to how best to approximate the trill plus fingering notiation 
>> as shown in this image?
>> The closest I can get is:
>>  
>> a2.\trill^markup{\finger "3 2"}
>>  
>> However, this doesn't show the cap over the digits, plus lilypond seems to 
>> always try to display the "tr" symbol at the very top, no matter what order 
>> the modifiers are listed after the note.
>>  
>> Thx, Javier
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> Just realized that this is better...
> 
> #(define-markup-command (up-tied-lyric layout props a b)
>   (markup? markup?)
>   (let*
>   ((tie-str (ly:wide-char->utf-8 #x2040))
>(joined  (list-join `(,a ,b) tie-str))
>(join-stencil (interpret-markup layout props tie-str))
>)
> 
> (interpret-markup layout
>   (prepend-alist-chain
>'word-space
>(/ (interval-length (ly:stencil-extent 
> join-stencil X)) -3.5)
>props)
>   (make-line-markup joined
> 
> 
> { \once \override Staff . Script #'outside-staff-priority = #0
> a'2.\trill^\markup{ \up-tied-lyric \finger 3 \finger 2 }}
> 
> 
> Cheers,
> Mike
> Wow, Thank You Mike!
> 
>  
> Attached is my first try with your code.  I improvised the following to 
> reduce the space between digits, with bad results:
> 
> \markup{ \up-tied-lyric \finger "43" }
> 
> I don't know anything about custom commands (yet), so I suspect it fails is 
> because your command is expecting two arguments.  Let me know if there's 
> anything I can tweak to improve the distance between the digits or horizontal 
> positioning of the cap/tie.
> 
>  

#(define-markup-command (up-tied-lyric layout props a b factor)
  (markup? markup? number?)
  (let*
  ((tie-str (ly:wide-char->utf-8 #x2040))
   (joined  (list-join `(,a ,b) tie-str))
   (join-stencil (interpret-markup layout props tie-str))
   )

(interpret-markup layout
  (prepend-alist-chain
   'word-space
   (/ (interval-length (ly:stencil-extent join-stencil 
X)) factor)
   props)
  (make-line-markup joined


{ \once \override Staff . Script #'outside-staff-priority = #0
a'2.\trill^\markup{ \up-tied-lyric \finger 3 \finger 2 #-2.75 }}

Alternatively, if you want to hardcode a value instead of passing the function 
a value every time, you can just use the code I sent you before but replace the 
-3.5 with whatever value you want hardcoded in there.

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


Re: Extreme bad midi output in 2.13.57!!!

2011-04-04 Thread Werner LEMBERG

> Lilypond 2.13.57 outputs midi in a extreme bad manner! Please
> compile a piece you recently wrote, and you'll collapse when
> listening the result. All note values are messed up, and in
> orchestral score, all instruments start at the beginning, like a pan
> of boiling water!

I've reported this already to Jan (privately because I haven't had
time to prepare a small-sized example which exhibits the bug).


Werner

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


Re:Re: Extreme bad midi output in 2.13.57!!!

2011-04-04 Thread 胡海鹏 - Hu Haipeng
Calling, written in 2006.

 \version "2.13.7"

\header {
  tagline = ##f
  dedication = \markup { \bold "DEDICATED TO MY CLASSMATES IN THE COLLEGE FOR ADULTS" }
  title = \markup { \fontsize #2 "Calling" }
  composer = \markup { \fontsize #3 \bold "Hu Haipeng" }
  copyright = "© 2006, All Rights Reserved"
}

  upper = \relative c'' {
\clef treble \key fis \minor \time 2/2 \tempo 2=48
8\(^\markup { \column { \bold \italic "Andante Espressivo" \bold "Rubato Recitativo" } } 4.\) |
8\(<< { 16  } \\ { d,8 } >> 4.\) |
\time 3/2 8\( 4 8 2\)\arpeggio |
\time 5/4 << { 8\(  4\arpeggio a8\arpeggio fis4. ~ fis4\) } \\ { s4 cis8\arpeggio b 2.\arpeggio } >> |
\time 2/2 8\( 4.\) |
8\(^\markup { \bold \italic "Stretto Appasionato" }<< { b16 a\upmordent } \\ { 8 } >> 4.\) |
\time 5/4 << { 8\(  ^\markup { \bold \italic "Rit." }  fis16->\>\arpeggio e cis8 ~ cis2\)\!\fermata } \\ { s2 2.\arpeggio\fermata } >> |
\time 2/2 << { 8\(^\markup { \bold \italic "A Tempo" }b16 a fis4.\) } \\ { s2  } >> |
<< { 8\(^\markup { \bold \italic "Sostenuto" }b16->\arpeggio a fis4.\) } \\ { s2 \arpeggio } >> |
\time 3/2 << { a8->\(\>\arpeggio fis4.\)\! a8\(\>\arpeggio fis4. ~ fis2\)\!\fermata } \\ { 2\arpeggio 1\arpeggio } >> \bar "|."
  }

  lower = \relative c {
\clef bass \key fis \minor \time 2/2
8 4. |
82\arpeggio |
8 4 8 2\arpeggio |
8  4\arpeggio 2.\arpeggio |
8 4. |
82\arpeggio |
82.\arpeggio\fermata |
82 |
82->\arpeggio |
2\arpeggio 1\arpeggio\fermata \bar "|."
  }

  dynamics = {
s1\mf | s | s1. | s4\dim s4 s2.\!\p |
s1\mf\> | s | s2 s2.\!\f |
s1\mp | s4\< s4 s2\!\> | s2\p s1\pp |
  }

  \score {
\new PianoStaff <<
\set PianoStaff.connectArpeggios = ##t
  \new Staff = "upper" \upper
  \new Dynamics = "dynamics" \dynamics
  \new Staff = "lower" { \lower }
>>
\header {
  piece = \markup { \bold "Composed on April 26, 2006" }
}
\layout {
  \context {
\Staff
\consists Span_arpeggio_engraver
  }
}
  }

  \score {
\new PianoStaff <<
  \new Staff = "upper" << \upper \dynamics >>
  \new Staff = "lower" << \lower \dynamics >>
>>
\midi { }
  }

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


Re: Extreme bad midi output in 2.13.57!!!

2011-04-04 Thread Dmytro O. Redchuk
On Mon 04 Apr 2011, 16:48 胡海鹏 - Hu Haipeng wrote:
> Lilypond 2.13.57 outputs midi in a extreme bad manner! Please compile a
> piece you recently wrote, and you'll collapse when listening the result. All
> note values are messed up, and in orchestral score, all instruments start at
> the beginning, like a pan of boiling water!
Sorry, i can not see (hear) that for a couple of my scores. Everything is ok.

Could you please send a minimal example?

-- 
  Dmytro O. Redchuk
  Bug Squad

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


Re: Re: How to thing a staff's lines

2011-04-04 Thread Dmytro O. Redchuk
On Mon 04 Apr 2011, 16:52 胡海鹏 - Hu Haipeng wrote:
> Thanks. But I can't find the default value in the IR. Where's it?
"3.2.103 staff-symbol-interface":
http://lilypond.org/doc/v2.13/Documentation/internals/staff_002dsymbol_002dinterface

(this page is referenced from "3.1.101 StaffSymbol":
http://lilypond.org/doc/v2.13/Documentation/internals/staffsymbol )

% quote:
thickness (number)
Line thickness, generally measured in line-thickness. 
% end of quote.


So, #1 means "as thick as 1 staff line" :-)

Original 'line-thicknes will remain unmodified (as far as i understand) after
your override 'thickness for your StaffSymbol.

-- 
  Dmytro O. Redchuk
  Bug Squad

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


Re:Re: How to thing a staff's lines

2011-04-04 Thread 胡海鹏 - Hu Haipeng
Thanks. But I can't find the default value in the IR. Where's it?

Haipeng

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


Extreme bad midi output in 2.13.57!!!

2011-04-04 Thread 胡海鹏 - Hu Haipeng
Lilypond 2.13.57 outputs midi in a extreme bad manner! Please compile a 
piece you recently wrote, and you'll collapse when listening the result. All 
note values are messed up, and in orchestral score, all instruments start at 
the beginning, like a pan of boiling water!
Haipeng


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


Re: How to thing a staff's lines

2011-04-04 Thread Dmytro O. Redchuk
On Mon 04 Apr 2011, 16:22 胡海鹏 - Hu Haipeng wrote:
> Hello,
>   I find the culprit for my score. The staff lines are thick, and when the 
> staff size is reduced to 10, the space between two staff lines is very few. 
> How to make the staff lines thinner? My mother saw many Finale scores 
> published by our People's Music Publishing are very clear, and some pocket 
> scores have the same feature.
You can do that with StaffSymbol's 'thickness property.

{
 % this is the default value, i do believe:
 \override Staff.StaffSymbol #'thickness = #1
 c''1
}

However, Lilypond makes small objects _relatively thicker_ for better
readability (like different character widths for different font sizes for
ComputerModern font, for example -- sorry, i couldn't find better example).

I can believe that an eye, "trained by Finale", will see Lilypond's output as
"far too thick", but Lilypond does that intentionally, for readability's sake.

Probably, this behavior may be adjusted *for all* grobs, not StaffSymbol only,
but i don't know whether it is possible or not (i'd say it should be, but i am
not sure).

-- 
  Dmytro O. Redchuk
  Bug Squad

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


Re: compiling small PDFs

2011-04-04 Thread Francisco Vila
2011/4/4 flup2 :
> \paper {
>   paper-width = 85\mm  % largeur de la page
>   paper-height = 54\mm % hauteur de la page (taille du papier)
>   top-margin = 10\mm % distance entre le haut de la page et le premier
> titre
>   ragged-right = ##f
>   line-width = 7\cm
>   left-margin = 0.5\cm
> }

I suggest to add

  indent = 0

for greated control, and

  left-margin = (paper-width - line-width) divided by two.

to have same left- and right- margins, but you can now specify them
directly and let line-width to be computed automatically.


%%
\paper {
  indent = 0
  paper-width = 85\mm  % largeur de la page
  paper-height = 54\mm % hauteur de la page (taille du papier)
  top-margin = 10\mm % distance entre le haut de la page et le premier itre
  ragged-right = ##f
  % line-width = 7\cm
  left-margin = 2\cm
  right-margin = 2\cm
}
{ c' }
%%%
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


How to thing a staff's lines

2011-04-04 Thread 胡海鹏 - Hu Haipeng
Hello,
  I find the culprit for my score. The staff lines are thick, and when the 
staff size is reduced to 10, the space between two staff lines is very few. How 
to make the staff lines thinner? My mother saw many Finale scores published by 
our People's Music Publishing are very clear, and some pocket scores have the 
same feature.

Haipeng

 



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