Re: suggestion for articulate

2011-04-15 Thread Graham Percival
On Fri, Apr 15, 2011 at 12:54:53PM +1000, Peter Chubb wrote:
> David> A fixed ratio seems a mistake to me: like optical scaling of
> David> fonts, the ratio should depend on the length of the note as
> David> well as the speed of the piece.  And one does not want to have
> David> chords end early in one voice merely because the voice had a
> David> longer note starting the chord.
> 
> I agree, but that's really hard to implement.  Maybe if Grahame's
> virtual violinist can turn into a virtual orchestra, and interpret
> music properly (instead of just playing whatever Lilypond produces
> like a robotic MIDI player)  but I think that's a long way off.

Yes, it's a long way off.  I'm not intending to touch expressive
music performance at all in my PhD; rather, I'll make tools which
all humans to direct the computer's performance as easily as
possible.  (which may still not be very easy!)

The catch-phrase for this is "let machines do what machines are
good at; let humans do what humans are good at".  :)   Humans
aren't good at manually specifying physical parameters every 0.006
seconds, but they _are_ good at correcting the way that notes are
played (generally every 0.2 - 2.0 seconds, at least for monophonic
violin music).


As for other instruments: I'm hoping to get physical measurements
of a viola and cello during the summer.  It would be a blast to
work on other instruments (clarinet, oboe, horn), but that would
require physical modelling code for them.  At the moment, the only
open source code that I'm aware of for clarinet is STK... but as I
type this, I recall that although the STK string model uses an
algorithm from 1986, the clarinet one is 1998 or 2002.  So maybe
that's a feasible thing to investigate.

Cheers,
- Graham

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


Spacing figured bass and lyrics

2011-04-15 Thread Michael Käppler
> I'm not top posting

Hi all,
I've encountered a problem when trying to modify the distance
between a FiguredBass line and a Staff which is placed above.
If there are Lyrics attached to the Voice placed in the upper staff, 
setting a padding to the FiguredBass line has no effect.
Maybe I don't unterstand the way this is supposed to work, but I'm
confused.

See the following example:

\version "2.13.58"

notes = \repeat unfold 20 { a4 b c b }

text = \lyricmode {
  \repeat unfold 20 { bla bla bla bla }
}

numbers = \figuremode {
  \repeat unfold 20 { <3 5>4 <4 6> <_+> <7> }
}

\layout {
  \context {
\FiguredBass
\override VerticalAxisGroup #'nonstaff-unrelatedstaff-spacing #'padding = 
#20
\override VerticalAxisGroup #'staff-affinity = #DOWN
  }
}  

\score {
  <<
\new Voice = "one" \relative c'' \notes
\new Lyrics \lyricsto one \text %% Comment this out
\new FiguredBass \numbers
\new Staff { \clef bass \relative c \notes }
  >>
}

Many thanks for any advice,
Michael


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


Re: Add text to rehearsal mark

2011-04-15 Thread Ed Gordijn

Hi,

I more or less finished my music function. The result is added.
I didn't really solved the issues I addressed to the list but avoided 
them. Now I store the default format for the rehearsal mark in my own 
function "format-mark-default" so that I can use it in my music function 
RehearsalMarkWithText and can change back to the default after printing 
with RehearsalMark.


I still think that it should be possible to use the calculated value for 
the alignment directly so help on that point is appreciated.


Greetings, Ed

Op 01-04-11 13:57, Ed Gordijn schreef:

Hi,

I'am working on a music function that creates a rehearsal mark with
extra text added. It would be nice if the end result would be
something that would work as: \mark \default "text".
These are my first steps into the world of scheme, so I suppose that
some of my questions are rather basic.
The code below more or less works and shows what I am trying to
achieve but is not perfect at all! So, I need some help to solve the
drawbacks.

Here are the issues that need attention:
1 - I would like to use the current format for the rehearsal mark. Is
it possible to call/use the current Score.markFormatter and store the
mark in a markup-variable?
2 - Now I redefine the Score.markFormater with "/once /set" but
"/once" generates warnings. What is wrong?
3 - Is it possible to avoid the /set Score.markFormatter and use the
/mark /markup /center-at-mark directly?
 I could use [1] to retrieve the current mark and should increment
the counter: Score.rehearsalMark = Score.rehearsalMark + 1
4 - Allignment is ok but the extend is not correct, see the allignment
of the first rehearsal mark that moves up because of the second mark.
\version "2.13.39"
% #(ly:set-option 'debug-skylines)

#(define (format-mark-default mark context)
" Set the format for the RehearsalMark.
  From the manual: The file ‘scm/translation-functions.scm’ contains the 
definitions of format-mark-numbers
"
; Uncomment one of these options

; (format-mark-alphabet mark context)
; (format-mark-box-alphabet mark context)
; (format-mark-circle-alphabet mark context)

; (format-mark-letters mark context)
; (format-mark-box-letters mark context)
; (format-mark-circle-letters mark context)

; (format-mark-numbers mark context)
(format-mark-box-numbers mark context)
; (format-mark-circle-numbers mark context)
  
; (format-mark-barnumbers mark context)
; (format-mark-box-barnumbers mark context)
; (format-mark-circle-barnumbers mark context)
)

#(define-markup-command (center-at-mark layout props mark text x-align) 
(markup? string? number?)
" Markup command used in RehearsalMarkWithText
  Check the value of x-align and print the correct value when neccessary
"
(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-stencil  (interpret-markup layout props mark))
(mrk-x-ext(ly:stencil-extent mrk-stencil X))
(mrk-width(- (cdr mrk-x-ext)(car mrk-x-ext)))

(x-align-new  (- (/ mrk-width (+ txt-width mrk-width)) 1 ))
(x-dif(abs (- x-align-new x-align)))
(x-dif-markup (markup #:small (format "Change x-align to: ~5,2F" 
x-align-new)))
)

(interpret-markup layout props
(if (< x-dif 0.02)
(markup #:concat (mark txt))
;else
(markup #:with-color blue  #:box (#:column (x-dif-markup
#:with-color black #:concat (mark txt
)
)
))


RehearsalMarkWithText = #(define-music-function (parser location text x-align) 
(string? number?)
" Calculate the value for x-align inside a markup script and hint the user for 
the correct value.
  This a a manual solution that (in my opinion) shouldn't be neccessary.
  The format for the RehearsalMark is defined in the procedure: 
format-mark-default  
  
  text this is a string that is addded with a dividing space to the 
RehearsalMark
  x-align  this defines the alignment: -1 is left and +1 is right. Use -1 for 
your first call
   and the correct value will be printed near the RehearsalMark.
"
#{
% Redefine the Rehearsal mark
% \once does work but generates multiple warning.
\set Score.markFormatter = #(lambda (mark context)
(markup #:center-at-mark 
(format-mark-default mark context)$text $x-align))

\once \override Score.RehearsalMark #'self-alignment-X = #$x-align
\mark \default

% Revert to the original format: This doesn't work in here!
% Thats why I defined \RehearsalMark which is used instead of \mark \default
%\set Score.markFormatter = #format-mark-box-numbers

Re: getting a TextSpanner 'text

2011-04-15 Thread Graham Percival
On Thu, Apr 14, 2011 at 09:25:32AM -0600, Carl Sorensen wrote:
> 
> On 4/14/11 1:47 AM, "Graham Percival"  wrote:
> 
> > produces the following (with linebreaks and indents added).  I'm
> > really confused about the multiple "bound-details", the multiple
> > "left/right" inside each bound-details, etc.  How can I make sure I
> > get the bound-details that I want, without using plain old (car ...) ?
> 
> The correct bound-details is the first one (overrides are prepended; the old
> values are not removed).
> 
> The proper way to do it is something like
> 
> (let* ((spanner-props (ly:context-property context 'TextSpanner))
>(details (assoc-get 'bound-details spanner-props '()))

huh, I had no idea how alists worked.

I finally went and skimmed the Extending manual, and discovered
chain-assoc-get.  The above code doesn't work (it returns the
wrong set of 'bound-details), but it works with chain-assoc-get.

Thanks for pointing me in the right direction, Carl!

Cheers,
- Graham

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


Re: Stacked markup problem

2011-04-15 Thread Phil Holmes
- Original Message - 
From: "-Eluze" 

To: 
Sent: Thursday, April 14, 2011 10:10 PM
Subject: Re: Stacked markup problem





Jesse Engle-3 wrote:


I took the time to check out a copy of the development source from the
repository and everything compiled and installed fine. The stickings
were displayed in the correct order as you said, but now there's an
entirely separate problem: the accents are now much lower than they
should be. The example I used previously illustrates this:

\version "2.13.60"


\new DrumStaff \new DrumVoice \drummode {
   \stemUp
   sn4:16_"L"_"R" ~ sn4->_"L"_"R"
   sn4:16_"R"_"L" ~ sn4->_"R"_"L"
}


indeed - prior to 2.13.10 it used to be right below the notehead and not
under the staff.



FWIW Elaine Gould's book says that accents should be outside the staff, so 
2.13 is getting this right, albeit at the expense of messing up sticking 
instructions.


--
Phil Holmes



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


Re: Using the "articulate.ly" script AND getting nice-looking engraved output - how to

2011-04-15 Thread Graham Percival
On Fri, Apr 15, 2011 at 12:18:58AM -0600, Tom Cloyd wrote:
>OK - I visited the Lilypond website and tried to figure out how to post to
>some documentation discussion list I thought existed. That left me
>confused and without options, so I'm back here. The best I can do is offer
>a first draft rewrite here, and know that those better informed than I
>will know what to do with it.

This email looks fine, but I'd like to find out what's wrong with
the website.  We don't have any documentation discussion list; I
want to fix whatever it was that suggested that such a thing
existed.



Doc people: this looks like a copy&paste job.  It should take
about 3 minutes from reading Tom's email to when you have a
reitveld issue uploaded.
Well, maybe run "make" to check that you haven't done anything
really silly while copying it.  So call it 15 minutes, of which
10+ minutes are just the computer processing stuff in the
background while do other stuff.

Cheers,
- Graham

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


Re: Using the "articulate.ly" script AND getting nice-looking engraved output - how to

2011-04-15 Thread Federico Bruni
2011/4/15 Tom Cloyd 

>  OK - I visited the Lilypond website and tried to figure out how to post to
> some documentation discussion list I thought existed. That left me confused
> and without options, so I'm back here.
>
> Community > Help us > Documentation suggestions

if you follow the link you can see that lilypond-dev is the mailing list
where Doc issues are usually discussed.

I thought it was lilypond-bug...
Both are ok maybe?

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


Re: Help with Section Sequence

2011-04-15 Thread Phil Holmes
That's how I would perform it.

--
Phil Holmes


  - Original Message - 
  From: Javier Ruiz-Alma 
  To: LilyPond User Group 
  Sent: Friday, April 15, 2011 9:50 AM
  Subject: Help with Section Sequence


  Hi All,
  Please check the attached sample PDF and reply if I need to change way these 
sections should be performed.
  This will help me build a correct MIDI block and play this as intended.  The 
sequence shown sounds a bit weird to me when I listen to the MIDI and I suspect 
I'm just not reading this correctly.
  Thanks, Javier


--


  ___
  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


Problems with articulate.ly, seems to affect the pdf even with two score blocks

2011-04-15 Thread Helge Hafting

I tried articulate.ly, and the midi output got better.
I also used two score block, one for midi and one for layout.
I do that anyway, so the repeats will be right.

I use the \articulate command only in the midi score block, so staccato 
etc. still print as it should. But the pdf output is still affected:


* I got more pages, and typically only one bar per line. The music
  looked very stretched.
* Many grace notes disappeared.
* Error messages about slurs that could not be terminated

I don't even have to use \articulate anywhere. Merely using
\include "articulate.ly"
will cause these changes in output.

Is this known issues with 2.13.59, or should I try to make a
minimal example of the problems?

Helge Hafting



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


Re: Problems with articulate.ly, seems to affect the pdf even with twoscore blocks

2011-04-15 Thread Trevor Daniels

Helge

Do you still get problems if the \include is moved
to lie within the midi \score block?  The file redefines
some predefined commands, eg \afterGrace and \appoggiatura.

Trevor

- Original Message - 
From: "Helge Hafting" 

To: "Lilypond" 
Sent: Friday, April 15, 2011 10:51 AM
Subject: Problems with articulate.ly, seems to affect the pdf even 
with twoscore blocks




I tried articulate.ly, and the midi output got better.
I also used two score block, one for midi and one for layout.
I do that anyway, so the repeats will be right.

I use the \articulate command only in the midi score block, so 
staccato etc. still print as it should. But the pdf output is 
still affected:


* I got more pages, and typically only one bar per line. The music
  looked very stretched.
* Many grace notes disappeared.
* Error messages about slurs that could not be terminated

I don't even have to use \articulate anywhere. Merely using
\include "articulate.ly"
will cause these changes in output.

Is this known issues with 2.13.59, or should I try to make a
minimal example of the problems?

Helge Hafting



___
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: Using the "articulate.ly" script AND getting nice-looking engraved output - how to

2011-04-15 Thread James Lowe
Hello,

)-Original Message-
)From: lilypond-user-bounces+james.lowe=datacore@gnu.org
)[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On
)Behalf Of Graham Percival
)Sent: 15 April 2011 10:18
)To: Tom Cloyd
)Cc: Lilypond
)Subject: Re: Using the "articulate.ly" script AND getting nice-looking
)engraved output - how to
)
)On Fri, Apr 15, 2011 at 12:18:58AM -0600, Tom Cloyd wrote:
)>OK - I visited the Lilypond website and tried to figure out how to post
)to
)>some documentation discussion list I thought existed. That left me
)>confused and without options, so I'm back here. The best I can do is
)offer
)>a first draft rewrite here, and know that those better informed than I
)>will know what to do with it.
)
)This email looks fine, but I'd like to find out what's wrong with the
)website.  We don't have any documentation discussion list; I want to fix
)whatever it was that suggested that such a thing existed.
)

I think Tom was simply mistaken, I referred him to

http://lilypond.org/doc/v2.13/Documentation/contributor/documentation-suggestions.html

In another email.

)Doc people: this looks like a copy&paste job.  It should take about 3
)minutes from reading Tom's email to when you have a reitveld issue
)uploaded.
)Well, maybe run "make" to check that you haven't done anything really
)silly while copying it.  So call it 15 minutes, of which
)10+ minutes are just the computer processing stuff in the
)background while do other stuff.
)

Graham, I assume that if 'doc people' didn't respond to this that this would be 
added by 'bug/dev' people in the 'bug tracker' as a med/low doc enhancement?

Unfortunately (or not depending on if you think it's because our Doc is so good 
already) we don't get that many 'formal' requests for documentation changes so 
I often have to 'extract' meaning out of people's problems if the doc could 
have prevented that. I don't have access to create tracker issues else I could 
do that kind of thing myself if only to stop me keeping my own personal to-do 
lists, if that makes sense.

James

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


RE: getting repeats to play in midi

2011-04-15 Thread James Lowe
Tom,

)-Original Message-
)From: Tom Cloyd [mailto:t...@tomcloyd.com]
)Sent: 15 April 2011 07:31
)To: James Lowe
)Subject: Re: getting repeats to play in midi
)
..
)
)I write hoping the feedback might be helpful in some way. I STILL have no
)idea where to send documentation suggests other than to lilypond-user.
)This information ideally would be in an obvious location on the website,
)and I never could find it. Kind of surprising, really..
)

The example in the 'Documentation suggestion' link I pointed you to

http://lilypond.org/doc/v2.13/Documentation/contributor/documentation-suggestions.html

implies emails are sent to

lilypond-de...@gnu.org

However you do need to join this email list (like you would have done for 
lilypond-user@gnu.org) else you will get the bounce you are seeing.

There is also a third list if you want to report bugs that you find

bug-lilyp...@gnu.org

Again a separate list that you need to subscribe to. While it does seem rather 
complex, it really helps keep the correct discussions in the appropriate place 
and also more importantly helps in terms of searching the archives, that say 
one list with every email discussed on it. 

Not everyone subscribes to all lists, which is fine and we can cross post for 
you (i.e. forward emails to the other lists if that person is not subscribed) 
but that is not ideal and we'd rather not.

However all that said, ANY contribution to ANY lists is better than nothing.

We've seen you contribution to articulate.ly so that is in the works now.

Regards

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


Re: Using the "articulate.ly" script AND getting nice-lookingengraved output - how to

2011-04-15 Thread Phil Holmes
- Original Message - 
From: "James Lowe" 


Unfortunately (or not depending on if you think it's because our Doc is so 
good already) we don't get that many 'formal' requests for documentation 
changes so I often have to 'extract' meaning out of people's problems if 
the doc could have prevented that. I don't have access to create tracker 
issues else I could do that kind of thing myself if only to stop me 
keeping my own personal to-do lists, if that makes sense.



I see no reason why you shouldn't have access to the tracker.  Graham - you 
OK with this?  James - do you have a Gmail account?


--
Phil Holmes



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


RE: Using the "articulate.ly" script AND getting nice-lookingengraved output - how to

2011-04-15 Thread James Lowe
Hello,

)-Original Message-
)From: Phil Holmes [mailto:m...@philholmes.net]
)Sent: 15 April 2011 11:47
)To: James Lowe; Graham Percival; Tom Cloyd
)Cc: Lilypond
)Subject: Re: Using the "articulate.ly" script AND getting nice-
)lookingengraved output - how to
)
)James - do you have a Gmail account?

Yes I need one for Rietveld.

James



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


Re: suggestion for articulate

2011-04-15 Thread Peter Chubb
> "Graham" == Graham Percival  writes:

Graham> On Fri, Apr 15, 2011 at 12:54:53PM +1000, Peter Chubb wrote:
David> A fixed ratio seems a mistake to me: like optical scaling of
David> fonts, the ratio should depend on the length of the note as
David> well as the speed of the piece.  And one does not want to have
David> chords end early in one voice merely because the voice had a
David> longer note starting the chord.
>> 
>> I agree, but that's really hard to implement.  Maybe if Grahame's
>> virtual violinist can turn into a virtual orchestra, and interpret
>> music properly (instead of just playing whatever Lilypond produces
>> like a robotic MIDI player)  but I think that's a long way off.

Graham> Yes, it's a long way off.  I'm not intending to touch
Graham> expressive music performance at all in my PhD; rather, I'll
Graham> make tools which all humans to direct the computer's
Graham> performance as easily as possible.  (which may still not be
Graham> very easy!)

Indeed.

Graham> The catch-phrase for this is "let machines do what machines
Graham> are good at; let humans do what humans are good at".  :)
Graham> Humans aren't good at manually specifying physical parameters
Graham> every 0.006 seconds, but they _are_ good at correcting the way
Graham> that notes are played (generally every 0.2 - 2.0 seconds, at
Graham> least for monophonic violin music).


Graham> As for other instruments: I'm hoping to get physical
Graham> measurements of a viola and cello during the summer.  It would
Graham> be a blast to work on other instruments (clarinet, oboe,
Graham> horn), but that would require physical modelling code for
Graham> them.  At the moment, the only open source code that I'm aware
Graham> of for clarinet is STK... but as I type this, I recall that
Graham> although the STK string model uses an algorithm from 1986, the
Graham> clarinet one is 1998 or 2002.  So maybe that's a feasible
Graham> thing to investigate.

A clarinet would be way cool.  Recorders and portative organs
shouldn't be too hard either.   But there's always  tendency to get
distracted while doing a PhD.  Try not to be!

Peter C



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


Re: Using the "articulate.ly" script AND getting nice-looking engraved output - how to

2011-04-15 Thread Peter Chubb
> "Tom" == Tom Cloyd  writes:

Thanks Tom

Tom> While the slight separation of notes in the midi output often
Tom> seems to improve the sound of music for instruments which don't
Tom> normally sound legato, such as classic guitar, it can also make
Tom> other instruments, such as organ, sound unrealistic. One approach
Tom> to reducing or eliminating this problem is to experimentally
Tom> alter a single line in the articulate.ly script - here is an
Tom> example of such an alteration:

Tom> #(define ac:normalFactor '(15 . 16))

Can anyone suggest a way that this can be changed outside the script?
I tried
  legato=#(set! ac:normalFactor '(1 . 1))
in a normal lily file, but it didn't seem to work.  The value in the
#(define...) statement in the included file was the one used.

--
Dr Peter Chubb  peter DOT chubb AT nicta.com.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia
All things shall perish from under the sky/Music alone shall live, never to die

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


Spacing lyrics and markup

2011-04-15 Thread Phil Holmes
Can anyone give me pointers as to how to put markup text outside Lyric text? 
I've tried overriding the Staff.TextScript outside-staff-priority, and that 
shifts markup outside tempo marks, for instance, but does nothing wrt 
Lyrics.


TIA.

--
Phil Holmes



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


Re: Using the "articulate.ly" script AND getting nice-looking engraved output - how to

2011-04-15 Thread David Kastrup
Peter Chubb  writes:

>> "Tom" == Tom Cloyd  writes:
>
> Thanks Tom
>
> Tom> While the slight separation of notes in the midi output often
> Tom> seems to improve the sound of music for instruments which don't
> Tom> normally sound legato, such as classic guitar, it can also make
> Tom> other instruments, such as organ, sound unrealistic. One approach
> Tom> to reducing or eliminating this problem is to experimentally
> Tom> alter a single line in the articulate.ly script - here is an
> Tom> example of such an alteration:
>
> Tom> #(define ac:normalFactor '(15 . 16))
>
> Can anyone suggest a way that this can be changed outside the script?
> I tried
>   legato=#(set! ac:normalFactor '(1 . 1))
> in a normal lily file, but it didn't seem to work.

You'd rather need something like
legato=#(define-music-function ...

Otherwise, set! is just executed at the time of defining legato, and
legato is set to the _result_ of setting the factor.

-- 
David Kastrup


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


Re: Spacing figured bass and lyrics

2011-04-15 Thread Phil Holmes
- Original Message - 
From: "Michael Käppler" 

To: 
Sent: Friday, April 15, 2011 8:39 AM
Subject: Spacing figured bass and lyrics



I'm not top posting


Hi all,
I've encountered a problem when trying to modify the distance
between a FiguredBass line and a Staff which is placed above.
If there are Lyrics attached to the Voice placed in the upper staff,
setting a padding to the FiguredBass line has no effect.
Maybe I don't unterstand the way this is supposed to work, but I'm
confused.

See the following example:

\version "2.13.58"

notes = \repeat unfold 20 { a4 b c b }

text = \lyricmode {
 \repeat unfold 20 { bla bla bla bla }
}

numbers = \figuremode {
 \repeat unfold 20 { <3 5>4 <4 6> <_+> <7> }
}

\layout {
 \context {
   \FiguredBass
   \override VerticalAxisGroup #'nonstaff-unrelatedstaff-spacing #'padding 
=

#20
   \override VerticalAxisGroup #'staff-affinity = #DOWN
 }
}

\score {
 <<
   \new Voice = "one" \relative c'' \notes
   \new Lyrics \lyricsto one \text %% Comment this out
   \new FiguredBass \numbers
   \new Staff { \clef bass \relative c \notes }
 >>
}

Many thanks for any advice,
Michael



Michael,

There's stuff I don't understand here, but could you be explicit in what 
you're trying to do - get the Figured Bass above the lyrics, or further from 
the top stave, or the bottom stave, or what?


--
Phil Holmes



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


Re: proposed addition to Notation Reference 3.5.4

2011-04-15 Thread Francisco Vila
Attached is a patch that includes this.

2011/4/15 Tom Cloyd :
> This deals with the problem of getting correct midi output when playing of
> repeats is desired AND the score has multiple voices.
>
> I suggest insertion of the following sentence (as its own paragraph)
> immediately before the sentence "When creating a score file using
> \unfoldRepeats..."
>
> 
> In scores containing multiple voices, unfolding of repeats in midi output
> will only occur correctly if each voice contains fully notated repeat
> indications.
> 
>
> t.
>
> --
>
> ~
>
> "It is impossible for a man to learn what he thinks he already
> knows." ~ Epictetus (c.55-c.135)
> ~
> Tom Cloyd, MS MA
> Private practice Psychotherapist
> St. George, Utah, U.S.A: (435) 272-3332
> << t...@tomcloyd.com >> (email)
> << TomCloyd.com >> (website)
> << sleightmind.wordpress.com >> (mental health issues weblog)
> ~
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>



-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com
From 3db417dab28465a750596e39df2b5af11c0da842 Mon Sep 17 00:00:00 2001
From: Francisco Vila 
Date: Fri, 15 Apr 2011 13:57:01 +0200
Subject: [PATCH] Doc: addition to MIDI and repeats by Tom Cloyd.

---
 Documentation/notation/input.itely |4 
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Documentation/notation/input.itely b/Documentation/notation/input.itely
index 067b7f4..15b0831 100644
--- a/Documentation/notation/input.itely
+++ b/Documentation/notation/input.itely
@@ -1991,6 +1991,10 @@ repeats to unfold repeats.
 \bar "|."
 @end lilypond
 
+In scores containing multiple voices, unfolding of repeats in MIDI
+output will only occur correctly if @emph{each} voice contains fully
+notated repeat indications.
+
 When creating a score file using @code{\unfoldRepeats} for MIDI,
 it is necessary to make two @code{\score} blocks: one for MIDI
 (with unfolded repeats) and one for notation (with volta, tremolo,
-- 
1.7.0.4

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


Re: Spacing lyrics and markup

2011-04-15 Thread Jan-Peter Voigt

Hello Phil,

I think you can't move TextScript elements beyond lyrics with 
outside-staff-priority - the lyrics don't belong to a staff but are 
probably associated to a voice within. So you probably have to move the 
markup with \translate or the TextScript with extra-offset.
If it is possible to get the vertical position of a lyrics context from 
within a staff/voice context, it should be possible to move something 
beyond that point. That would make some other things possible:


If I place a closing "(n)" on an extender line, I do it with these two 
functions:


%%% start snip
freetext = #(define-music-function (parser location dx dy text)(number? 
number? markup?)

  #{
\once \override TextScript #'X-extent = #'(0 . 0)
\once \override TextScript #'Y-extent = #'(0 . 0)
\once \override TextScript #'self-alignment-X = #CENTER
s1*0_\markup { \translate #(cons $dx $dy) $text }
#})
closeN = #(define-music-function (parser location dy)(number?)
  #{
\freetext #0 #$dy \markup { "(n)" }
#})
closeNx = #(define-music-function (parser location dx dy)(number? number?)
  #{
\freetext #$dx #$dy \markup { "(n)" }
#})
%%% end snip
%%% example:
\relative c' { \partial 4 e4 ~ << e1 ~ \closeN #-3.7 >> | e }
\addlyrics { A __ }

So I set x- and y-extent to 0, so that lily doesn't see a collision. 
Then I move it down. I could of course move it beyond any lyrics 
assigned to this voice, but I have to trial and error to find the right 
value. It would be nice to get the vertical position of the Lyrics and 
attach/align the text to it.
This might lead (again) to a hen-and-egg-problem, where the vertical 
position of the lyrics is not known until the textscript is positioned.


Cheers,
Jan-Peter


On 15.04.2011 13:29, Phil Holmes wrote:
Can anyone give me pointers as to how to put markup text outside Lyric 
text? I've tried overriding the Staff.TextScript 
outside-staff-priority, and that shifts markup outside tempo marks, 
for instance, but does nothing wrt Lyrics.


TIA.

--
Phil Holmes



___
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: proposed addition to Notation Reference 3.5.4

2011-04-15 Thread Graham Percival
On Fri, Apr 15, 2011 at 01:57:52PM +0200, Francisco Vila wrote:
> Attached is a patch that includes this.

Thanks, pushed.

Cheers,
- Graham

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


Re: Problems with articulate.ly, seems to affect the pdf even with twoscore blocks

2011-04-15 Thread Helge Hafting

On 15. april 2011 12:18, Trevor Daniels wrote:

Helge

Do you still get problems if the \include is moved
to lie within the midi \score block? The file redefines
some predefined commands, eg \afterGrace and \appoggiatura.



I can't have it inside the midi score block - that gives a syntax error
in line 92 of articulate.ly

But I moved the \include so it comes after the layout score block and
before the midi score block. That worked well.

Thanks for the tip, I didn't think of moving the "\include". Being a 
programmer, I am so used to have include-stuff on top of the file.


Helge Hafting

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


Re: Spacing lyrics and markup

2011-04-15 Thread Carl Sorensen
On 4/15/11 5:29 AM, "Phil Holmes"  wrote:

> Can anyone give me pointers as to how to put markup text outside Lyric text?
> I've tried overriding the Staff.TextScript outside-staff-priority, and that
> shifts markup outside tempo marks, for instance, but does nothing wrt
> Lyrics.

As far as I know this is impossible.  Lyrics are in a different context than
the staff.

To get this to work you'd need to add the markup to the lyrics, and I'm not
sure how to do that.

HTH,

Carl


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


markup and note spacing

2011-04-15 Thread Christian McConnell
Hello everyone,

I've been running into a problem, and I can't seem to figure it out. When I add 
a text markup to one note, the next note is automatically spaced to the right, 
to the end of the markup. It's like \textLengthOn is on by default, and 
inserting \textLengthOff doesn't seem to help.

Any guesses as to what could be causing this?

Thanks,

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


Re: Using the "articulate.ly" script AND getting nice-looking engraved output - how to

2011-04-15 Thread Tom Cloyd

On 04/15/2011 04:22 AM, James Lowe wrote:

[,,,]

Unfortunately (or not depending on if you think it's because our Doc is so good 
already) we don't get that many 'formal' requests for documentation changes ..
How sad. Could not we just start over, so we could have a proper 
documentation development discussion list, raging arguments about 
punctuation, et al.? Just think of the time that being needlessly saved 
by the fact that this documentation (and its support through this list) 
is in such fine shape. A pity...


Well, that was obviously not to be taken seriously (except the last part!).

A couple of days ago I pointed the members of the Kubuntu Linux current 
release discussion list to this software (Lilypond), this list, and the 
associated documentation, as flat out the best experience I've ever had 
with software designed for intensive use by non-programmers. My praise 
was glowing, because that's been my experience.


Personally, when a new release of ly comes out, it's the documentation 
that I'm always most excited to see. Reading it - no, exploring it - is 
such a delight and so stimulating, that I've been known skip meals (and 
sleep!) just to stay on track with some subject I'm learning more about 
in the new docs.


The utter magic of seeing my pencil scores spring to live as beautiful 
engraved scores simply never grows old. I'm very pleased to have 
apparently been able today to make a very small contribution to the 
documentation, as that now means I'm no longer just a taker. I hope to 
contribute more in the future. It's an honor to have any association at 
all with this project.


Tom

--

~

"It is impossible for a man to learn what he thinks he already
knows." ~ Epictetus (c.55-c.135)
~
Tom Cloyd, MS MA
Private practice Psychotherapist
St. George, Utah, U.S.A: (435) 272-3332
<<  t...@tomcloyd.com>>  (email)
<<  TomCloyd.com>>  (website)
<<  sleightmind.wordpress.com>>  (mental health issues weblog)
~


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


markup problem solved

2011-04-15 Thread Christian McConnell
I figured out my problem: I was including gregorian.ly. It's not a chant piece, 
but I wanted to include gregorian.ly so I could use the \divisioMinima for tick 
marks. As soon as I took that out, it worked right. 


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


Re: Multiple Stanzas

2011-04-15 Thread Michael Dykes
I am sorry Trevor, but I am not quite sure how to integrate this into my
already made structure. My 'structure' is different from what you indicate
below. ???

On Tue, Apr 12, 2011 at 4:24 AM, Trevor Daniels wrote:

> Michael
>
> You should be able to adapt the following to do what you want.
>
> Trevor
>
> \score {
>  <<
>   \new Staff {
> \new Voice = "melody" {
>   \relative c'' {
> a4 a a a
> b4 b b b
> a4 a a a
>   }
> }
>   }
>   \new Lyrics \lyricsto "melody" {
> Com -- mon sec -- tion.
> <<
> { The first time words. }
> \new Lyrics {
>  \set associatedVoice = "melody"
>  Sec -- ond time words.
> }
> \new Lyrics {
>  \set associatedVoice = "melody"
>  Third _ __ time words.
> }
> >>
> Com -- mon sec -- tion.
>   }
>  >>
> }
>
> - Original Message - From: "Michael Dykes" <
> thedoctor81...@gmail.com>
> To: "lilypond-user" 
> Sent: Tuesday, April 12, 2011 5:20 AM
> Subject: Multiple Stanzas
>
>
>
>  I have an attached file (as always, I know) - and I where the lyrics say
>> "Who art ri-sen from the dead" - just under those words ONLY< I wish to
>> place 2 other sets of lyrics, namely:
>>
>> "Who art won-drous in Thy saints"
>> and
>> "Through the prayers of the Theo-to-kos"
>>
>> I have been looking at the section on stanzas, but so far have not found
>> this particular challenge. Any help, or someone to point me to the right
>> place would be appreciated. Thanks.
>>
>> --
>> In Christ,
>> Michael D
>>
>>
>
>
> 
>
>
>  ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
>


-- 
In Christ,
Michael D
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Phrasing Slurs only from another slur start?

2011-04-15 Thread Nils
Hello list,

Is it intended or a bug that you have to start a phrasing slur and a normal 
slur only at the same time? This means you can only have one normal slur in a 
phrasing slur (from the beginning?)

The example 
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Ties-and-slurs
 
shows nested slurs, called phrasing slurs with a special syntax: 

a8(\( ais b c) cis2 b'2 a4 cis,\)

You need these type of slurs if you have (several) melisma(s) but want 
phrasing/legato also.

However my Lilypond install 2.13.58 complains if I start the phrasing slur (\ 
anywhere else except right before the normal slur, as seen in the example.

Is this a bug?

Nils

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


Re: Phrasing Slurs only from another slur start?

2011-04-15 Thread Nils
Correction: You can have other normal slurs after the first one. But you still 
can't start a phrasing slur without a normal slur.

On Fri, 15 Apr 2011 23:02:11 +0200
Nils  wrote:

> Hello list,
> 
> Is it intended or a bug that you have to start a phrasing slur and a normal 
> slur only at the same time? This means you can only have one normal slur in a 
> phrasing slur (from the beginning?)
> 
> The example 
> http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Ties-and-slurs
>  
> shows nested slurs, called phrasing slurs with a special syntax: 
> 
> a8(\( ais b c) cis2 b'2 a4 cis,\)
> 
> You need these type of slurs if you have (several) melisma(s) but want 
> phrasing/legato also.
> 
> However my Lilypond install 2.13.58 complains if I start the phrasing slur (\ 
> anywhere else except right before the normal slur, as seen in the example.
> 
> Is this a bug?
> 
> Nils
> 
> ___
> 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: Phrasing Slurs only from another slur start?

2011-04-15 Thread Nick Payne

On 16/04/11 07:04, Nils wrote:

Correction: You can have other normal slurs after the first one. But you still 
can't start a phrasing slur without a normal slur.


\version "2.13.59"

\relative c' {
c\( d e( f g) a b c\)
}

Works for me without any problem.

Nick

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


Re: getting repeats to play in midi

2011-04-15 Thread Tom Cloyd
But here's the problem which I keep running into. I'm reluctantly 
willing to join the documentation list, but while there's plenty of 
references to it, I have yet to see any link which takes me to a 
subscription process. Why not make this easy to locate?


It makes NO sense to me to advise me (as the documentation manual does) 
to post to what appears to be a documentation list (and I have to infer 
that), when I know that if I'm not a member my effort will be for 
naught, AND it is nowhere (that I have yet seen) stated HOW to join. Is 
this some kind of perverse test - you can join if you can discover how? 
I just went to look for this how-to-join information again. I've clicked 
about 15 links. All dry holes. I'm afraid my motivation won't outlast 
this test.


...All of which is about a possible need for refactoring aspects of the 
website, I think.


I hope this is helpful...and now I'm back to digging around in the 
website. This information surely is buried SOMEWHERE...


t,

On 04/15/2011 04:30 AM, James Lowe wrote:

Tom,

)-Original Message-
)From: Tom Cloyd [mailto:t...@tomcloyd.com]
)Sent: 15 April 2011 07:31
)To: James Lowe
)Subject: Re: getting repeats to play in midi
)
..
)
)I write hoping the feedback might be helpful in some way. I STILL have no
)idea where to send documentation suggests other than to lilypond-user.
)This information ideally would be in an obvious location on the website,
)and I never could find it. Kind of surprising, really..
)

The example in the 'Documentation suggestion' link I pointed you to

http://lilypond.org/doc/v2.13/Documentation/contributor/documentation-suggestions.html

implies emails are sent to

lilypond-de...@gnu.org

However you do need to join this email list (like you would have done for 
lilypond-user@gnu.org) else you will get the bounce you are seeing.

There is also a third list if you want to report bugs that you find

bug-lilyp...@gnu.org

Again a separate list that you need to subscribe to. While it does seem rather 
complex, it really helps keep the correct discussions in the appropriate place 
and also more importantly helps in terms of searching the archives, that say 
one list with every email discussed on it.

Not everyone subscribes to all lists, which is fine and we can cross post for 
you (i.e. forward emails to the other lists if that person is not subscribed) 
but that is not ideal and we'd rather not.

However all that said, ANY contribution to ANY lists is better than nothing.

We've seen you contribution to articulate.ly so that is in the works now.

Regards

James


--

~

"It is impossible for a man to learn what he thinks he already
knows." ~ Epictetus (c.55-c.135)
~
Tom Cloyd, MS MA
Private practice Psychotherapist
St. George, Utah, U.S.A: (435) 272-3332
<<  t...@tomcloyd.com>>  (email)
<<  TomCloyd.com>>  (website)
<<  sleightmind.wordpress.com>>  (mental health issues weblog)
~


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


Re: getting repeats to play in midi

2011-04-15 Thread Graham Percival
On Fri, Apr 15, 2011 at 03:26:06PM -0600, Tom Cloyd wrote:
> But here's the problem which I keep running into. I'm reluctantly
> willing to join the documentation list, but while there's plenty of
> references to it, I have yet to see any link which takes me to a
> subscription process. Why not make this easy to locate?

There is a huge misunderstanding here.  There is NO SUCH THING as
a documentation list for lilypond.

All of our official, active, lists are here:
http://lilypond.org/contact.html
with the possible exception of the "frogs" list, which is here:
http://lilypond.org/help-us.html


> It makes NO sense to me to advise me (as the documentation manual
> does) to post to what appears to be a documentation list (and I have
> to infer that),

Please state exactly which page caused you to "infer" that there
is a documentation list.  I want to fix this.


> I just went to look for this how-to-join
> information again. I've clicked about 15 links. All dry holes. I'm
> afraid my motivation won't outlast this test.

Please tell me EXACTLY where you are looking so that I can fix it.
Starting with whatever made you think that there was a
documentation list.

- Graham

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


Re: Phrasing Slurs only from another slur start?

2011-04-15 Thread Carl Sorensen
On 4/15/11 3:02 PM, "Nils"  wrote:
> 
> However my Lilypond install 2.13.58 complains if I start the phrasing slur (\
> anywhere else except right before the normal slur, as seen in the example.
> 

Phrasing slur is \(, not (\.  You had the problem because (\ is invalid
LilyPond syntax.  By doing (\( you got a normal slur ( followed by a
phrasing slur \(, so you didn't end up with a syntax error.

Hope this helps,

Carl


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


Re: Spacing lyrics and markup

2011-04-15 Thread bruys .
Dear Jan-Peter,
Which version are you using? This doesn't work with 2.12.3, an '(n)' appears
above the extender line in the second bar.
Regards,
Bruys

On Fri, Apr 15, 2011 at 9:58 PM, Jan-Peter Voigt  wrote:

> Hello Phil,
>
> I think you can't move TextScript elements beyond lyrics with
> outside-staff-priority - the lyrics don't belong to a staff but are probably
> associated to a voice within. So you probably have to move the markup with
> \translate or the TextScript with extra-offset.
> If it is possible to get the vertical position of a lyrics context from
> within a staff/voice context, it should be possible to move something beyond
> that point. That would make some other things possible:
>
> If I place a closing "(n)" on an extender line, I do it with these two
> functions:
>
> %%% start snip
> freetext = #(define-music-function (parser location dx dy text)(number?
> number? markup?)
>  #{
>\once \override TextScript #'X-extent = #'(0 . 0)
>\once \override TextScript #'Y-extent = #'(0 . 0)
>\once \override TextScript #'self-alignment-X = #CENTER
>s1*0_\markup { \translate #(cons $dx $dy) $text }
> #})
> closeN = #(define-music-function (parser location dy)(number?)
>  #{
>\freetext #0 #$dy \markup { "(n)" }
> #})
> closeNx = #(define-music-function (parser location dx dy)(number? number?)
>  #{
>\freetext #$dx #$dy \markup { "(n)" }
> #})
> %%% end snip
> %%% example:
> \relative c' { \partial 4 e4 ~ << e1 ~ \closeN #-3.7 >> | e }
> \addlyrics { A __ }
>
> So I set x- and y-extent to 0, so that lily doesn't see a collision. Then I
> move it down. I could of course move it beyond any lyrics assigned to this
> voice, but I have to trial and error to find the right value. It would be
> nice to get the vertical position of the Lyrics and attach/align the text to
> it.
> This might lead (again) to a hen-and-egg-problem, where the vertical
> position of the lyrics is not known until the textscript is positioned.
>
> Cheers,
> Jan-Peter
>
>
>
> On 15.04.2011 13:29, Phil Holmes wrote:
>
>> Can anyone give me pointers as to how to put markup text outside Lyric
>> text? I've tried overriding the Staff.TextScript outside-staff-priority, and
>> that shifts markup outside tempo marks, for instance, but does nothing wrt
>> Lyrics.
>>
>> TIA.
>>
>> --
>> Phil Holmes
>>
>>
>>
>> ___
>> 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


slur collides with ledger line & grace note size

2011-04-15 Thread Marc Mouries


  
  
I tested with both 2.12 and 2.13 and in both versions the slur
collides with the ledger line


In the picture of the old score i have the slur is moved below the
ledger line. How can we do the same with lilypond?


I also noticed that lilypond prints grace note with a little bigger
proportion than usual. Is there a way i can change the size and how
close grace notes are from the next notes? 

thanks,

-Marc
  

%% the slur collides with the ledger line
\version "2.13.59"
\language "english"
\paper{ ragged-right=##t }
\relative g'' {
  \key d \major
  d4 \acciaccatura cs'8 d4 d, r4
}___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Odd Stem Lengths

2011-04-15 Thread Ed Ardzinski

I have a sections with quints in my piece, and in 2 different blocks of the 
piece the PDF output varies.
 
I've attached pictures of the output - the same exact code produces each 
part...same variable and transpositions.  I am in an old version (2.6.5) but 
I'm never run into this without having chord names creating spacing.  This is a 
fairly simple file, with just a RH and LH part for a piano, but not using a 
piano staff.  The first instance happens in the II part, it has the bad stem 
lengths.  THe second instance is in the II part, and outputs looking good.  The
 
\transpose c c' \hpianoIIb
\hpianoIIb
 
part is in other parts of the piece and outputs fine.  Any ideas would be 
helpful.  Thanks!
 
rhII =
{
\hpianoIVb
\time 4/4
%% odd section begin
\transpose c c' \hpianoII
\hpianoIIa
\hpianoII
\transpose c c' \hpianoIIb
\hpianoIIb
%% odd section end
\hpianoI
\time 5/4
\hpianoIV
\hpianoIV
\hpianoIVy
}
rhIII =
{
\hpianoI
\hpianoII
\transpose c f \hpianoI
\hpianoII
\transpose c g \hpianoI
\hpianoII
\hpianoI
%% odd section begin (prints OK this section)
\transpose c c' \hpianoII
\hpianoIIa
\hpianoII
\transpose c c' \hpianoIIb
\hpianoIIb
%% odd section end
\hpianoI
\time 5/4
\hpianoIVz
} <><>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: slur collides with ledger line & grace note size

2011-04-15 Thread Carl Sorensen



On 4/15/11 3:22 PM, "Marc Mouries"  wrote:

>I tested with both 2.12 and 2.13 and in both versions the slur collides
> with the ledger line
>  

This would be a collision bug.  Please report on the bug-lilypond list.

However, Stone says the following:

"It used to be customary to slur grace notes to the main note, but since
such slurs are superfluous it is recommended that they be omitted.  As a
result of this omission, a tied grace note becomes more immediately
recognizable.  Should it be desired to perform a grace note detached, which
is very rare, a staccato dot will serve to indicate this."

>  
>  In the picture of the old score i have the slur is moved below the ledger
> line. How can we do the same with lilypond?

It is possible to adjust the slur end points.  See the LSR for ways to do
this.

>  
>  
>  I also noticed that lilypond prints grace note with a little bigger
> proportion than usual. Is there a way i can change the size and how close
> grace notes are from the next notes?

The distance to the main notes is controlled by the 'shortest-duration-space
of the GraceSpacing grob.

I have been unable to determine how to change the size of grace notes.

HTH,

Carl


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


Re: lilypond-user Digest, Vol 101, Issue 71

2011-04-15 Thread Father Gordon Gilbert
On 15/04/2011, lilypond-user-requ...@gnu.org
 wrote:
> Send lilypond-user mailing list submissions to
>   lilypond-user@gnu.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://lists.gnu.org/mailman/listinfo/lilypond-user
> or, via email, send a message with subject or body 'help' to
>   lilypond-user-requ...@gnu.org
>
> You can reach the person managing the list at
>   lilypond-user-ow...@gnu.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lilypond-user digest..."
>
>
> Today's Topics:
>
>1. Re:getting repeats to play in midi (Graham Percival)
>2. Re:Phrasing Slurs only from another slur start? (Carl Sorensen)
>3. Re:Spacing lyrics and markup (bruys .)
>4. slur collides with ledger line & grace note size (Marc Mouries)
>
>
> --
>
> Message: 1
> Date: Fri, 15 Apr 2011 22:34:29 +0100
> From: Graham Percival 
> To: Tom Cloyd 
> Cc: Lilypond 
> Subject: Re: getting repeats to play in midi
> Message-ID: <20110415213429.GA16308@futoi>
> Content-Type: text/plain; charset=us-ascii
>
> On Fri, Apr 15, 2011 at 03:26:06PM -0600, Tom Cloyd wrote:
>> But here's the problem which I keep running into. I'm reluctantly
>> willing to join the documentation list, but while there's plenty of
>> references to it, I have yet to see any link which takes me to a
>> subscription process. Why not make this easy to locate?
>
> There is a huge misunderstanding here.  There is NO SUCH THING as
> a documentation list for lilypond.
>
> All of our official, active, lists are here:
> http://lilypond.org/contact.html
> with the possible exception of the "frogs" list, which is here:
> http://lilypond.org/help-us.html
>
>
>> It makes NO sense to me to advise me (as the documentation manual
>> does) to post to what appears to be a documentation list (and I have
>> to infer that),
>
> Please state exactly which page caused you to "infer" that there
> is a documentation list.  I want to fix this.
>
>
>> I just went to look for this how-to-join
>> information again. I've clicked about 15 links. All dry holes. I'm
>> afraid my motivation won't outlast this test.
>
> Please tell me EXACTLY where you are looking so that I can fix it.
> Starting with whatever made you think that there was a
> documentation list.
>
> - Graham
>
>
>
> --
>
> Message: 2
> Date: Fri, 15 Apr 2011 15:34:30 -0600
> From: Carl Sorensen 
> To: Nils , lilypond-user 
> Subject: Re: Phrasing Slurs only from another slur start?
> Message-ID: 
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 4/15/11 3:02 PM, "Nils"  wrote:
>>
>> However my Lilypond install 2.13.58 complains if I start the phrasing slur
>> (\
>> anywhere else except right before the normal slur, as seen in the example.
>>
>
> Phrasing slur is \(, not (\.  You had the problem because (\ is invalid
> LilyPond syntax.  By doing (\( you got a normal slur ( followed by a
> phrasing slur \(, so you didn't end up with a syntax error.
>
> Hope this helps,
>
> Carl
>
>
>
>
> --
>
> Message: 3
> Date: Sat, 16 Apr 2011 08:07:15 +1000
> From: "bruys ." 
> To: Jan-Peter Voigt 
> Cc: lilypond-user@gnu.org
> Subject: Re: Spacing lyrics and markup
> Message-ID: 
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear Jan-Peter,
> Which version are you using? This doesn't work with 2.12.3, an '(n)' appears
> above the extender line in the second bar.
> Regards,
> Bruys
>
> On Fri, Apr 15, 2011 at 9:58 PM, Jan-Peter Voigt  wrote:
>
>> Hello Phil,
>>
>> I think you can't move TextScript elements beyond lyrics with
>> outside-staff-priority - the lyrics don't belong to a staff but are
>> probably
>> associated to a voice within. So you probably have to move the markup with
>> \translate or the TextScript with extra-offset.
>> If it is possible to get the vertical position of a lyrics context from
>> within a staff/voice context, it should be possible to move something
>> beyond
>> that point. That would make some other things possible:
>>
>> If I place a closing "(n)" on an extender line, I do it with these two
>> functions:
>>
>> %%% start snip
>> freetext = #(define-music-function (parser location dx dy text)(number?
>> number? markup?)
>>  #{
>>\once \override TextScript #'X-extent = #'(0 . 0)
>>\once \override TextScript #'Y-extent = #'(0 . 0)
>>\once \override TextScript #'self-alignment-X = #CENTER
>>s1*0_\markup { \translate #(cons $dx $dy) $text }
>> #})
>> closeN = #(define-music-function (parser location dy)(number?)
>>  #{
>>\freetext #0 #$dy \markup { "(n)" }
>> #})
>> closeNx = #(define-music-function (parser location dx dy)(number? number?)
>>  #{
>>\freetext #$dx #$dy \markup { "(n)" }
>> #})
>> %%% end snip
>> %%% example:
>> \relative c' { \partial 4 e4 ~ << e1 ~ \closeN #-3.7 >> | e }
>> \addlyrics { A __ }
>>
>> So I set x- and y-extent to 0, so that lil

3 Lyric lines

2011-04-15 Thread Michael Dykes
I am attempting to have a section of my piece have 3 lyric lines, but only
in the middle of the piece. Here is my best attempt thus far, which as you
can see, results in errors that I am not sure how to fix. Thanks for all
your help, as usual.

-- 
In Christ,
Michael D
\version "2.13.58"
\include "english.ly"
\include "gregorian.ly"

% XS: necessary, see below
\paper{
  page-count = #1
  print-all-headers = ##t
} 

  \header {
  title = "Eisodikon~Come, let us Worship"
  poet = "Znamenny Chant~Tone 2"
  composer =  "Arranged by Michael Dykes"
 footer = "obs_zn[3].ly"
ponomarname = "Only-Begotten Son"
ponomartype = "OwnWork"
ponomarsubtype = "Arrangement"
ponomarsource = "Unknown"
ponomarauthor = "Michael Dykes"
maintainer = "Michael Dykes"
maintaineremail = "thedoctor81...@gmail.com"
lastupdated = "2011/04/10"
ponomarlang = "en"
ponomarcomments = ""
copyright = "This score is part of the Ponomar OpenMusic Project"
tagline = \markup {
\override #'(box-padding . 1.0) \override #'(baseline-skip . 2.7)
\box \center-column {
  \line { \with-url #"http://www.ponomar.net"; \line { www. \hspace #-1.0 ponomar \hspace #-1.0 .net \hspace #0.5 } • Orthodox Liturgical music that is \italic free to download, use, modify and distribute. }
  \line { Typeset using \with-url #"http://www.LilyPond.org"; \line { LilyPond } by \maintainer \hspace #-1.0 . \hspace #0.5 Copyright © 2011. \hspace #0.5 Reference: \footer }
  \line { \teeny \line { Licensed under the Creative Commons Attribution-ShareAlike 3.0 (Unported) License, for details see: \hspace #-0.5 \with-url #"http://creativecommons.org/licenses/by-sa/3.0"; http://creativecommons.org/licenses/by-sa/3.0 } }
}
  }
}

% #(set-global-staff-size 22)
global = {
  \key f \major
  \revert Score.SpacingSpanner #'packed-spacing
  \override Staff.NoteHead #'style = #'altdefault
  \override Staff.TimeSignature #'stencil = ##f
  \override Staff.BarLine #'stencil = ##f
}
move = { \bar "" \break }

soprano = \relative c'' {
  \global
  % Music follows here.
  g4 g2 g8(f) g(a) bf4 bf \divisioMinima
  bf4 a8(bf) c4(bf a) g8 a bf4(a g1) \divisioMaior
  
  g4 bf a bf \divisioMinima
  bf4^\markup {\bold *} 
  bf c2 c4 bf a g2(f) \divisioMinima
  bf2 bf8(a) g4 bf2 a4 g1 \divisioMaior
  
  g4 a bf bf bf \divisioMinima
  bf4 bf c c c \divisioMinima
  c8(bf a bf) c4 bf2(a4 bf8 a g4) a g\breve \finalis
}


tenor = \relative c' {
  \global
  % Music follows here.
  
}


bass = \relative c {
  \global
  % Music follows here.
  
}


\score {
  \new ChoirStaff <<
\new Staff \with {
  midiInstrument = "voice oohs"
  instrumentName = \markup \center-column { "S" }
  shortInstrumentName = \markup \center-column { "S" }
} <<
  \new Voice = "soprano" {\voiceOne \soprano }
  \relative c'' {
	g4 g2 g8(f) g(a) bf4 bf \divisioMinima
	bf4 a8(bf) c4(bf a) g8 a bf4(a g1) \divisioMaior
  
	g4 bf a bf \divisioMinima
	  \set melismaBusyProperties = #'()
	bf4^\markup {\bold *} 
	bf c2 c4 bf a g2(f) \divisioMinima
	  \unset melismaBusyProperties
	bf2 bf8(a) g4 bf2 a4 g1 \divisioMaior
	
	g4 a bf bf bf \divisioMinima
	bf4 bf c c c \divisioMinima
	c8(bf a bf) c4 bf2(a4 bf8 a g4) a g\breve \finalis
  }
  \new Staff \with {
midiInstrument = "voice oohs "
instrumentName = \markup \center-column { "T" "B" }
shortInstrumentName = \markup \center-column { "T" "B" }
} <<
 \clef bass
 \new Voice = "tenor" { \voiceOne \tenor }
  \relative c' {
	g4 g2 g8(f) g(a) bf4 bf \divisioMinima
	bf4 a8(bf) c4(bf a) g8 a bf4(a g1) \divisioMaior
	
	bf4 d c d \divisioMinima
	  \set melismaBusyProperties = #'()
	d4 d ef2 ef4 d c c2(a) \divisioMinima
	  \unset melismaBusyProperties
	d2 d8(c) bf4 d2 c4 bf1 \divisioMaior
	
	bf4 c d d d \divisioMinima
	d4 d ef ef ef \divisioMinima
	ef8(d c d) ef4 d2(c4 d8 c d4) c4 bf\breve \finalis
  }
 \new Voice = "bass" { \voiceTwo \bass }
  \relative c {
	g'4 g2 g8(f) g(a) bf4 bf \divisioMinima
	bf4 a8(bf) c4(bf a) g8 a bf4(a g1) \divisioMaior
	
	g4 g g g\divisioMinima
	  \set melismaBusyProperties = #'()
	g4 g f2 f4 f f c2(d) \divisioMinima
	  \unset melismaBusyProperties
	g2 g4 g d2 f4 g1 \divisioMaior
	
	g4 g g g g \divisioMinima
	g4 g f f f \divisioMinima
	f2 f4 g2 d1 \breve \finalis
  }
\new Lyrics \with {
  \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing
 #'minimum-distance = #6
} \lyricsto "soprano" {
 O come, let __ us __ wor -- ship,
 and fall __ down __ be -- fore Christ; __
  
 O Son of God,
 Who art ri -- sen from the dead, __
 Save us __ who sing to Thee:
 
 Al -- le -- lu -- i -- a,
 Al -- le -- lu -- i -- a,
 Al __ le -- lu __ i -- a!
 }
  \new Lyrics \lyricsto "tenor" {
	Who art won -- drous in Thy saints, __
}
  \new Lyrics \lyricsto "tenor" {
	Through the prayers of the Theo -- to -- kos, __
  }  
>>
  \layout { ragged-last=##t 
   #(layout-set-staff-size 22)
  }
 

Fwd: getting repeats to play in midi

2011-04-15 Thread James Lowe
to keep message in user
Begin forwarded message:

From: Tom Cloyd mailto:t...@tomcloyd.com>>
Date: 15 April 2011 22:25:27 GMT+01:00
To: James Lowe mailto:james.l...@datacore.com>>
Subject: Re: getting repeats to play in midi
Reply-To: mailto:t...@tomcloyd.com>>

But here's the problem which I keep running into. I'm reluctantly willing to 
join the documentation list, but while there's plenty of references to it, I 
have yet to see any link which takes me to a subscription process. Why not make 
this easy to locate?

It makes NO sense to me to advise me (as the documentation manual does) to post 
to what appears to be a documentation list (and I have to infer that), when I 
know that if I'm not a member my effort will be for naught, AND it is nowhere 
(that I have yet seen) stated HOW to join. Is this some kind of perverse test - 
you can join if you can discover how? I just went to look for this how-to-join 
information again. I've clicked about 15 links. All dry holes. I'm afraid my 
motivation won't outlast this test.

...All of which is about a possible need for refactoring aspects of the 
website, I think.

I hope this is helpful...and now I'm back to digging around in the website. 
This information surely is buried SOMEWHERE...

t,

On 04/15/2011 04:30 AM, James Lowe wrote:
Tom,

)-Original Message-
)From: Tom Cloyd [mailto:t...@tomcloyd.com]
)Sent: 15 April 2011 07:31
)To: James Lowe
)Subject: Re: getting repeats to play in midi
)
..
)
)I write hoping the feedback might be helpful in some way. I STILL have no
)idea where to send documentation suggests other than to lilypond-user.
)This information ideally would be in an obvious location on the website,
)and I never could find it. Kind of surprising, really..
)

The example in the 'Documentation suggestion' link I pointed you to

http://lilypond.org/doc/v2.13/Documentation/contributor/documentation-suggestions.html

implies emails are sent to

lilypond-de...@gnu.org

However you do need to join this email list (like you would have done for 
lilypond-user@gnu.org) else you will get the 
bounce you are seeing.

There is also a third list if you want to report bugs that you find

bug-lilyp...@gnu.org

Again a separate list that you need to subscribe to. While it does seem rather 
complex, it really helps keep the correct discussions in the appropriate place 
and also more importantly helps in terms of searching the archives, that say 
one list with every email discussed on it.

Not everyone subscribes to all lists, which is fine and we can cross post for 
you (i.e. forward emails to the other lists if that person is not subscribed) 
but that is not ideal and we'd rather not.

However all that said, ANY contribution to ANY lists is better than nothing.

We've seen you contribution to articulate.ly so that is 
in the works now.

Regards

James

--

~

"It is impossible for a man to learn what he thinks he already
knows." ~ Epictetus (c.55-c.135)
~
Tom Cloyd, MS MA
Private practice Psychotherapist
St. George, Utah, U.S.A: (435) 272-3332
<<  t...@tomcloyd.com>>  (email)
<<  TomCloyd.com>>  (website)
<<  sleightmind.wordpress.com>>  (mental 
health issues weblog)
~


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


Re: slur collides with ledger line & grace note size

2011-04-15 Thread James Lowe
Hello,
.

On 15 Apr 2011, at 23:52, "Carl Sorensen" 
mailto:c_soren...@byu.edu>> wrote:

.

I have been unable to determine how to change the size of grace notes.


>From another thread


>>  : see the grace
>> settings in *.../ly/engraver-init.ly*, line 638.
>> All the preset properties for grace notes are listed and set.

Is this what you were looking for?


James



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


Re: Problems with articulate.ly, seems to affect the pdf even with twoscore blocks

2011-04-15 Thread Nick Payne

On 15/04/11 23:18, Helge Hafting wrote:

On 15. april 2011 12:18, Trevor Daniels wrote:

Helge

Do you still get problems if the \include is moved
to lie within the midi \score block? The file redefines
some predefined commands, eg \afterGrace and \appoggiatura.



I can't have it inside the midi score block - that gives a syntax error
in line 92 of articulate.ly

But I moved the \include so it comes after the layout score block and
before the midi score block. That worked well.


Even that doesn't work if using \bookpart to have multiple scores in the 
one PDF - you still get the error on line 92 of articulate.ly with the 
include between the layout and midi score blocks. The include has to go 
outside the \bookpart block.


Nick

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


Re: getting repeats to play in midi

2011-04-15 Thread Tom Cloyd

Well, yes, we (or *I*) do seem to be running in circles in a sand storm.

So...

1. /Notation Reference/ section on articulate.ly 
 
- in the page footer, in rather small font (which I have missed until 
just now) is a link: suggestions for the documentation 
, 
which takes me to Documentation suggestions 
.  
Paragraph 1, sentence 3 has the link mailing lists 
 (plural!). But all that's 
referenced there is the lilypond-users list. Other lists are referenced 
on the page, but none are dedicated to documentation development. So 
following this link path to its end appears to dispel any beliefs in 
such a list.


Incidentally, Lilypond appears to live in an alternative universe, as 
well as this one, since the link at the foot of the /Notation Reference/ 
page takes us to what appears to be an older Lilypond website, or at 
least a different interface.


2. /Notation Reference/ 5.2 Documentation suggestions 
 
contains what appears to be a discussion list which is NOT 
lilypond-users. Because this is in a section about documentation, I 
thoughtlessly inferred that this list was about documentation, and this 
seems the be the sole basis for my misunderstanding about this mythical 
list. Sorry for the mental muddle. Hopes can take to realities, but also 
to sheer fiction!


To the best of my knowledge there are no other places that might lead 
one to think there was a documentation list. More than any other single 
factor, my belief in this list was due to my have always encountered 
such a list with major open source software project.


I think it's all clear now!

Tom

On 04/15/2011 03:34 PM, Graham Percival wrote:

On Fri, Apr 15, 2011 at 03:26:06PM -0600, Tom Cloyd wrote:

But here's the problem which I keep running into. I'm reluctantly
willing to join the documentation list, but while there's plenty of
references to it, I have yet to see any link which takes me to a
subscription process. Why not make this easy to locate?

There is a huge misunderstanding here.  There is NO SUCH THING as
a documentation list for lilypond.

All of our official, active, lists are here:
http://lilypond.org/contact.html
with the possible exception of the "frogs" list, which is here:
http://lilypond.org/help-us.html



It makes NO sense to me to advise me (as the documentation manual
does) to post to what appears to be a documentation list (and I have
to infer that),

Please state exactly which page caused you to "infer" that there
is a documentation list.  I want to fix this.



I just went to look for this how-to-join
information again. I've clicked about 15 links. All dry holes. I'm
afraid my motivation won't outlast this test.

Please tell me EXACTLY where you are looking so that I can fix it.
Starting with whatever made you think that there was a
documentation list.

- Graham



--

~

"It is impossible for a man to learn what he thinks he already
knows." ~ Epictetus (c.55-c.135)
~
Tom Cloyd, MS MA
Private practice Psychotherapist
St. George, Utah, U.S.A: (435) 272-3332
<<  t...@tomcloyd.com>>  (email)
<<  TomCloyd.com>>  (website)
<<  sleightmind.wordpress.com>>  (mental health issues weblog)
~

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


Re: bug ? effet du \chordGlissando sur la commande \markup

2011-04-15 Thread Carl Sorensen
On 4/15/11 12:00 PM, "Pierre Perol-Schneider"
 wrote:

> Dear Carl,
> 
> I forward you my first message because as I think you've initiated 
> \chordGlissando and also because I got no answer to the "bug" (is it really a
> bug ?).
> So I'm not sure you've had the feedback.
> Though I do like youre idea very much, and as a guitar player it will be
> really helpfull for me.
> If you need my mail completely tanslated don't hesitate to ask.
> Have a nice evening
> Pierre

Pierre,

Je voudrais que je pourrais parler francais meme que vouz parlez anglais.

I have fixed the problem with the multiple markups.

I have not been able to determine an automatic way to avoid the duplicated
glissando, but I have not seen it as a problem.

Can you show me an example where it causes the problem?

Thanks,

Carl

> 
> -- Message transféré --
> De : Pierre Perol-Schneider 
> Date : 14 avril 2011 18:18
> Objet : bug ? effet du \chordGlissando sur la commande \markup
> À : lilypond-user-fr 
> 
> 
> Découverte de ce soir : la multiplication du markup
> ( test sur l'exemple de la doc. 2.13 ) :
> 
> \version "2.13.59"
> 
> myMusic = \relative c' {
> 
>   \chordGlissando
>   8 
> ^\markup "too" % essai 1
>   
> ^\markup "many" % essai 2
> 
>   \bar "||"
> }
> 
> \score {
>   <<
> 
> 
> \new Staff {
>   \clef "treble_8"
>   \myMusic
> }
> \new TabStaff {
>   \myMusic
> }
>>> 
> }
> De plus la commande  \chordGlissando créé un glissando caché (dans l'exemple,
> les deux glissandi sont superposés : je l'ai fait apparaître en rouge dans le
> second fichier joint).
> ça n'est pas flagrant dans l'exemple mais sur un autre accord ce glissando
> caché est apparu barrant tous les autres (malheureusement impossible de
> remettre la main dessus).
> 


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


Re: 3 Lyric lines

2011-04-15 Thread Janek Warchoł
2011/4/16 Michael Dykes 
> I am attempting to have a section of my piece have 3 lyric lines, but only in 
> the middle of the piece. Here is my best attempt thus far, which as you can 
> see, results in errors that I am not sure how to fix. Thanks for all your 
> help, as usual.

I see three opening << and only one closing >>.
If fixing this doesn't solve the problem, please reduce your file to a
minimal example - currently the file is too big and cluttered to say
anything more.
I also strongly recommend that you use either tabs or spaces for
indentation, not mix them (i have different tab width and the code
looks extremely messy).
As for 3 lyric lines only in the middle of the piece, this is
described in Notation Reference 2.1.2.

HTH,
Janek

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


Re: lilypond-user Digest, Vol 101, Issue 71

2011-04-15 Thread Janek Warchoł
Hi,

your e-mail is completely unreadable. Please:
- always edit your Subject line so it is more specific than "Re:
Contents of lilypond-user digest..."
- do not quote entire digest text, only the message you are referring to,
- Write your message clearly separated from the quoted text.

cheers,
Janek

2011/4/16 Father Gordon Gilbert :
> On 15/04/2011, lilypond-user-requ...@gnu.org
>  wrote:
>> Send lilypond-user mailing list submissions to
>>       lilypond-user@gnu.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>       http://lists.gnu.org/mailman/listinfo/lilypond-user
>> or, via email, send a message with subject or body 'help' to
>>       lilypond-user-requ...@gnu.org
>>
>> You can reach the person managing the list at
>>       lilypond-user-ow...@gnu.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of lilypond-user digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re:getting repeats to play in midi (Graham Percival)
>>    2. Re:Phrasing Slurs only from another slur start? (Carl Sorensen)
>>    3. Re:Spacing lyrics and markup (bruys .)
>>    4. slur collides with ledger line & grace note size (Marc Mouries)
>>
>>
>> --
>>
>> Message: 1
>> Date: Fri, 15 Apr 2011 22:34:29 +0100
>> From: Graham Percival 
>> To: Tom Cloyd 
>> Cc: Lilypond 
>> Subject: Re: getting repeats to play in midi
>> Message-ID: <20110415213429.GA16308@futoi>
>> Content-Type: text/plain; charset=us-ascii
>>
>> On Fri, Apr 15, 2011 at 03:26:06PM -0600, Tom Cloyd wrote:
>>> But here's the problem which I keep running into. I'm reluctantly
>>> willing to join the documentation list, but while there's plenty of
>>> references to it, I have yet to see any link which takes me to a
>>> subscription process. Why not make this easy to locate?
>>
>> There is a huge misunderstanding here.  There is NO SUCH THING as
>> a documentation list for lilypond.
>>
>> All of our official, active, lists are here:
>> http://lilypond.org/contact.html
>> with the possible exception of the "frogs" list, which is here:
>> http://lilypond.org/help-us.html
>>
>>
>>> It makes NO sense to me to advise me (as the documentation manual
>>> does) to post to what appears to be a documentation list (and I have
>>> to infer that),
>>
>> Please state exactly which page caused you to "infer" that there
>> is a documentation list.  I want to fix this.
>>
>>
>>> I just went to look for this how-to-join
>>> information again. I've clicked about 15 links. All dry holes. I'm
>>> afraid my motivation won't outlast this test.
>>
>> Please tell me EXACTLY where you are looking so that I can fix it.
>> Starting with whatever made you think that there was a
>> documentation list.
>>
>> - Graham
>>
>>
>>
>> --
>>
>> Message: 2
>> Date: Fri, 15 Apr 2011 15:34:30 -0600
>> From: Carl Sorensen 
>> To: Nils , lilypond-user 
>> Subject: Re: Phrasing Slurs only from another slur start?
>> Message-ID: 
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> On 4/15/11 3:02 PM, "Nils"  wrote:
>>>
>>> However my Lilypond install 2.13.58 complains if I start the phrasing slur
>>> (\
>>> anywhere else except right before the normal slur, as seen in the example.
>>>
>>
>> Phrasing slur is \(, not (\.  You had the problem because (\ is invalid
>> LilyPond syntax.  By doing (\( you got a normal slur ( followed by a
>> phrasing slur \(, so you didn't end up with a syntax error.
>>
>> Hope this helps,
>>
>> Carl
>>
>>
>>
>>
>> --
>>
>> Message: 3
>> Date: Sat, 16 Apr 2011 08:07:15 +1000
>> From: "bruys ." 
>> To: Jan-Peter Voigt 
>> Cc: lilypond-user@gnu.org
>> Subject: Re: Spacing lyrics and markup
>> Message-ID: 
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Dear Jan-Peter,
>> Which version are you using? This doesn't work with 2.12.3, an '(n)' appears
>> above the extender line in the second bar.
>> Regards,
>> Bruys
>>
>> On Fri, Apr 15, 2011 at 9:58 PM, Jan-Peter Voigt  wrote:
>>
>>> Hello Phil,
>>>
>>> I think you can't move TextScript elements beyond lyrics with
>>> outside-staff-priority - the lyrics don't belong to a staff but are
>>> probably
>>> associated to a voice within. So you probably have to move the markup with
>>> \translate or the TextScript with extra-offset.
>>> If it is possible to get the vertical position of a lyrics context from
>>> within a staff/voice context, it should be possible to move something
>>> beyond
>>> that point. That would make some other things possible:
>>>
>>> If I place a closing "(n)" on an extender line, I do it with these two
>>> functions:
>>>
>>> %%% start snip
>>> freetext = #(define-music-function (parser location dx dy text)(number?
>>> number? markup?)
>>>  #{
>>>    \once \override TextScript #'X-extent = #'(0 . 0)
>>>    \once \override TextScript #'Y-extent = #'(0 . 0)
>>>    \once \override TextScript #'self-alignment-X = #CENTER
>>>    s1

Tuplet bracket length

2011-04-15 Thread bruys .
Greetings,

I would like the alter the length of the tuplet bracket so it extends from
the left-hand edge of the first notehead, to the right-hand edge of the last
notehead.

Lilypond seems to default to making the bracket go from the left-most stem
to the right-most stem. See the attached example.

In the attached example, there is also a problem with the nested triplets.
The two numerals '3' collide.Could this be a bug that has since been
corrected? In the final group of notes, where the inner triplet bracket is
printed in the upper position, it is interesting to note that Lilypond draws
the bracket enclosing the noteheads, not just the stems.

Thanks,
Bruys


%% tuplets
\version "2.12.3"

\header {
  title = "Tuplets"
}
notes = {
  %% nb. '3's clash in the following
  \times 2/3 { b'8[
  \times 2/3 { b'16 b' b' }
  b'8]
 }
  %% To force drawing of both tuplet brackets
  \override TupletBracket #'bracket-visibility = ##t

  \times 2/3 { b'8[
   \times 2/3 { b'16 b' b' }
   b'8]
 }
  %% To change positioning of inner tuplet bracket
  \times 2/3 { b'8[
   \once \override TupletBracket #'direction = #UP
   \times 2/3 { b'16 b' b' }
   b'8]
 }
}
\score {
  \notes
}
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tuplet bracket length

2011-04-15 Thread Janek Warchoł
2011/4/16 bruys . :
> Greetings,
>
> I would like the alter the length of the tuplet bracket so it extends from
> the left-hand edge of the first notehead, to the right-hand edge of the last
> notehead.

Search mailing list for
First page completed; tweaking questions
and see if that thread will help you.

> In the attached example, there is also a problem with the nested triplets.
> The two numerals '3' collide.Could this be a bug that has since been
> corrected?

It is a known bug and unfortunately it still exists in 2.13.59.

HTH,
Janek

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


How to prevent page number appearing on back of title page?

2011-04-15 Thread Nick Payne
It's happening because I'm using Header and Footer markups (cribbed from 
the Notation Reference examples) in order to have page numbers centred 
at the foot of the page. If I add a blank page on the back of the ToC, 
so that the first piece starts on a right-hand page, I'm getting a page 
number of 0 appearing on that supposedly blank page. How can I prevent 
that?


Below is a minimal example which shows the problem. The define of 
not-last-page in the main paper block is so that I can have a custom 
tagline on the final page.


\version "2.13.59"

date = #(strftime "%d/%m/%Y" (localtime (current-time)))

\paper {
#(define (not-last-page layout props arg)
(if (and (chain-assoc-get 'page:is-bookpart-last-page props #f)
(chain-assoc-get 'page:is-last-bookpart props #f))
empty-stencil
(interpret-markup layout props arg)))

first-page-number = -1
print-page-number = ##f
oddHeaderMarkup = \markup \fill-line { " " }
evenHeaderMarkup = \markup \fill-line { " " }
oddFooterMarkup = \markup \fill-line { \column {
\on-the-fly #not-last-page \on-the-fly #not-first-page 
\fromproperty #'page:page-number-string

\on-the-fly #last-page \fromproperty #'header:tagline
} }
evenFooterMarkup = \markup \fill-line { \column {
\on-the-fly #not-last-page \on-the-fly #not-first-page 
\fromproperty #'page:page-number-string

\on-the-fly #last-page \fromproperty #'header:tagline
} }
ragged-right = ##t
ragged-bottom = ##t
ragged-last-bottom = ##t
}

\header {
title = "Overall Title"
subtitle = \markup {
\left-align \center-column {
"Overall Subtitle"
\lower #2 " " % to space ToC away from title/subtitle
}
}
tagline = \markup {
\fontsize #-3.5
{
Engraved on \date using \with-url #"http://lilypond.org/";
{ LilyPond \simple #(lilypond-version) (http://lilypond.org/) }
}
}
}

\markuplines \table-of-contents
\pageBreak
\markup \null

\bookpart {
\paper {
print-page-number = ##t
}
\header {
subtitle = "Piece One"
composer = "Person One"
}
\tocItem \markup { 1. Piece One }
\relative c' { c1 }
}

\bookpart {
\paper {
print-page-number = ##t
}
\header {
subtitle = "Piece Two"
composer = "Person Two"
}
\tocItem \markup { 1. Piece Two }
\relative c' { c1 }
}

\bookpart {
\paper {
print-page-number = ##t
}
\header {
subtitle = "Piece Three"
composer = "Person Three"
}
\tocItem \markup { 3. Piece Three }
\relative c' { c1 }
}


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