Re: How to diminish the vertical space underneath a musical example

2016-02-17 Thread Robert Blackstone
Hi Harm, Thanks for this interesting additional tool. For my actual problem it does not help me very much, for while it diminishes the vertical space underneath the example, it somehow widens the space above the example. (In Dutch we would call it "Wet van behoud van ellende") But I'll play

Tie chord between staves

2016-02-17 Thread John Kinell
Hi! I'm new using lilypond, so please excuse me if this is a dumb question. \version "2.19.36" \language "english" \new PianoStaff << \new Staff = "up" \relative c' { s1 } \new Staff = "down" \relative c {\clef bass 4^~ \change Staff ="up" \tuplet 3/2 { 8

Re: variables in \book { }

2016-02-17 Thread Graham King
On Tue, 2016-02-16 at 19:27 -0500, Ben Strecker wrote: > Graham, > > > > Have you tried putting each score inside it’s own \bookpart? > > > The documentation for ragged-last-bottom says: > > > ragged-last-bottom > > > > If this is set to false, then the last

explicit (temporary) staff-spacing overrides

2016-02-17 Thread N. Andrew Walsh
Hi List, I have a piece in which a stretch of measures has no notes or barlines, but requires a lot of vertical space (that is, sets aside space into which graphics may be placed from external sources). So I have the following: \version "2.19.36" celloMusic = \relative c { \key c \major \clef

Re: variables in \book { }

2016-02-17 Thread Jan-Peter Voigt
Hi Graham, I didn't went through the whole thread, but IIUC, the problem is about defining variables inside a pair of braces. Sometimes I use a helper function to define variables: %%% snip %%% \version "2.19.35" % a little helper function using ly:parser-define! pdefine =

Re: variables in \book { }

2016-02-17 Thread David Kastrup
Graham King writes: > Thanks Ben, > that will be useful once I've found a solution to the immediate problem: > defining and using a variable within \book{} or \bookpart{} or > \book[part]{ \score { }} > > \version "2.19.35" > \book { > music

Re: moving slur attachment points globally

2016-02-17 Thread David Kastrup
Kieren MacMillan writes: > Hello all, > > Is it possible to have slurs start at the “4:30” position of the left > notehead, and end at the “7:30” position of the right notehead (where > “textbook slurs” would begin and end at the “6:00” position of both >

Re: Cross-staff phrase marks

2016-02-17 Thread Andrew Bernard
Hi HIlary, Are you able to show a pictorial example of the kind of thing you want to do? Lilypond uses bezier splines for Slurs and Phrasing Slurs, and the \shape function makes it possible to adjust the curve shapes. The extended \shapeII function in the openlilylib library is much nicer and

Re: variables in \book { }

2016-02-17 Thread Jan-Peter Voigt
... better to use define-void-function %%% snip %%% pdefine = #(define-void-function (sym val)(symbol? scheme?) (ly:parser-define! sym val)) %%% snip %%% Cheers Jan-Peter Am 17.02.2016 um 10:56 schrieb Jan-Peter Voigt: > Hi Graham, > > I didn't went through the whole thread, but IIUC, the

Ossia Piano Staff

2016-02-17 Thread N. Andrew Walsh
Hi List, also, in the same ensemble piece I mentioned in the last message, I'd like to have a passage in the piano part that also includes such "empty" staves for graphics, but only within one section. I'm trying to apply the NR instructions for ossia staves, and it's apparently not working.

Re: Tie chord between staves

2016-02-17 Thread Pierre Perol-Schneider
Hi John, How about: \version "2.19.36" \language "english" \new PianoStaff << \new Staff = "up" \relative c' { s1 } \new Staff = "down" \relative c { \clef bass << { \stemDown < af'-\tweak control-points #'((1.4 . -7) (1.7 . -4) (3 . -2.2) (4 . -2.2))^~

Re: Tie chord between staves

2016-02-17 Thread Urs Liska
Hi John, before you are wondering about the code example you got by Pierre, let me tell you that you have already managed to run into one of the more annoying and embarrassing issues with LilyPond. There actually is no proper support for ties that are not strictly horizontal, which affect staff

Re: Accessing header information for use in a Scheme script

2016-02-17 Thread Thomas Morley
2016-02-17 2:19 GMT+01:00 Rafael Ramirez Morales : > Hello, > > I'm trying to access the information of the values in the \header section. > > I would like to use these values (if defined) to generate automatically a > markup. > > More specifically, given a value

Re: Tie chord between staves

2016-02-17 Thread Andrew Bernard
Hi John and a warm welcome to the world of lilypond. This is a difficult question, as you see from the answers from Pierre and Urs. I was considering this matter for you. I spend my time setting scores by my colleague who is a foremost exponent of the so called New Complexity School (and

Re: tweaking accidental padding within KeySignature

2016-02-17 Thread Pierre Perol-Schneider
Hi Kieren, #(set-global-staff-size 100) #(set-default-paper-size "a4" 'landscape) \version "2.19.36" { \key c\minor \omit Staff.TimeSignature c' \once\override Staff.KeySignature.padding = #0.2 \key c\minor c' \once\override Staff.KeySignature.padding = #-.1 \key c\minor c' } Or? Did

Fwd: Ossia Piano Staff

2016-02-17 Thread N. Andrew Walsh
Whoops. forgot to reply-all. Here's my reply to Andrew Bernard's message. UPDATE: I've discovered the \omit Staff.TimeSignature command, so now the time signature is properly hidden. My last issue with this score is controlling staff spacing within systems on an explicit per-measure basis (ie,

Re: variables in \book { }

2016-02-17 Thread Graham King
On Wed, 2016-02-17 at 10:58 +0100, David Kastrup wrote: > Graham King writes: > > > Thanks Ben, > > that will be useful once I've found a solution to the immediate problem: > > defining and using a variable within \book{} or \bookpart{} or > > \book[part]{ \score {

Re: moving slur attachment points globally

2016-02-17 Thread Kieren MacMillan
Hi David, Thanks for the response. > it is hard to guess which cases you are trying to cover or not. Essentially all of them (this is for a stylesheet, which intends to mimic an existing publishing house style). Which is why including any arbitrary example(s) in my original post made — and

Re: variables in \book { }

2016-02-17 Thread David Kastrup
Graham King writes: > On Wed, 2016-02-17 at 10:58 +0100, David Kastrup wrote: > >> The problem with the repeated use of "I've tried that" is that nobody >> can really guess just _what_ exactly you have tried with what error >> messages as the result. And nobody can

Re: moving slur attachment points globally

2016-02-17 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > > Thanks for the response. > >> it is hard to guess which cases you are trying to cover or not. > > Essentially all of them (this is for a stylesheet, which intends to > mimic an existing publishing house style). Which is why

Re: tweaking accidental padding within KeySignature

2016-02-17 Thread Kieren MacMillan
Hi Pierre, > Did I misunderstand the question? No, this is great. Thanks. That being said… 1. Where is ‘padding’ listed in or in any of the interfaces referenced on that page? I can’t find it. 2. Even if I could find

Re: Ossia Piano Staff

2016-02-17 Thread Phil Holmes
I don't know a "good" way. A hacky way is to place a hidden markup or note within the measure so that it forces the spacing to be what you want. -- Phil Holmes - Original Message - From: N. Andrew Walsh To: lilypond-user Sent: Wednesday, February 17, 2016 11:44 AM

Re: Ossia Piano Staff

2016-02-17 Thread N. Andrew Walsh
Yeah, that's what I settled on, too. It's exactly the sort of ugly hack I wanted to avoid (putting invisible content into the score to force presentation changes), but my lilypond-fu is weak :( On Wed, Feb 17, 2016 at 1:36 PM, Phil Holmes wrote: > I don't know a "good" way.

Re: moving slur attachment points globally

2016-02-17 Thread Urs Liska
Am 17.02.2016 um 13:32 schrieb David Kastrup: > Kieren MacMillan writes: > >> Hi David, >> >> Thanks for the response. >> >>> it is hard to guess which cases you are trying to cover or not. >> Essentially all of them (this is for a stylesheet, which intends to >>

Re: tweaking accidental padding within KeySignature

2016-02-17 Thread Pierre Perol-Schneider
2016-02-17 13:35 GMT+01:00 Kieren MacMillan : > Hi Pierre, > > > Did I misunderstand the question? > > No, this is great. Thanks. > > That being said… > > 1. Where is ‘padding’ listed in < > http://www.lilypond.org/doc/v2.19/Documentation/internals/keysignature> >

Re: Arbitrary number of arguments in Scheme function?

2016-02-17 Thread David Kastrup
Peter Crighton writes: > Hello, > > I am working on a Scheme function that improves ties when writing in > rhythmic notation (improvisationOn). Now I have the problem that I > don’t know how many post events a duration might have – my current > function works only for one

Re: moving slur attachment points globally

2016-02-17 Thread David Kastrup
Urs Liska writes: > Am 17.02.2016 um 13:32 schrieb David Kastrup: >> Kieren MacMillan writes: >> >>> Hi David, >>> >>> Thanks for the response. >>> it is hard to guess which cases you are trying to cover or not. >>> Essentially all of

Re: Using path expressions to override stencils

2016-02-17 Thread Paul Booker
> > customClefStencilTwo = > #(make-path-stencil > '(rmoveto 0 0 > rcurveto 0 0.75 1 0.75 1 0 > rcurveto 0 -0.75 -1 -0.75 -1 0 > rcurveto -1 0 -1 1.5 -0.5 1.5 > rmoveto 0.5 -1.5 > rcurveto -1 0 -1 -1.5 -0.5 -1.5 > rmoveto 0.5 1.5 > rmoveto 1 0 > rcurveto

Re: moving slur attachment points globally

2016-02-17 Thread Andrew Bernard
HI Kieran, But when slurs are up and stems are up they can’t start at 4:30 can they? Andrew On 17/02/2016, 16:02, "Kieren MacMillan" wrote: Hello all, Is it possible to have slurs start at

Re: moving slur attachment points globally

2016-02-17 Thread Kieren MacMillan
Hi Andrew, > But when slurs are up and stems are up they can’t start at 4:30 can they? Of course they can. In the best of all possible worlds, the user would be able [without explicit and individual \shape or #’details overrides] to say something like \override

Re: tweaking accidental padding within KeySignature

2016-02-17 Thread Kieren MacMillan
Hi Pierre, > Here: > http://www.lilypond.org/doc/v2.18/Documentation/internals/key_002dsignature_002dinterface Thanks. Sorry for the noise. > AFAIK, I found the 'padding description pretty clear (even though, as you > point it out, not intuitive). For what other grob(s) does #’padding affect

Re: tweaking accidental padding within KeySignature

2016-02-17 Thread Pierre Perol-Schneider
Hi Kieren, 2016-02-17 15:38 GMT+01:00 Kieren MacMillan : > > AFAIK, I found the 'padding description pretty clear (even though, as > you point it out, not intuitive). > > For what other grob(s) does #’padding affect the INTERNAL spacing of items > inside the grob

Re: variables in \book { }

2016-02-17 Thread Simon Albrecht
On 17.02.2016 13:27, David Kastrup wrote: Graham King writes: \book { music = \relative { c' d e f } \score { \music } } The problem is that it would likely be possible to teach LilyPond's

Re: Cross-staff phrase marks

2016-02-17 Thread Simon Albrecht
On 17.02.2016 11:01, Andrew Bernard wrote: lilypond uses only cubic bezier curves, Which means they can have at most one ‘turning point’, that’s the limitation. So S-shaped is possible, but ‘W-shaped’ isn’t. Best, Simon ___ lilypond-user mailing

Re: Arbitrary number of arguments in Scheme function?

2016-02-17 Thread Simon Albrecht
On 17.02.2016 14:02, David Kastrup wrote: I don't really see much of an option other than accepting 8 and consequently also 8(~ as an expression of type ly:music? Which would be a useful feature IMO. Best, Simon ___ lilypond-user mailing list

Re: Cross-staff phrase marks

2016-02-17 Thread Kieren MacMillan
Hi Simon, > Which means they can have at most one ‘turning point’, that’s the limitation. > So S-shaped is possible, but ‘W-shaped’ isn’t. We have id control and \shape (amongst other overrides). Hence with chaining, [composite] slurs could conceivably take on any number of inflections, no?

Re: Cross-staff phrase marks

2016-02-17 Thread Simon Albrecht
On 17.02.2016 18:19, Kieren MacMillan wrote: chaining, [composite] slurs There’s no such thing, and it sounds like a nightmare ;-) Best, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Cross-staff phrase marks

2016-02-17 Thread Kieren MacMillan
Hi Simon, >> chaining, [composite] slurs > There’s no such thing, and it sounds like a nightmare ;-) Oh, I agree it would be a nightmare… But “there’s no such thing” just isn’t true: the snippet below shows how to get two separate slurs covering the same set of notes, and from there, making a

Re: Cross-staff phrase marks

2016-02-17 Thread David Nalesnik
On Wed, Feb 17, 2016 at 11:31 AM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Simon, > > >> chaining, [composite] slurs > > There’s no such thing, and it sounds like a nightmare ;-) > > Oh, I agree it would be a nightmare… > > But “there’s no such thing” just isn’t true: the

Re: Arbitrary number of arguments in Scheme function?

2016-02-17 Thread David Kastrup
Simon Albrecht writes: > On 17.02.2016 14:02, David Kastrup wrote: >> I don't really see much of an option other than accepting 8 and >> consequently also 8(~ as an expression of type ly:music? > > Which would be a useful feature IMO. Me and my worm can collection. --

Re: variables in \book { }

2016-02-17 Thread David Kastrup
Simon Albrecht writes: > On 17.02.2016 13:27, David Kastrup wrote: >> Graham King writes: >> >>> >>>\book { >>> music = \relative { c' d e f } >>> \score { >>> \music >>> } >>>

Re: Cross-staff phrase marks

2016-02-17 Thread Pierre Perol-Schneider
Mark Witmer did that also: https://raw.githubusercontent.com/mwitmer/LyUtil/master/ly/expressive_markings/vibrato.ly ~Pierre 2016-02-17 18:43 GMT+01:00 David Nalesnik : > > > On Wed, Feb 17, 2016 at 11:31 AM, Kieren MacMillan < > kieren_macmil...@sympatico.ca> wrote: >

Re: Cross-staff phrase marks

2016-02-17 Thread Carl Sorensen
On 2/17/16 10:31 AM, "Kieren MacMillan" wrote: >Hi Simon, > >>> chaining, [composite] slurs >> There¹s no such thing, and it sounds like a nightmare ;-) > >Oh, I agree it would be a nightmareŠ > >But ³there¹s no such thing² just isn¹t true: the snippet below

Re: Cross-staff phrase marks

2016-02-17 Thread Kieren MacMillan
Hi Carl, > Slurs are *not* bezier curves; they are bezier sandwiches (meaning they > have an upper and lower bezier curve, with common endpoints. We would > need to define a composite bezier sandwich in order to develop proper > composite curves. > > Of course, that could be done. Good point.

Re: variables in \book { }

2016-02-17 Thread Noeck
>> I don’t think that not having a proper >> scope for each book/bookpart is a problem. > > I think it is. > >> So I’d vote for this change. > > I vote against it. It does not make sense that when I write I would also say, without its own scope there is little gain and it will just lead to

Re: Arbitrary number of arguments in Scheme function?

2016-02-17 Thread Peter Crighton
2016-02-17 14:02 GMT+01:00 David Kastrup : > That requires a change in the parser. If you put up a respective > request, I'll take a look whether I can implement it in one of the next > versions. How and where do I do that? -- Peter Crighton | Musician & Music Engraver based in

Re: Arbitrary number of arguments in Scheme function?

2016-02-17 Thread Urs Liska
Am 17.02.2016 um 22:42 schrieb Peter Crighton: > 2016-02-17 14:02 GMT+01:00 David Kastrup : >> That requires a change in the parser. If you put up a respective >> request, I'll take a look whether I can implement it in one of the next >> versions. > How and where do I do that?

Re: Accessing header information for use in a Scheme script

2016-02-17 Thread Rafael Ramirez Morales
YES. Exactly like that! Thank you. That solves point 1/ & 2/, and with some minor tweaks, I can hack a solution for point 3. %% BEGIN workcase #(define header-alist (let* ((defaultheader-entries (ly:module->alist $defaultheader)) (defaults '("title-default"

Re: Cross-staff phrase marks

2016-02-17 Thread Andrew Bernard
Hi Carl, Sure, but for the end user the overall average path or I suppose centre line of the slur is practically a bezier curve, and the shape functions available control the normal four control points of such a cubic curve. So in practice one can think of them as bezier curves. Andrew On