Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-23 Thread Federico Bruni

Dear Andrew

You are welcome to put it for OLL.
I won't do it. And I won't reply to related questions on Github tracker.
Lack of time and interest.



Il giorno mer 23 set 2020 alle 11:20, Andrew Bernard 
 ha scritto:
Re OLL, why not, actually? Putting into OLL is a simple matter of 
creating a directory and placing the unmodified code in a file names 
module.ily. It's nice to provide an example file to go along with it 
as well. That's very little 'adaptation'.


Urs and I are trying to promote OLL by explaining how easy it is to 
use, and how useful. Fragmenting there world into core, LSR, OLL, GIT 
of various flavors make it harder for the poor end user I would say. 
That's four sources for code for end users all with different usages. 
I am not fond of fragmentation. I cannot imagine Harm would object to 
being in OLL. The pedal code I worked on with him is there already, 
and he has never objected.


Happy to help putting it in OLL. It may not happen for a decade, or 
it may never happen, but as far as getting new things into core, I 
would like to think that OLL modules are a prime candidate, not 
isolated git repos here and there.


If it works great and people are using, then it's perfectly suitable 
for OLL.


Andrew


On 23/09/2020 7:51 am, Federico Bruni wrote:



I'm against the idea of putting it in OLL.
As it's still a work in progress, Harm so far worked on his own 
files (no git) and post them on the mailing list. The snippets on 
OLL should follow some guidelines and I'm not willing to adapt 
Harm's code to OLL in first place (or if/when a new version is 
available).


But the code, even if not perfect, is working great already and some 
people are using it. That's why I think it should be hosted on 
gitlab.

I will open a thread on lilypond-devel.












Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-22 Thread Andrew Bernard
Re OLL, why not, actually? Putting into OLL is a simple matter of 
creating a directory and placing the unmodified code in a file names 
module.ily. It's nice to provide an example file to go along with it as 
well. That's very little 'adaptation'.


Urs and I are trying to promote OLL by explaining how easy it is to use, 
and how useful. Fragmenting there world into core, LSR, OLL, GIT of 
various flavors make it harder for the poor end user I would say. That's 
four sources for code for end users all with different usages. I am not 
fond of fragmentation. I cannot imagine Harm would object to being in 
OLL. The pedal code I worked on with him is there already, and he has 
never objected.


Happy to help putting it in OLL. It may not happen for a decade, or it 
may never happen, but as far as getting new things into core, I would 
like to think that OLL modules are a prime candidate, not isolated git 
repos here and there.


If it works great and people are using, then it's perfectly suitable for 
OLL.


Andrew


On 23/09/2020 7:51 am, Federico Bruni wrote:



I'm against the idea of putting it in OLL.
As it's still a work in progress, Harm so far worked on his own files 
(no git) and post them on the mailing list. The snippets on OLL should 
follow some guidelines and I'm not willing to adapt Harm's code to OLL 
in first place (or if/when a new version is available).


But the code, even if not perfect, is working great already and some 
people are using it. That's why I think it should be hosted on gitlab.

I will open a thread on lilypond-devel.








Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-22 Thread Federico Bruni




Il giorno dom 20 set 2020 alle 12:33, Jonas Hahnfeld  
ha scritto:

Am Donnerstag, den 17.09.2020, 12:27 +0200 schrieb Federico Bruni:

 Il giorno gio 17 set 2020 alle 11:11, Thomas Morley
  ha scritto:
 > the bend-engraver-thingies are not part of core LilyPond.
 > Please post at least the link where you got it, otherwise you'll 
not

 > get a lot of help ...

 Harm, the code is currently hosted on pagure.io:
 https://pagure.io/lilypond-bend-spanner

 We may move it to gitlab.com, where I'm sure you have an account (to
 contribute to LilyPond).
 Can we put it under LilyPond group? What do you think?

 Jonas, lilypond-bend-spanner is a work in progress by Harm, not 
ready

 yet for inclusion in LilyPond core.
 I think it deserves some more visibility and should be included in a
 proper subproject on Gitlab.


Not making a decision here, but it looks like you're the only author
(not Harm) and the last commit is from three years ago. Isn't this
something that fits more into openLilyLib?



I'm just the maintainer of the repository. The author of the code is 
Harm.
I think I'll edit the author of some commits in order to avoid 
confusion.


An older and limited version of the bend spanner is in openLilyLib. 
Actually this thread was started from a person who was using this old 
code and opened an issue in the tracker:

https://github.com/openlilylib/snippets/issues/175
https://github.com/openlilylib/snippets/tree/master/notation-snippets/guitar-string-bending

I'm against the idea of putting it in OLL.
As it's still a work in progress, Harm so far worked on his own files 
(no git) and post them on the mailing list. The snippets on OLL should 
follow some guidelines and I'm not willing to adapt Harm's code to OLL 
in first place (or if/when a new version is available).


But the code, even if not perfect, is working great already and some 
people are using it. That's why I think it should be hosted on gitlab.

I will open a thread on lilypond-devel.






Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-20 Thread Thomas Morley
Am Do., 17. Sept. 2020 um 12:27 Uhr schrieb Federico Bruni :
>
> Il giorno gio 17 set 2020 alle 11:11, Thomas Morley
>  ha scritto:
> > the bend-engraver-thingies are not part of core LilyPond.
> > Please post at least the link where you got it, otherwise you'll not
> > get a lot of help ...
>
> Harm, the code is currently hosted on pagure.io:
> https://pagure.io/lilypond-bend-spanner

Yep, I know. Though, others probably not ...

> We may move it to gitlab.com, where I'm sure you have an account (to
> contribute to LilyPond).
> Can we put it under LilyPond group? What do you think?
>
>
> Jonas, lilypond-bend-spanner is a work in progress by Harm, not ready
> yet for inclusion in LilyPond core.
> I think it deserves some more visibility and should be included in a
> proper subproject on Gitlab.

Well, I always planned to revise the code and amend it with settings
for Voice-context.
Though, I always get distracted and right now I have again very little time...

Thus, I'm fine with whatever place it is hosted publically.
But again, it's not mature to be put into lilypond proper.

Best,
  Harm



Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-20 Thread Jonas Hahnfeld
Am Donnerstag, den 17.09.2020, 12:27 +0200 schrieb Federico Bruni:
> Il giorno gio 17 set 2020 alle 11:11, Thomas Morley 
>  ha scritto:
> > the bend-engraver-thingies are not part of core LilyPond.
> > Please post at least the link where you got it, otherwise you'll not
> > get a lot of help ...
> 
> Harm, the code is currently hosted on pagure.io:
> https://pagure.io/lilypond-bend-spanner
> 
> We may move it to gitlab.com, where I'm sure you have an account (to 
> contribute to LilyPond).
> Can we put it under LilyPond group? What do you think?
> 
> Jonas, lilypond-bend-spanner is a work in progress by Harm, not ready 
> yet for inclusion in LilyPond core.
> I think it deserves some more visibility and should be included in a 
> proper subproject on Gitlab.

Not making a decision here, but it looks like you're the only author
(not Harm) and the last commit is from three years ago. Isn't this
something that fits more into openLilyLib?

Jonas


signature.asc
Description: This is a digitally signed message part


Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-17 Thread Federico Bruni
Il giorno gio 17 set 2020 alle 11:11, Thomas Morley 
 ha scritto:

the bend-engraver-thingies are not part of core LilyPond.
Please post at least the link where you got it, otherwise you'll not
get a lot of help ...


Harm, the code is currently hosted on pagure.io:
https://pagure.io/lilypond-bend-spanner

We may move it to gitlab.com, where I'm sure you have an account (to 
contribute to LilyPond).

Can we put it under LilyPond group? What do you think?


Jonas, lilypond-bend-spanner is a work in progress by Harm, not ready 
yet for inclusion in LilyPond core.
I think it deserves some more visibility and should be included in a 
proper subproject on Gitlab.







Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-17 Thread Aaron Hill

I know a lot of programming languages, but lisp dialects are not in my
collection. Is there a simple function that could shorten this for me?
Something like:

addQuarterBend =
#(define-event-function (mus)(ly:music?)
#{
\afterGrace $mus \startBend {\once \hideNotes \transpose c cih
$mus \stopBend  \once \hideNotes $mus}
#}
)

Something like this would allow me to type \addQuarterBend c’8 to just
decorate that note with a bend.


This seems connected to the question posted on Reddit [1] I answered.

[1]: https://www.reddit.com/r/lilypond/comments/iu06jp/


-- Aaron Hill



Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-17 Thread Thomas Morley
Am Mo., 14. Sept. 2020 um 13:39 Uhr schrieb Kevin Nowaczyk
:
>
> Andrew,
> Here is a link to the output that is currently being produced.
>
> https://imgur.com/gallery/hJtl1eG
>
> The first three bends are what I want, but I cannot make the final one look 
> the same. This is because I am bending to a grace note on the note that 
> follows the note I want decorated. For this incorrect note, the grace would 
> be in the following measure, so I have to use \afterGrace To keep everything 
> together. However, as you can see, Lilypond renders two of these notes when 
> the bend is used. I have not figured out how to hide these \afterGrace notes.
>
> Kevin

Hi Kevin,

the bend-engraver-thingies are not part of core LilyPond.
Please post at least the link where you got it, otherwise you'll not
get a lot of help ...

That said, using the bending-code on my machine, with

mus = {
  \afterGrace c''1\startBend { \once \hideNotes cih''16\stopBend }
}

<<
  \new Staff \mus
  \new TabStaff \mus
>>

renders properly.

Thus please post a minimal compiling code-example, only demonstrating
the problem.

Cheers,
  Harm



Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-13 Thread Andrew Bernard
Can you post an image of the desired result? I suspect there is a better 
way to do this, but I need to see. A pencil sketch will do.


Andrew


On 14/09/2020 12:07 pm, Kevin Nowaczyk wrote:
I am creating a guitar tablature which includes some 1/4 bends. 
Typical guitar tabs do not display the microtone note, instead 
displaying the up arrow more as a decoration on the starting pitch. I 
am able to produce this effect with the following:




Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-13 Thread Kevin Nowaczyk
I am creating a guitar tablature which includes some 1/4 bends. Typical guitar 
tabs do not display the microtone note, instead displaying the up arrow more as 
a decoration on the starting pitch. I am able to produce this effect with the 
following:
hideAccidental = {  \once \override Accidental #'stencil = ##f}
c''8.\startBend \once \hideNotes \grace cih''\stopBenda'\hideAccidental 
c''\startBend \once \hideNotes \grace cih''\stopBend
Since grace notes do not occupy any time in the score, I can set the full time 
of the note, bed it to a grave note, and hide that note.
Unfortunately; there is a problem if I need to bend the final note of a 
measure. I was hoping I could use this:
\hideAccidental \afterGrace c''\startBend cih''16\stopBend
The after grace note is actually displayed twice, and I am unable to figure out 
how to hide it. Is this a bug? Any advice on how to achieve my desired effect?
Kevin
Sent from Yahoo Mail for iPhone