Re: MultiMeasureRest symbol spacing

2017-01-02 Thread David Nalesnik
On Sat, Dec 31, 2016 at 12:46 PM, David Nalesnik wrote: > On Sat, Dec 31, 2016 at 11:27 AM, David Nalesnik > wrote: >> On Sat, Dec 31, 2016 at 11:20 AM, David Nalesnik >> wrote: >>> Hmmm >>> >>> I'm having misgivings about the idea of fixed

Re: MultiMeasureRest symbol spacing

2016-12-31 Thread David Nalesnik
On Sat, Dec 31, 2016 at 11:27 AM, David Nalesnik wrote: > On Sat, Dec 31, 2016 at 11:20 AM, David Nalesnik > wrote: >> Hmmm >> >> I'm having misgivings about the idea of fixed space between symbols. >> >> Looking at several Breitkopf & Härtel p

Re: MultiMeasureRest symbol spacing

2016-12-31 Thread David Nalesnik
On Sat, Dec 31, 2016 at 11:20 AM, David Nalesnik wrote: > Hmmm > > I'm having misgivings about the idea of fixed space between symbols. > > Looking at several Breitkopf & Härtel parts, I see rests spaced to > fill available space. Though, because spacing is compac

Re: MultiMeasureRest symbol spacing

2016-12-31 Thread David Nalesnik
Hmmm I'm having misgivings about the idea of fixed space between symbols. Looking at several Breitkopf & Härtel parts, I see rests spaced to fill available space. Though, because spacing is compact, we never see the awful behavior Jan-Peter's example reveals. http://imslp.org/wiki/Symphony_

Re: MultiMeasureRest symbol spacing

2016-12-29 Thread David Nalesnik
On Tue, Dec 27, 2016 at 4:11 AM, Phil Holmes wrote: > - Original Message - From: "Jan-Peter Voigt" > To: "David Nalesnik" > Cc: "lilypond-user Mailinglist" > Sent: Tuesday, December 27, 2016 9:59 AM > Subject: Re: MultiMeasureRest symbol s

Re: Hello everyone / Instrument-Name-Abbreviation on front of every system

2016-12-28 Thread David Nalesnik
Hi UCas, On Wed, Dec 28, 2016 at 6:12 PM, UCas wrote: > ** me ** > > First of all, hello everyone. > I use lilypond for a few years now and until today I found a solution > for most of my problems by myself or by asking @JANieuwenhuizen on > Twitter. ;-) > Today, instead of asking him I thought,

Re: MultiMeasureRest symbol spacing

2016-12-25 Thread David Nalesnik
On Sun, Dec 25, 2016 at 2:41 AM, Jan-Peter Voigt wrote: > Dear David, > > this sounds great! Thank you very much! > But first of all: All the best for the current holidays! and to you too! ___ lilypond-user mailing list lilypond-user@gnu.org https://li

Re: Cannot move measure counters vertically

2016-12-24 Thread David Nalesnik
On Sat, Dec 24, 2016 at 3:25 PM, David Nalesnik wrote: > On Sat, Dec 24, 2016 at 10:32 AM, Kieren MacMillan > wrote: >> Hi Seng Liang, >> >>> Neither the staff-padding or padding seems to work. What am I doing wrong? >> >> Y-offset seems to work: >

Re: Cannot move measure counters vertically

2016-12-24 Thread David Nalesnik
On Sat, Dec 24, 2016 at 10:32 AM, Kieren MacMillan wrote: > Hi Seng Liang, > >> Neither the staff-padding or padding seems to work. What am I doing wrong? > > Y-offset seems to work: outside-staff-padding should work, too. If you're interested in the cause staff-padding doesn't work here, see th

Re: MultiMeasureRest symbol spacing

2016-12-24 Thread David Nalesnik
Hi, On Fri, Dec 23, 2016 at 11:01 AM, David Nalesnik wrote: > > The default is actually to allow the components of the church rest to > expand to fill the available space within the measure. The symbols > making up the rest are assigned a padding value proportional to the > vis

Re: shapeII debugging

2016-12-23 Thread David Nalesnik
On Fri, Dec 23, 2016 at 7:13 PM, David Nalesnik wrote: > Like Simon, I fear that the notehead-alignment stuff will be difficult > to tackle, and we shouldn't hold up improving LilyPond against the > possibly remote day when the issue is fixed. > The part beginning with "

Re: shapeII debugging

2016-12-23 Thread David Nalesnik
On Fri, Dec 23, 2016 at 6:55 PM, Andrew Bernard wrote: > Hi David, > > On 24 December 2016 at 07:42, David Nalesnik > wrote: >> >> >> >> Oh, that wasn't clear. Patch LilyPond with what of \shapeII works; >> keep the function as-is in openl

Re: shapeII debugging

2016-12-23 Thread David Nalesnik
On Fri, Dec 23, 2016 at 2:38 PM, David Nalesnik wrote: > On Fri, Dec 23, 2016 at 2:29 PM, Simon Albrecht > wrote: > >> >> My ‘minimal’ example file is the attached one. Last time I tried to get >> to the source of the problem I found this tracker issue [1] and came

Re: shapeII debugging

2016-12-23 Thread David Nalesnik
On Fri, Dec 23, 2016 at 2:29 PM, Simon Albrecht wrote: > > My ‘minimal’ example file is the attached one. Last time I tried to get > to the source of the problem I found this tracker issue [1] and came to > the conclusion that a fix would require integration of shapeII deep in > the C++ LilyPond

Re: MultiMeasureRest symbol spacing

2016-12-23 Thread David Nalesnik
e extensive recoding. HTH, David From 2db13e3ab86920886574585bf9130a0bebdfd096 Mon Sep 17 00:00:00 2001 From: David Nalesnik Date: Fri, 23 Dec 2016 10:39:12 -0600 Subject: [PATCH] Implement no-stretch for MultiMeasureRest Ordinarily, church rests expand to fill the measure. This patch implement

Re: Rests in polyphonic and simple music in the same staff in LilyPond version 2.18.2.

2016-12-22 Thread David Nalesnik
On Thu, Dec 22, 2016 at 9:01 AM, Alexander Kobel wrote: > On 2016-12-22 15:28, Kieren MacMillan wrote: >> >> Hi Alexander (et al.), >> >>> http://lsr.di.unimi.it/LSR/Item?id=336 >> >> >> Is this useful function part of the regular distro? > > > Not that I'm aware of. > >> If not, is there a techni

Re: merge rests

2016-12-22 Thread David Nalesnik
Ming, On Thu, Dec 22, 2016 at 9:54 AM, MING TSANG wrote: > > Dear lilyponders, > > At this movement the merge rests (LSR=336) is for > "r" only, is it possible to adapt it also to merge "R" as well? > > Any help is appreciated. I don't know guile / scheme code. > > Merry Christmas and A Happy New

Re: Better slashed graces

2016-12-19 Thread David Nalesnik
On Mon, Dec 19, 2016 at 3:44 PM, Gilberto Agostinho wrote: > Hi David, > > > David Nalesnik wrote >>> I think the function needs >>> something like "if there is a beam, then add a slash, else if no beam >>> then >>> no slash". Do you think

Re: Better slashed graces

2016-12-19 Thread David Nalesnik
On Mon, Dec 19, 2016 at 1:32 PM, Gilberto Agostinho wrote: > Hi David, > > First of all, thanks for your reply and for your help! > > > David Nalesnik wrote >> The problem is that there is no Beam grob, so an error is raised when >> you query its properties. &g

Re: Better slashed graces

2016-12-19 Thread David Nalesnik
Hi Gilberto, On Mon, Dec 19, 2016 at 6:43 AM, Gilberto Agostinho wrote: > Hi all, > > I just discovered a bug with my function above. It turns out the function > works well when there are two of more notes inside the \slashedGrace{}, but > when a single note is there the file does not compile. I

Re: 8va - ottava bracket help

2016-12-15 Thread David Nalesnik
On Thu, Dec 15, 2016 at 5:24 PM, Gianmaria Lari wrote: > I'm editing a score where I would like to specify "8va". > > If I write > > \version "2.19.52" > { > \ottava #1 > a b > } > > > lilypond creates a score with the text 8va but it also shifts the notes > one lower octave. So to avoid t

Re: Creating a stencil from a markup

2016-12-14 Thread David Nalesnik
On Wed, Dec 14, 2016 at 2:57 PM, David Nalesnik wrote: > Hi Simon, > > On Wed, Dec 14, 2016 at 2:20 PM, Simon Albrecht > wrote: >> Hello everybody, >> >> I’d like to add a caesura sign on top of a barline by modifying the >>

Re: Creating a stencil from a markup

2016-12-14 Thread David Nalesnik
Hi Simon, On Wed, Dec 14, 2016 at 2:20 PM, Simon Albrecht wrote: > Hello everybody, > > I’d like to add a caesura sign on top of a barline by modifying the > barline’s stencil. Here’s my attempt: > > %% > \version "2.19.49" > > { > 1 > \once\override BarLine.stencil = > #(ly

Re: Accidental in brackets

2016-12-05 Thread David Nalesnik
On Mon, Dec 5, 2016 at 11:39 AM, David Nalesnik wrote: > On Mon, Dec 5, 2016 at 11:34 AM, SoundsFromSound > wrote: >> David Nalesnik wrote >>> Haven't examined the other alternatives proposed, but here's something >>> I just did. It's based on a r

Re: Accidental in brackets

2016-12-05 Thread David Nalesnik
On Mon, Dec 5, 2016 at 11:34 AM, SoundsFromSound wrote: > David Nalesnik wrote >> Haven't examined the other alternatives proposed, but here's something >> I just did. It's based on a rewrite of functions in >> li

Re: Accidental in brackets

2016-12-05 Thread David Nalesnik
Hi Urs, On Mon, Dec 5, 2016 at 10:30 AM, tisimst wrote: > Urs, > > On Mon, Dec 5, 2016 at 7:54 AM, Mike Solomon [via Lilypond] <[hidden email]> > wrote: >> >> Hey! >> >> Total hack, but if you check out scm/stencil.scm, you’ll see how >> parentheses are made… >> >> (define-public (parenthesize-st

Re: Tie settings question

2016-10-26 Thread David Nalesnik
On Wed, Oct 26, 2016 at 9:59 AM, Karol Majewski wrote: > OK, I resign. But stil I don't get something in the code you posted yesterday: > > % > > raiseTie = > #(lambda (grob) > (let* ((ties (ly:grob-array->list (ly:grob-object grob 'ties))) > (notehead (ly:spanner-bo

Re: Tie settings question

2016-10-26 Thread David Nalesnik
On Wed, Oct 26, 2016 at 6:20 AM, Karol Majewski wrote: > OK, David, so let's move one square backward and try to use staff-position. > The following code does compile but doesn't do what I want. Perhaps what I'm > trying to achieve is just not possible. I don't think it is. Carl's email explai

Re: Tie settings question

2016-10-25 Thread David Nalesnik
On Tue, Oct 25, 2016 at 5:47 PM, David Nalesnik wrote: > > I think you discarded the right method of determining direction. > Or, rather, you may have to use staff-position. ___ lilypond-user mailing list lilypond-user@gnu.org https://list

Re: Tie settings question

2016-10-25 Thread David Nalesnik
Hi Karol, On Tue, Oct 25, 2016 at 5:15 PM, Karol Majewski wrote: > Here's full code. It's important to applay my tie settings. OK, thank you. That helps enormously. Above, I mentioned moving the check for dot direction, and refactoring the two if-statements for more compact and maintainable c

Re: Tie settings question

2016-10-25 Thread David Nalesnik
On Tue, Oct 25, 2016 at 4:53 PM, Karol Majewski wrote: > I think I don't have to compare dot.staff-position and > notehead.staff-position. I can simply check if Dots.direction is 1 or -1. > > Still I'm doing something wrong here: Could you please provide your test example when you give code? I'

Re: Tie settings question

2016-10-25 Thread David Nalesnik
On Tue, Oct 25, 2016 at 2:48 PM, Karol Majewski wrote: > Now I realised that, according to my concept, tie should be lowered not only > when > > (stem-direction == UP && tie-direction == UP && note-has-a-dot == true) > > but also when notehead is placed on staff-line and not on staff-space. In >

Re: Tie settings question

2016-10-25 Thread David Nalesnik
On Tue, Oct 25, 2016 at 10:37 AM, David Nalesnik wrote: > Hi Karol, > > On Tue, Oct 25, 2016 at 9:35 AM, Karol Majewski wrote: >> OK, I'm trying to write something like this in scheme: >> >> if (stem-direction == UP && tie-direction == UP && n

Re: Tie settings question

2016-10-25 Thread David Nalesnik
Hi Karol, On Tue, Oct 25, 2016 at 9:35 AM, Karol Majewski wrote: > OK, I'm trying to write something like this in scheme: > > if (stem-direction == UP && tie-direction == UP && note-has-a-dot == true) > { > \once \override Tie.details.skyline-padding = #5 > \once \override Tie.Y-offset = #-0.

Re: Tie settings question

2016-10-22 Thread David Nalesnik
On Sat, Oct 22, 2016 at 7:11 PM, David Nalesnik wrote: > On Sat, Oct 22, 2016 at 6:55 PM, Karol Majewski wrote: >> Hi David, when a chord doesn't have a flag, then your code doesn't work. >> Just replace >> >> 8~ >> >> with >> >

Re: Tie settings question

2016-10-22 Thread David Nalesnik
On Sat, Oct 22, 2016 at 6:55 PM, Karol Majewski wrote: > Hi David, when a chord doesn't have a flag, then your code doesn't work. Just > replace > > 8~ > > with > > 4~ > > and it won't compile. Perhaps there should be a condition in your code: "if a > note has a a flag then set Flag.Y-extent to

Re: Tie settings question

2016-10-22 Thread David Nalesnik
On Sat, Oct 22, 2016 at 8:16 AM, David Nalesnik wrote: > > (2) As the log will tell you, "flag" is not defined. I assume you > arrived at this because of Harm's usage of "tie" > below. He's creating a local variable to refer to Tie grobs which &g

Re: Tie settings question

2016-10-22 Thread David Nalesnik
Hi Karol, On Sat, Oct 22, 2016 at 7:33 AM, Karol Majewski wrote: > Now I try to change Flag.Y-extent value in chords to: \override Flag.Y-extent > = #'(4 . 0) > > Got this, but it doesn't work. What am I doing wrong? > > evenTies = > #(lambda > (grob) > (let > ((ties > (ly:grob-a

Re: Why warning: cannot end volta spanner?

2016-10-18 Thread David Nalesnik
On Tue, Oct 18, 2016 at 3:41 AM, Peter Toye wrote: > This is a forwarded message > From: Peter Toye > To: Simon Albrecht > Date: Tuesday, October 11, 2016, 4:07:21 PM > Subject: Why warning: cannot end volta spanner? > > ===8<==Original message text=== > Simon, > > Thanks

Re: [Spam] Re: [Spam] Re: Spanner right-hand text may disappear when padded

2016-10-17 Thread David Nalesnik
On Mon, Oct 17, 2016 at 9:35 AM, David Nalesnik wrote: > On Mon, Oct 17, 2016 at 8:26 AM, Rutger Hofman wrote: >> Thanks for all the help! First I post some rationale, then my real question, >> which is targeted at the developers I guess. >> >> The behaviour I am a

Re: [Spam] Re: [Spam] Re: Spanner right-hand text may disappear when padded

2016-10-17 Thread David Nalesnik
On Mon, Oct 17, 2016 at 9:35 AM, David Nalesnik wrote: > On Mon, Oct 17, 2016 at 8:26 AM, Rutger Hofman wrote: >> Thanks for all the help! First I post some rationale, then my real question, >> which is targeted at the developers I guess. >> >> The behaviour I am a

Re: [Spam] Re: [Spam] Re: Spanner right-hand text may disappear when padded

2016-10-17 Thread David Nalesnik
On Mon, Oct 17, 2016 at 8:26 AM, Rutger Hofman wrote: > Thanks for all the help! First I post some rationale, then my real question, > which is targeted at the developers I guess. > > The behaviour I am after is a thing I really do want: it is visually > confusing if the 'a tempo' comes halfway th

Re: [Spam] Re: Spanner right-hand text may disappear when padded

2016-10-12 Thread David Nalesnik
On Wed, Oct 12, 2016 at 2:04 PM, Rutger Hofman wrote: > On 10/12/2016 06:17 PM, David Nalesnik wrote: >> >> On Wed, Oct 12, 2016 at 8:48 AM, David Nalesnik >> wrote: >>> >>> Harm, >>> >>> On Wed, Oct 12, 2016 at 8:13 AM, Thomas Morle

Re: [Spam] Re: Spanner right-hand text may disappear when padded

2016-10-12 Thread David Nalesnik
On Wed, Oct 12, 2016 at 2:00 PM, Rutger Hofman wrote: > On 10/12/2016 03:53 PM, David Nalesnik wrote: >> That being said, the following adjusted definition of spanners should do >> it: >> >> spanners = { >> s2*7 | >> s4 >> \override

Re: Spanner right-hand text may disappear when padded

2016-10-12 Thread David Nalesnik
On Wed, Oct 12, 2016 at 8:48 AM, David Nalesnik wrote: > Harm, > > On Wed, Oct 12, 2016 at 8:13 AM, Thomas Morley > wrote: > >> >> in this thread >> http://lilypond.1069038.n5.nabble.com/Alternate-scheme-text-spanner-ignores-spacers-td195195.html >> you

Re: Spanner right-hand text may disappear when padded

2016-10-12 Thread David Nalesnik
On Wed, Oct 12, 2016 at 8:48 AM, David Nalesnik wrote: > Harm, > > On Wed, Oct 12, 2016 at 8:13 AM, Thomas Morley > wrote: > >> >> in this thread >> http://lilypond.1069038.n5.nabble.com/Alternate-scheme-text-spanner-ignores-spacers-td195195.html >> you

Re: Spanner right-hand text may disappear when padded

2016-10-12 Thread David Nalesnik
Harm, On Wed, Oct 12, 2016 at 8:13 AM, Thomas Morley wrote: > > in this thread > http://lilypond.1069038.n5.nabble.com/Alternate-scheme-text-spanner-ignores-spacers-td195195.html > you researched the cause for problems while attaching TextSpanner to > spacers using custom-scheme-engravers. > > M

Re: Spanner right-hand text may disappear when padded

2016-10-12 Thread David Nalesnik
On Wed, Oct 12, 2016 at 7:52 AM, David Nalesnik wrote: > On Wed, Oct 12, 2016 at 7:39 AM, David Nalesnik > wrote: > >> >> It doesn't work with spanner-id, though. >> > > Or, actually, it should -- untested. > With the addition of the engraver you

Re: Spanner right-hand text may disappear when padded

2016-10-12 Thread David Nalesnik
On Wed, Oct 12, 2016 at 7:39 AM, David Nalesnik wrote: > > It doesn't work with spanner-id, though. > Or, actually, it should -- untested. DN ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Spanner right-hand text may disappear when padded

2016-10-12 Thread David Nalesnik
Hi Rutger, On Wed, Oct 12, 2016 at 6:53 AM, Rutger Hofman wrote: > Good afternoon list, > > I have been noticing the following bug for a long time. If a TextSpanner > bound-details.right.text is set, the text may disappear if it is right after > a line break, and if it runs into some other markup

Re: Controlling hairpin length - revisited!

2016-10-11 Thread David Nalesnik
Hi Kieren, On Tue, Oct 11, 2016 at 9:51 AM, Kieren MacMillan wrote: > Hi David, > >> Further down in that thread is an implementation of shorten-pair with >> hairpins: >> http://lists.gnu.org/archive/html/lilypond-user/2016-06/msg00277.html > > The $1,000,000 Question: Why isn’t this in the dist

Re: Controlling hairpin length - revisited!

2016-10-11 Thread David Nalesnik
Hi, On Tue, Oct 11, 2016 at 9:07 AM, tisimst wrote: > David, > > On Tue, Oct 11, 2016 at 8:01 AM, Kieren MacMillan [via Lilypond] <[hidden > email]> wrote: >> >> Hi David, >> >> > Just so that I have as many weapons as possible at my disposal, are >> > there any other parameters which might dire

Re: Alternate (scheme) text spanner ignores spacers

2016-10-07 Thread David Nalesnik
On Fri, Oct 7, 2016 at 1:56 PM, David Nalesnik wrote: > On Fri, Oct 7, 2016 at 1:47 PM, Rutger Hofman wrote: >> I tested with multiple spanners. It threw me an error on line 77: s is an >> unbound variable. I don't grasp your code, but if I replace '(cdr s)' with

Re: Alternate (scheme) text spanner ignores spacers

2016-10-07 Thread David Nalesnik
On Fri, Oct 7, 2016 at 1:47 PM, Rutger Hofman wrote: > I tested with multiple spanners. It threw me an error on line 77: s is an > unbound variable. I don't grasp your code, but if I replace '(cdr s)' with > 'f' in that line, it works fine with overlapping spanners. Ah, OK. my mistake! > > Thank

Re: BendSpanner-engraver

2016-10-07 Thread David Nalesnik
Hi Harm, On Sun, Sep 11, 2016 at 4:53 AM, Thomas Morley wrote: > > It's based on our scheme-text-spanner.ly from the reg-test You may want to incorporate the attached, which corrects an error in the regtest and adds a warning omitted there. (In addition, there are some other changes which make

Re: Alternate (scheme) text spanner ignores spacers

2016-10-07 Thread David Nalesnik
On Fri, Oct 7, 2016 at 9:47 AM, David Nalesnik wrote: > The attached [...] There's some test code in the rewrite, which you may want to remove. Without it, lines 177- look like this: ((finalize trans) ;; If spanner ends on spacer at end of context? (for-each (l

Re: Alternate (scheme) text spanner ignores spacers

2016-10-07 Thread David Nalesnik
Hi again, On Fri, Oct 7, 2016 at 9:11 AM, David Nalesnik wrote: > Hi Rutger, > > On Fri, Oct 7, 2016 at 2:30 AM, Rutger Hofman wrote: >> Hello list, >> >> David Nalesnik wrote a scheme TextSpanner that honours the spanner-id >> predicate. This is really, really

Re: Alternate (scheme) text spanner ignores spacers

2016-10-07 Thread David Nalesnik
Hi Rutger, On Fri, Oct 7, 2016 at 2:30 AM, Rutger Hofman wrote: > Hello list, > > David Nalesnik wrote a scheme TextSpanner that honours the spanner-id > predicate. This is really, really great: I no longer have to create new > Voices for overlapping TextSpanners. But it has a f

Re: Extracting symbol location

2016-09-27 Thread David Nalesnik
Hi Urs, On Tue, Sep 27, 2016 at 3:58 AM, Urs Liska wrote: > > > Am 26.09.2016 um 20:13 schrieb David Nalesnik: >> The link you cite mentions looking at SVG output, and I suppose that >> would be the best way. I can't think of another method to get the >> a

Re: Extracting symbol location

2016-09-27 Thread David Nalesnik
Hi Lukas, On Tue, Sep 27, 2016 at 8:21 AM, Lukas Tuggener wrote: > Tanks to this \assignIDs function and the information in the svg its pretty > easy to find the correct location of a given symbol. > > The problem im stuck with right now is creating meaningful labels. The way > the ID is construc

Re: Extracting symbol location

2016-09-27 Thread David Nalesnik
On Tue, Sep 27, 2016 at 10:33 AM, David Nalesnik wrote: > In the attachment... And now for the file... David \version "2.19.46" % angle brackets cause SVG error so reformat: % # becomes [Mom 1] #(define (reformat-moment mom) (let* ((mom (format #f "~a" mom))

Re: Extracting symbol location

2016-09-26 Thread David Nalesnik
Hi Lukas, On Fri, Sep 23, 2016 at 5:06 AM, Lukas Tuggener wrote: > Dear All > > To create labeled training data for a machine learning project, I need to > extract the location at which symbols are printed. Is it possible to extract > coordinates for every symbol? Methods which reveal the positio

Re: Stencil questions (adding text and defining line style)

2016-09-21 Thread David Nalesnik
Hi Urs, On Wed, Sep 21, 2016 at 1:49 PM, Urs Liska wrote: > Hi all, > > it may seem unprobable but I don't find the information how I can add > some text to my constum-made stencils. > > Concretely I want to add a text element at a certain position to a > (ly:stencil-add > construction You wou

Re: BendSpanner-engraver

2016-09-14 Thread David Nalesnik
On Wed, Sep 14, 2016 at 7:29 AM, David Nalesnik wrote: > On Wed, Sep 14, 2016 at 5:32 AM, Trevor Daniels wrote: >> >> David Nalesnik wrote Wednesday, September 14, 2016 1:33 AM >> Subject: Re: BendSpanner-engraver >> >> >>> Hi Harm, >>>

Re: BendSpanner-engraver

2016-09-14 Thread David Nalesnik
On Wed, Sep 14, 2016 at 5:32 AM, Trevor Daniels wrote: > > David Nalesnik wrote Wednesday, September 14, 2016 1:33 AM > Subject: Re: BendSpanner-engraver > > >> Hi Harm, >> >> This looks marvelous! I know nothing about the notation, but the demo >> file

Re: BendSpanner-engraver

2016-09-13 Thread David Nalesnik
On Sun, Sep 11, 2016 at 4:53 AM, Thomas Morley wrote: > > Though, currently it's pretty slow in compilation. The reason for this > slugginess > is the feature not to bend open strings and to ex- or include notes to bend, > more precisley it's the definiton for `bend::remove-certain-tab-note-heads

Re: BendSpanner-engraver

2016-09-13 Thread David Nalesnik
Hi Harm, This looks marvelous! I know nothing about the notation, but the demo file is simply beautiful to behold. On Tue, Sep 13, 2016 at 4:00 PM, Thomas Morley wrote: > 2016-09-11 20:38 GMT+02:00 Trevor Daniels : >> Hi Harm >> >> I'm not a fretted-string player, but this looks very impressive

Re: Access (order) overlapping markups in a system

2016-09-12 Thread David Nalesnik
On Mon, Sep 12, 2016 at 10:24 AM, Urs Liska wrote: > > > Am 12.09.2016 um 17:04 schrieb David Nalesnik: >> Hi Urs, >> >> On Mon, Sep 12, 2016 at 9:18 AM, Urs Liska wrote: >>> In this sample: >>> >>> \version "2.19.48" >>>

Re: Access (order) overlapping markups in a system

2016-09-12 Thread David Nalesnik
Hi Urs, On Mon, Sep 12, 2016 at 9:18 AM, Urs Liska wrote: > In this sample: > > \version "2.19.48" > > { > c2 ^\markup "First markup" > c2 ^\markup "Second markup" > c2 ^\markup "Third markup" > } > > The markups are starting at the staff and when overlapping are printed > above the precedi

Re: always set beam outside of staff

2016-09-08 Thread David Nalesnik
On Thu, Sep 8, 2016 at 1:04 PM, tisimst wrote: > > > On Thu, Sep 8, 2016 at 11:52 AM, David Nalesnik [via Lilypond] <[hidden > email]> wrote: > >> On Thu, Sep 8, 2016 at 7:26 AM, David Nalesnik <[hidden email]> wrote: >> >> > >> > \version

Re: always set beam outside of staff

2016-09-08 Thread David Nalesnik
On Thu, Sep 8, 2016 at 11:01 AM, Michael Winter wrote: > Thank you David! > > This is a great start. And at the very least gets me to the point where > manual overrides will not be as numerous. > > I also think I can play with this to get a bit more natural dampening. > Plus this is a good opportu

Re: always set beam outside of staff

2016-09-08 Thread David Nalesnik
On Thu, Sep 8, 2016 at 1:08 PM, David Nalesnik wrote: > > So, to get the positions of the note-heads under a Beam, you could > write something like: Appended as a file because of awkward line-breaks when inlining David \version "2.19.46" #(define my-positions (lamb

Re: Determine width of a markup

2016-09-08 Thread David Nalesnik
On Thu, Sep 8, 2016 at 9:27 AM, Urs Liska wrote: > Is there a way to determine the width of a markup? > > The question is about a way to center lyric syllables while ignoring > trailing punctuation. My idea is to calculate the width of the > punctuation as compared to the whole syllable and calcul

Re: always set beam outside of staff

2016-09-08 Thread David Nalesnik
On Thu, Sep 8, 2016 at 7:26 AM, David Nalesnik wrote: > > \version "2.19.46" > > #(define my-positions >(lambda (grob) > (let* ((stems (ly:grob-object grob 'stems)) > (first-stem (ly:grob-array-ref stems 0)) > (dir

Re: always set beam outside of staff

2016-09-08 Thread David Nalesnik
Hi Michael, On Thu, Sep 8, 2016 at 3:38 AM, Michael Winter wrote: > { d'16 [ r16 d'8 ] d'16 [ b'16\rest d'8 ] \override Beam.positions = > #'(3.5 . 3.5) d'16 [ r16 d'8 ] d''16 [ r16 d''8 ]} > > In the above example there are 4 beamed groups. > > 1) default - the rest is pushed down > > 2) e

Re: Video generation, bash script, keeps sync in spite of tempo changes

2016-09-07 Thread David Nalesnik
On Wed, Sep 7, 2016 at 7:20 AM, Phil Hézaine wrote: > On 06/09/2016 14:22, Knut Petersen wrote: >> >> Hi everybody! >> >> I think some people might be interested in the files attached. >> >> JSBI1.ly is a sample document (Bach Invention No. 1) that demonstrates >> the syntax. >> It includes some i

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread David Nalesnik
Hi Harm, On Tue, Sep 6, 2016 at 2:01 PM, Thomas Morley wrote: > 2016-09-06 19:41 GMT+02:00 David Nalesnik : >> On Tue, Sep 6, 2016 at 11:07 AM, Marc Hohl wrote: >>> Am 06.09.2016 um 16:09 schrieb David Nalesnik: >> >>>> Even if you for this to work, y

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread David Nalesnik
On Tue, Sep 6, 2016 at 11:07 AM, Marc Hohl wrote: > Am 06.09.2016 um 16:09 schrieb David Nalesnik: >> Even if you for this to work, your mockup shows a line more complex >> than a squiggle. You'd only be able to get a simple zigzag line, >> without the refinemen

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread David Nalesnik
Hi Marc, On Tue, Sep 6, 2016 at 7:28 AM, Marc Hohl wrote: > Hi list, > > I want to change the MultiMeasureRest.stencil to a squiggle as shown in the > appendices (quite roughly pasted together in GIMP). > Searching the LSR and the web does not give any informations about this > topic (the only th

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread David Nalesnik
On Tue, Sep 6, 2016 at 9:09 AM, David Nalesnik wrote: > > \version "2.19.46" > > #(define my-stencil >(lambda (grob) > (let* ((default-stil (ly:multi-measure-rest::print grob)) > (X-ext (ly:stencil-extent default-stil X))) >(ly:line-

Re: Changing basic distance between stanzas

2016-08-16 Thread David Nalesnik
On Tue, Aug 16, 2016 at 8:58 PM, Joshua Nichols wrote: > Thanks, I did look into this, and instead of a warning, I get no change. > > See below for what I used. > > \version "2.18.2" > > notesA = { > c' > } > > vOne = \lyricmode { > a > } > > vTwo = \lyricmode { > b > } > > \score { > << >

Re: Changing basic distance between stanzas

2016-08-16 Thread David Nalesnik
Hi Josh, On Tue, Aug 16, 2016 at 8:34 PM, Joshua Nichols wrote: > I am looking for a tweak to decrease or increase the vertical distance > between multiple stanzas. > > I found this online (not in the manual): > > \context { > \Lyrics > minimumVerticalExtent = #'(0 . 0) > } > > But, whe

Re: Forcing a DynamicText to appear inside the staff

2016-08-11 Thread David Nalesnik
Hi Thomas, On Thu, Aug 11, 2016 at 1:22 AM, Thomas Weber wrote: > > I think a scheme function would be useful that determines how much it needs > to offset the dynamic to the left in order to move it into the staff. I'm not sure how useful the code below is, but it may get you started. The cod

Re: More problems with hor. alignment of button numbers when misusing lyrics (for accordion)

2016-07-27 Thread David Nalesnik
On Wed, Jul 27, 2016 at 2:50 PM, Mojca Miklavec wrote: >> On Tue, Jul 26, 2016 at 1:23 PM, David Nalesnik >> wrote: >> This is exactly what happens. Here, the topmost LyricText is >> interpreted as the end of a melisma, and so left-aligned. > > Ahem ... > > -

Re: More problems with hor. alignment of button numbers when misusing lyrics (for accordion)

2016-07-26 Thread David Nalesnik
On Tue, Jul 26, 2016 at 1:23 PM, David Nalesnik wrote: > On Tue, Jul 26, 2016 at 1:01 PM, David Nalesnik > wrote: >> On Tue, Jul 26, 2016 at 12:52 PM, David Nalesnik >> wrote: >> >>> >>> Something is messed up. >>> >> >> >&

Re: More problems with hor. alignment of button numbers when misusing lyrics (for accordion)

2016-07-26 Thread David Nalesnik
On Tue, Jul 26, 2016 at 1:01 PM, David Nalesnik wrote: > On Tue, Jul 26, 2016 at 12:52 PM, David Nalesnik > wrote: > >> >> Something is messed up. >> > > > Same results in 2.18.2 and 2.19.45 (Win10) > Adding \set Lyrics.lyricMelismaAlignment = #CENTER ap

Re: More problems with hor. alignment of button numbers when misusing lyrics (for accordion)

2016-07-26 Thread David Nalesnik
On Tue, Jul 26, 2016 at 12:52 PM, David Nalesnik wrote: > > Something is messed up. > Same results in 2.18.2 and 2.19.45 (Win10) DN ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: More problems with hor. alignment of button numbers when misusing lyrics (for accordion)

2016-07-26 Thread David Nalesnik
On Tue, Jul 26, 2016 at 12:47 PM, David Nalesnik wrote: > Hi Mojca, > > On Tue, Jul 26, 2016 at 7:44 AM, Mojca Miklavec > wrote: > >> To summarise again: I want to add button numbers (and optional finger >> numbers) on top of pitches (usually one to three buttons

Re: More problems with hor. alignment of button numbers when misusing lyrics (for accordion)

2016-07-26 Thread David Nalesnik
Hi Mojca, On Tue, Jul 26, 2016 at 7:44 AM, Mojca Miklavec wrote: > To summarise again: I want to add button numbers (and optional finger > numbers) on top of pitches (usually one to three buttons at the same > time) to aid diatonic accordion players. > > Following David's advice I'm currently mi

Re: bis

2016-07-26 Thread David Nalesnik
On Mon, Jul 25, 2016 at 7:56 AM, David Nalesnik wrote: > Another solution is available on the LSR: > http://lsr.di.unimi.it/LSR/Snippet?id=954. > > Add this function: > > textedMeasureBracket = > #(define-music-function > (parser location str mus) > (markup? ly:mus

Re: bis

2016-07-25 Thread David Nalesnik
On Mon, Jul 25, 2016 at 6:54 AM, wrote: > > Thanks a lot, I'll check it out! > > Erik > > > - Ursprungligt meddelande - > Från: > "Andrew Bernard" > > Till: > "lilypond-user Mailinglist" > Kopia: > > Skickat: > Mon, 25 Jul 2016 19:23:40 +1000 > Ämne: > Re: bis > > > > Hi Erik, > > This

Re: How to create a thick horizontal line (as its own staff)?

2016-07-20 Thread David Nalesnik
On Wed, Jul 20, 2016 at 3:49 PM, David Nalesnik wrote: > > On Wed, Jul 20, 2016 at 10:05 AM, Mojca Miklavec > wrote: >> >> I would be super happy if there was a way to enter the input >> information only once because repeating it twice is calling for >> errors

Re: How to create a thick horizontal line (as its own staff)?

2016-07-20 Thread David Nalesnik
Hi Mojca, On Wed, Jul 20, 2016 at 10:05 AM, Mojca Miklavec wrote: > Dear David (and others), > > One further thought. > > Given that it's super difficult to "transfer" information "across staves" ... > > Would it be feasible to allow the following input syntax (or something > similar)? > > m

Re: Independent Repeat Spanner

2016-07-17 Thread David Nalesnik
> Thanks a lot for your great code!!! Glad I could help! > Anyway your code seems to work fine for me. The only things I would change > is a) > the type of the repeat barlines (I prefer the ones with the brackets ) This would be easy enough to change, I think. You could probably substitute you

Re: Independent Repeat Spanner

2016-07-17 Thread David Nalesnik
dtsmarin wrote > Hello, > > I'm trying to create an independent repeat spanner. (see attached) > rep_spanner.png > > > There are several ways to notate what I'm looking for but the same > principles are applied. > > Obviousl

Re: Possible source of beam properties confusion

2016-07-15 Thread David Nalesnik
> Andrew Bernard writes: > >> I use debug print statements when developing scheme music functions. I >> have this evening noticed for the first time that my complete >> perplexity regarding various properties may actually come from the >> following problem. When I run a function several times in a

Re: More questions on beam properties

2016-07-15 Thread David Nalesnik
On Fri, Jul 15, 2016 at 9:48 AM, Andrew Bernard wrote: > What does the property Beam.positions actually represent? I have seen code > that treats it as the y position coordinates of the end points of the beam, If I recall correctly, in the case of Beam, 'positions represents the Y-coordinate of t

Re: How to create a thick horizontal line (as its own staff)?

2016-07-14 Thread David Nalesnik
On Thu, Jul 14, 2016 at 10:53 AM, Mojca Miklavec wrote: > Here's another examples of scores from someone's homepage: > http://www.stavarmatic.com/wp-content/uploads/2013/10/Moja-brez_0001.png > > The order here is: > - figure number for melody > - button name for melody > - pitch for melody >

Re: How to create a thick horizontal line (as its own staff)?

2016-07-14 Thread David Nalesnik
On Thu, Jul 14, 2016 at 10:24 AM, Mojca Miklavec wrote: > Hi, > > Just as an exercise I went on reading different parts of the manuals > and also came up with an alternative "poor man's" solution that > achieves the desired output, but would be way more tedious to input. > I'm attaching it neverth

Re: How to create a thick horizontal line (as its own staff)?

2016-07-14 Thread David Nalesnik
Hi Mojca, On Thu, Jul 14, 2016 at 4:41 AM, Mojca Miklavec wrote: > Dear David, > > On 14 July 2016 at 00:01, David Nalesnik wrote: >> On Wed, Jul 13, 2016 at 1:58 AM, Mojca Miklavec wrote: >>> >>> I would like to have: >>> >>> - a thick horizont

<    1   2   3   4   5   6   7   8   9   10   >