Cross-staff phrase marks

2016-02-16 Thread Hilary Snaden
Are Bezier curves practical for making inter-voice and cross-staff phrase marks in LilyPond? It looks as though this could be quite labour-intensive, so any pointers or examples before I start could be useful. It's for a piano piece where a long melody moves between soprano, alto and tenor

moving slur attachment points globally

2016-02-16 Thread Kieren MacMillan
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 noteheads)? If so, what is the general setting that would make this happen

Re: Using path expressions to override stencils

2016-02-16 Thread Paul Morris
Hi Paul, If you are using 2.19 you might want to use "make-path-stencil” instead. (It is not in 2.18 and so not in the LSR yet. Although maybe we should add it commented out?) It calculates the extents of the stencil for you so you don’t have to specify them. See below. Cheers, -Paul

tweaking accidental padding within KeySignature

2016-02-16 Thread Kieren MacMillan
Hello all, I’m hoping to control the padding of accidentals within a KeySignature — specifically, I want to loosen/increase the spacing a little bit — but I can’t seem to find the right incantation. Any hints/links would be appreciated. Thanks, Kieren. Kieren

Arbitrary number of arguments in Scheme function?

2016-02-16 Thread Peter Crighton
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 event (the tie). Can this function be made more general for

Accessing header information for use in a Scheme script

2016-02-16 Thread 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 for the copyright in the header, I wanted to generate a variable with the copyright notice (in the

Re: variables in \book { }

2016-02-16 Thread Ben Strecker
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 page, and the last page in each section created with a \bookpart block, will be vertically justified in the same

Re: variables in \book { }

2016-02-16 Thread Graham King
On Wed, 2016-02-17 at 00:20 +0100, David Kastrup wrote: > Graham King writes: > > > On Tue, 2016-02-16 at 19:15 +0100, David Kastrup wrote: > > > > > >> > >> However, your original posting stated: > >> > >> > (Alternatively, if there's a way to make

Re: variables in \book { }

2016-02-16 Thread David Kastrup
Graham King writes: > On Tue, 2016-02-16 at 19:15 +0100, David Kastrup wrote: > > >> >> However, your original posting stated: >> >> > (Alternatively, if there's a way to make book-titling.ily do a >> > ragged-last-bottom for each piece, that would save even more

Re: variables in \book { }

2016-02-16 Thread Graham King
On Tue, 2016-02-16 at 19:15 +0100, David Kastrup wrote: > > However, your original posting stated: > > > (Alternatively, if there's a way to make book-titling.ily do a > > ragged-last-bottom for each piece, that would save even more work). > > Have you actually tried > > \layout { >

Re: Using path expressions to override stencils

2016-02-16 Thread Paul Booker
> Done. > http://lsr.di.unimi.it/LSR/Item?id=623 > Cheers, > Harm That's great, Thanks Thomas. Paul ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

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

2016-02-16 Thread Thomas Morley
2016-02-16 13:34 GMT+01:00 Robert Blackstone : > Hi Klaus, > > Thanks for this tip. Indeed these are all very small score blocks and > inserting them as a markup element gave the best result in the "real" file. > Concerning your second tip, inserting \markup \vspace

Re: Using path expressions to override stencils

2016-02-16 Thread Thomas Morley
2016-02-16 19:40 GMT+01:00 Paul Booker : > Paul Morris paulwmorris.com> writes: > >> >> > On Feb 16, 2016, at 8:35 AM, Paul Booker homebass.net> wrote: >> > >> > I've only narrowed the problem down to the function >> >> Hi Paul, Can you send a full but tiny example that we

Re: Using path expressions to override stencils

2016-02-16 Thread Thomas Morley
2016-02-16 21:40 GMT+01:00 Thomas Morley : > The LSR-snippet is wrong in this regard. > But 2.18.2 was more lax tolerating such things than new devel-versions. > I'll correct the LSR-snippet. Done. http://lsr.di.unimi.it/LSR/Item?id=623 Cheers, Harm

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread Urs Liska
Am 16. Februar 2016 20:44:30 MEZ, schrieb Esko Teerilahti : >I also made a quick test with Finale Songwriter. >I created a simple woodwind-quintet composition from the template and >exported to midi file. Key signature is in the control track and has >only one value, >eventhough

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread Esko Teerilahti
I also made a quick test with Finale Songwriter. I created a simple woodwind-quintet composition from the template and exported to midi file. Key signature is in the control track and has only one value, eventhough there is e.g. one Bb instrument in the quintet. Finale Songwriter then fails to

Re: Using path expressions to override stencils

2016-02-16 Thread Paul Booker
Paul Morris paulwmorris.com> writes: > > > On Feb 16, 2016, at 8:35 AM, Paul Booker homebass.net> wrote: > > > > I've only narrowed the problem down to the function > > Hi Paul, Can you send a full but tiny example that we can run/test with LilyPond? See: > >

Re: variables in \book { }

2016-02-16 Thread David Kastrup
Graham King writes: > On Tue, 2016-02-16 at 18:36 +0100, David Kastrup wrote: > >> Graham King writes: >> >> > oops, just found the simple fix (I think): > > > >> Have you actually _read_ your question? >> > > Yes, read the question,

Re: variables in \book { }

2016-02-16 Thread Graham King
On Tue, 2016-02-16 at 18:36 +0100, David Kastrup wrote: > Graham King writes: > > > oops, just found the simple fix (I think): > Have you actually _read_ your question? > Yes, read the question, but failed to read the rubbish I put forward as a "simple fix".

Re: variables in \book { }

2016-02-16 Thread David Kastrup
Graham King writes: > oops, just found the simple fix (I think): > > > \version "2.19.35" > > music = { \relative { c' d e f }} > > \book { > \score { > \music > } > } > > One extra

Re: variables in \book { }

2016-02-16 Thread Graham King
oops, just found the simple fix (I think): \version "2.19.35" music = { \relative { c' d e f }} \book { \score { \music } } One extra pair of braces around the music expression. Apologies for the noise.

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread Urs Liska
Am 16.02.2016 um 17:29 schrieb Phil Holmes: > - Original Message - From: "David Kastrup" > To: "Esko Teerilahti" > Cc: > Sent: Tuesday, February 16, 2016 4:09 PM > Subject: Re: There is no key signature in the generated Midi file ?

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread Phil Holmes
- Original Message - From: "David Kastrup" To: "Esko Teerilahti" Cc: Sent: Tuesday, February 16, 2016 4:09 PM Subject: Re: There is no key signature in the generated Midi file ? Esko Teerilahti writes: David

Re: Using path expressions to override stencils

2016-02-16 Thread Paul Morris
> On Feb 16, 2016, at 8:35 AM, Paul Booker wrote: > > I've only narrowed the problem down to the function Hi Paul, Can you send a full but tiny example that we can run/test with LilyPond? See: http://lilypond.org/tiny-examples.html That will make it easier to see what’s

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread David Kastrup
Esko Teerilahti writes: > David Kastrup kirjoitti 16.2.2016 kello 15.30: > >> >> Your screen shot of MidiYogi _clearly_ shows you looking in the control >> track. WHEREAS THE KEY (WHICH NEEDS NOT BE THE SAME ACROSS TRACKS) IS >> IN THE INDIVIDUAL

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread Esko Teerilahti
Small addition to this. When I added the Key signature into the control track, now also Finale Songwriter can read it. t. Esko Esko Teerilahti kirjoitti 16.2.2016 kello 16.28: > > David Kastrup kirjoitti 16.2.2016 kello 15.30: > >> >> Your screen

Re: glissando without start note?

2016-02-16 Thread Robin Bannister
BB wrote: With stringed instruments a playing technique (mainly in Rock, Pop, Blues, Jazz) to get some acoustic effect is to slide up a string to a defined fret without a real starting fret. Have a look at http://lists.gnu.org/archive/html/lilypond-user/2014-01/msg01191.html This was

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread Esko Teerilahti
David Kastrup kirjoitti 16.2.2016 kello 15.30: >>> > > Your screen shot of MidiYogi _clearly_ shows you looking in the control > track. WHEREAS THE KEY (WHICH NEEDS NOT BE THE SAME ACROSS TRACKS) IS > IN THE INDIVIDUAL INSTRUMENTS' TRACKS. > > DID YOU BOTHER TO CHECK THIS? >

variables in \book { }

2016-02-16 Thread Graham King
I'm working on a book containing twelve short single-movement quintets, originally with the intention of assembling them into a single volume with book-titling.ily. However, being unable to make book-titling.ily deliver a ragged-last-bottom margin for each of the twelve quintets, I'm now trying

Using path expressions to override stencils

2016-02-16 Thread Paul Booker
Regarding LSR item 623: http://lsr.di.unimi.it/LSR/Search?q=623 I'm sure I had this working with v2.18.2 but not having any luck with v2.19.36 In Win 8.1 I get an error message: /lily/grob-property.cc, Line 243 Expression: scm_is_null(value) || scm_is_eq(value, marker) I've only

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread David Kastrup
Teerilahti Esko writes: > Always something missing, when I try to be short. > I also have there definition > \language ”suomi” (finnish) > so ”h" is same as b, please do not stick to that. > > I didn’t yet get the lilymidi to work (missing midi.py, for some reason) > >

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread Teerilahti Esko
Always something missing, when I try to be short. I also have there definition \language ”suomi” (finnish) so ”h" is same as b, please do not stick to that. I didn’t yet get the lilymidi to work (missing midi.py, for some reason) I looked at the hex dump, and Yes, there is FF 59 02 03 = Key

glissando without start note?

2016-02-16 Thread BB
With stringed instruments a playing technique (mainly in Rock, Pop, Blues, Jazz) to get some acoustic effect is to slide up a string to a defined fret without a real starting fret. I tried a noatation: % 1st trial {e'4 r4 \glissando e'''2 | } % glissando does not work For optical reasons

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

2016-02-16 Thread Robert Blackstone
Hi Klaus, Thanks for this tip. Indeed these are all very small score blocks and inserting them as a markup element gave the best result in the "real" file. Concerning your second tip, inserting \markup \vspace #-1, I must confess that whatever I tried, I could not get it to do something. I

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

2016-02-16 Thread Robert Blackstone
Hello Federico, Thanks for your tip. I did play a bit with \paper {score-markup-spacing.basic-distance = 7} and I found that it worked quite well in the ME but a bit less so in my "real" file (which also contains a larger score) even when I set the value to 0. But I'll keep it in my

Re: Is there a bug in the way Lilypond handles staccatos?

2016-02-16 Thread Simon Albrecht
On 16.02.2016 07:22, Helge Kruse wrote: Maybe I'm wrong. But how are slurs related to stccatos? This was only a typo, corrected by Devin in a parallel post. Best, Simon ___ lilypond-user mailing list lilypond-user@gnu.org

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread Johan Vromans
On Tue, 16 Feb 2016 10:40:58 +0100 David Kastrup wrote: q> Parsing... > gaga.ly:9:30: error: unrecognized string, not in text script or \lyricmode > e4. e8~ e4. d8 r4 r8 e8 a4 > h4 \bar ".|:"h4 cis8 cis8 r2| Oh dear :) > I'm not really interested

Re: rotate fretdiagram and add fingering above

2016-02-16 Thread BB
Many thanks for all help. Works nice! On 16.02.2016 11:24, Thomas Morley wrote: (fret-count . 5) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: rotate fretdiagram and add fingering above

2016-02-16 Thread BB
Works! Try: %#(set-default-paper-size "a4" 'landscape) \markup { " " \override #'(size . 10 ) \override #'(fret-diagram-details . ((finger-code . in-dot) (orientation . #'landscape))) \fret-diagram-verbose #`( (place-fret 6 5 "R/3") (place-fret 5 4 "III/2") (place-fret 4 2 "V1/1") )

Re: rotate fretdiagram and add fingering above

2016-02-16 Thread Thomas Morley
2016-02-16 10:46 GMT+01:00 BB : > Sorry for my late response. Thanks for your help! > > > On 15.02.2016 16:44, Pierre Perol-Schneider wrote: > > 1) try \override #'(fret-diagram-details . ((finger-code . in-dot) > (orientation . #'landscape))) > > Thank you (orientation

Re: rotate fretdiagram and add fingering above

2016-02-16 Thread Pierre Perol-Schneider
oops: \override #'(fret-diagram-details . ((finger-code . in-dot) (orientation . landscape))) ... it did work acually 2016-02-16 11:16 GMT+01:00 David Kastrup : > Pierre Perol-Schneider writes: > > > 1) try \override #'(fret-diagram-details .

Re: rotate fretdiagram and add fingering above

2016-02-16 Thread David Kastrup
Pierre Perol-Schneider writes: > 1) try \override #'(fret-diagram-details . ((finger-code . in-dot) > (orientation . #'landscape))) #'landscape ? Can't imagine that to work. -- David Kastrup ___ lilypond-user

Re: rotate fretdiagram and add fingering above

2016-02-16 Thread BB
Sorry for my late response. Thanks for your help! On 15.02.2016 16:44, Pierre Perol-Schneider wrote: 1) try \override #'(fret-diagram-details . ((finger-code . in-dot) (orientation . #'landscape))) Thank you (orientation . #'landscape) works nice! 2) How should it look like? I found I can

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread David Kastrup
Esko Teerilahti writes: > Sorry, missed the point, here it is as a whole Parsing... gaga.ly:9:30: error: unrecognized string, not in text script or \lyricmode e4. e8~ e4. d8 r4 r8 e8 a4 h4 \bar ".|:"h4 cis8 cis8 r2| I'm not really interested in

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread Esko Teerilahti
Sorry, missed the point, here it is as a whole Esko global = { \time 4/4 \tempo 4=120 \key a\major } melody = \relative c'' { \global e4. e8~ e4. d8 r4 r8 e8 a4 h4 \bar ".|:"h4 cis8 cis8 r2| r4 r8 e,8 a4 h8 c8~ c1~ c8 r8 r8 d,8 g4 a4 a4 h8 h8 r2 r4 r8 d,8 g4 a8 b8~ b2 d8 b8 f8 e8

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread David Kastrup
Esko Teerilahti writes: > Thnks for the answer ! > Interesting, I have it in here, taken from some example > > global = { > \time 4/4 > \key a \major > \tempo 4=120 > } That's not an output producing example. Nobody can guess where you are going to call \global. > Time and

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread Esko Teerilahti
Thnks for the answer ! Interesting, I have it in here, taken from some example global = { \time 4/4 \key a \major \tempo 4=120 } Time and tempo are there in midi but not the key. David Kastrup kirjoitti 16.2.2016 kello 10.48: > Esko Teerilahti writes:

Re: There is no key signature in the generated Midi file ?

2016-02-16 Thread David Kastrup
Esko Teerilahti writes: > Hi ! > > I noticed that there is no key signature in the midi file. It is here. The file \version "2.18.2" \score { { \key a\major c1 } \midi { } } produces a Midi file that, printed with lilymidi --pretty, shows Filename:

Re: note head / stem mismatch with LV Golden Age

2016-02-16 Thread tisimst
I'm probably the only one who can help here. Can you send me the file that is causing the problem and show me a picture of what you are seeing? That will help a lot to diagnose and fix this properly. Thanks, Abraham On Monday, February 15, 2016, Flaming Hakama by Elaine [via Lilypond] <