Re: Defining event classes

2015-03-31 Thread Nathan Ho
On Tue, Mar 31, 2015 at 4:41 PM, David Nalesnik wrote: > > You need to add 'event' to types for your event to register. (I'd have to > investigate why.) Also, 'music-event' should be replaced with > 'general-music'. > > #(define bang-types >'( > (BangEvent > . ((description . "BAN

Re: Messiaen-style ties?

2015-03-31 Thread David Nalesnik
On Tue, Mar 31, 2015 at 10:53 PM, David Nalesnik wrote: > > > The property 'minimum-length doesn't seem to have an effect > Seems like it ought to... RepeatTie and LaissezVibrerTie as well. \override RepeatTie.minimum-length = #5 % does nothing alone \override RepeatTie.springs-and-rods = #ly:

Re: Messiaen-style ties?

2015-03-31 Thread David Nalesnik
Hi Trevor, On Tue, Mar 31, 2015 at 9:08 PM, Trevor Bača wrote: > Hi Kieren, Simon, Pierre, Abraham & everyone, > > Just a follow up that using \repeatTie does definitely accomplish what I > was looking for; I have it integrated into the score now and it's working > in all configurations. > > A r

Re: Text above fermata

2015-03-31 Thread Jim Long
On Wed, Apr 01, 2015 at 01:37:58AM +, Craig Dabelstein wrote: > Hi Lilyponders, > > Does anybody know how I can get the text in this example to be above the > fermata instead of below? > > When the fermata is attached o a full measure rest, the text goes > automatically above, but when attach

Re: Text above fermata

2015-03-31 Thread Andrew Bernard
You could try this. \score {   \new Staff {     c4 c c c |     R1\fermataMarkup ^"G.P." |     c4 c c c |     c2 r2^\markup {       \halign #-0.2       \center-column {         "G.P."         \fermata       }     } |   } } This works, but the vertical spacing is different to the first fermata mar

Re: parts for natural horns and trumpets

2015-03-31 Thread Alex Loomis
I'm trying to understand your problem. Is it that the horn part is currently in concert pitch and you're looking for an easy way to transpose it? Are you asking how to notate the changes? Perhaps it would help if you attached an image of what things look like now and described what you want. Alex

parts for natural horns and trumpets

2015-03-31 Thread Craig Dabelstein
Hi Lilyponders, Does anyone have a successful way of writing parts for natural horns and trumpets that would change crooks (and therefore transpositions) several times during a part. There would be a global file holding the many key and time signature changes and then I would need the part to cha

Re: Messiaen-style ties?

2015-03-31 Thread Trevor Bača
Hi Kieren, Simon, Pierre, Abraham & everyone, Just a follow up that using \repeatTie does definitely accomplish what I was looking for; I have it integrated into the score now and it's working in all configurations. A remaining question: I'm guessing there's not a way to lengthen repeat-ties? (He

Text above fermata

2015-03-31 Thread Craig Dabelstein
Hi Lilyponders, Does anybody know how I can get the text in this example to be above the fermata instead of below? When the fermata is attached o a full measure rest, the text goes automatically above, but when attached to a 2 beat rest the text goes below. Thanks, Craig \version "2.19.16"

Re: Having shortInstrumentName appear at start of score (instead of instrumentName)?

2015-03-31 Thread Trevor Bača
Hi Harm & hi Nathan, Incredible. I'm shocked that this do-able. Harm, the solution of overriding the after-line-breaking property on the Instrument grob with a lambda especially blows my mind. Nathan, thank you for expanding my understanding of context construction with a single example. Integra

Re: Defining event classes

2015-03-31 Thread David Nalesnik
On Tue, Mar 31, 2015 at 6:41 PM, David Nalesnik wrote: > You need to add 'event' to types for your event to register. (I'd have to > investigate why.) > FWIW, "event" is looked for in lily/music-iterator.cc. Also, 'music-event' should be replaced with 'general-music'. > I'm not finding that

Re: Defining event classes

2015-03-31 Thread David Nalesnik
Hi Nathan, On Tue, Mar 31, 2015 at 3:53 PM, Nathan Ho wrote: > On Mon, Mar 30, 2015 at 1:44 PM, Nathan Ho > wrote: > >> Hi list, >> >> What is the most up-to-date way to define my own event classes? >> >> I've looked at frameEngraver as a model but none of the old versions >> seem to be working

Using SVG backend to implement point-and-click to braille location

2015-03-31 Thread Mario Lang
Hi. This is basically a big thank you to the LilyPond community. I am writing software to deal with braille music code. Recently, I have started to implement a GUI for the functionality already implemented, based on Qt. My program uses LilyPond to render visual music notation based on the braill

Re: Padding inside \bracket markup?

2015-03-31 Thread Thomas Morley
2015-03-31 16:40 GMT+02:00 Trevor Bača : > Hi, > > Is there a way to pad bracketed markup ... > >% doesn't work >\override #'(padding . 2) \bracket Foo > > ... analogously to parenthesized markup ... > >% does work >\override #'(padding . 2) \bracket Foo > > ... with an \override, o

Re: Having shortInstrumentName appear at start of score (instead of instrumentName)?

2015-03-31 Thread Thomas Morley
2015-03-31 22:23 GMT+02:00 Nathan Ho : > On Tue, Mar 31, 2015 at 12:46 PM, Trevor Bača wrote: >> >> Hi, >> >> Let's say that I have a stylesheet that sets instrumentName values and >> shortInstrumentName values for a bunch of contexts in the normal way: >> >> \context { >> \Staff >>

Re: Full measure rests seem to double-count

2015-03-31 Thread Paul Scott
On Tue, Mar 31, 2015 at 10:55:17PM +0100, Henry Law wrote: > I'm writing a part in 4/4 which requires the player to remain silent for the > first three bars. I want to compress the rests, so I want the page to start > with a "Full measure" rest with the number 3 above it. > > The notation manual

Full measure rests seem to double-count

2015-03-31 Thread Henry Law
I'm writing a part in 4/4 which requires the player to remain silent for the first three bars. I want to compress the rests, so I want the page to start with a "Full measure" rest with the number 3 above it. The notation manual under the heading "Full measure rests" suggests that I code an R1

Re: Defining event classes

2015-03-31 Thread Nathan Ho
On Mon, Mar 30, 2015 at 1:44 PM, Nathan Ho wrote: > Hi list, > > What is the most up-to-date way to define my own event classes? > > I've looked at frameEngraver as a model but none of the old versions > seem to be working. The most up-to-date one I could find > (https://lists.gnu.org/archive/htm

Re: Having shortInstrumentName appear at start of score (instead of instrumentName)?

2015-03-31 Thread Nathan Ho
On Tue, Mar 31, 2015 at 12:46 PM, Trevor Bača wrote: > Hi, > > Let's say that I have a stylesheet that sets instrumentName values and > shortInstrumentName values for a bunch of contexts in the normal way: > > \context { > \Staff > ... > instrumentName = \markup { Flut

Having shortInstrumentName appear at start of score (instead of instrumentName)?

2015-03-31 Thread Trevor Bača
Hi, Let's say that I have a stylesheet that sets instrumentName values and shortInstrumentName values for a bunch of contexts in the normal way: \context { \Staff ... instrumentName = \markup { Flute } shortInstrumentName = \markup { Fl. } } \context {

Re: Padding inside \bracket markup?

2015-03-31 Thread Trevor Bača
Hi Nathan, Thank you. That did it exactly. Trevor. On Tue, Mar 31, 2015 at 1:27 PM, Nathan Ho wrote: > On Tue, Mar 31, 2015 at 7:40 AM, Trevor Bača wrote: > >> Hi, >> >> Is there a way to pad bracketed markup ... >> >>% doesn't work >>\override #'(padding . 2) \bracket Foo >> >> ... a

Re: string variable for markup

2015-03-31 Thread Stephen MacNeil
Thanks for putting on the path Mark! This is my solution thus far to a sizable hairpin for accent dynamics acdy = #(define-music-function (parser location str) (number?) #{ -\markup { \pad-markup #.5 \halign #-1.2 \combine \draw-line #`(,str . 0.7) \draw-line #`(,str . -0.7) } #} )

RE:Padding inside \bracket markup?

2015-03-31 Thread Stephen MacNeil
what about \override Score.TextScript.padding = #3 or \override Score.TextScript.Y-offset = #-3 Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Padding inside \bracket markup?

2015-03-31 Thread Nathan Ho
On Tue, Mar 31, 2015 at 7:40 AM, Trevor Bača wrote: > Hi, > > Is there a way to pad bracketed markup ... > >% doesn't work >\override #'(padding . 2) \bracket Foo > > ... analogously to parenthesized markup ... > >% does work >\override #'(padding . 2) \bracket Foo > > ... with an

Padding inside \bracket markup?

2015-03-31 Thread Trevor Bača
Hi, Is there a way to pad bracketed markup ... % doesn't work \override #'(padding . 2) \bracket Foo ... analogously to parenthesized markup ... % does work \override #'(padding . 2) \bracket Foo ... with an \override, or equivalent? Trevor. -- Trevor Bača trevorb...@gmail.com

Re: LSR – Colouring editorial annotations function

2015-03-31 Thread Pierre Perol-Schneider
Hi Simon, Thanks for sharing! Cheers, Pierre 2015-03-31 1:19 GMT+02:00 Simon Albrecht : > Hello everybody, > > I currently enjoy some fruits of continued delving into scheme: I had an > exciting new idea for a utility function to conveniently override the > colour of objects, as I use to do with