Re: Tweaking in an engraver

2015-07-23 Thread tisimst
If you reply to this email, your message will be added to the discussion below: http://lilypond.1069038.n5.nabble.com/Tweaking-in-an-engraver-tp178745p179000.html To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com To unsubscribe from Lilypond, click here http

Re: Tweaking in an engraver

2015-07-23 Thread Timothy Lanfear
On 19/07/15 18:27, Timothy Lanfear wrote: On 19 Jul 2015, at 19:12, Peter Gentry peter.gen...@sunscales.co.uk wrote: The OP described wanting to tweak a note property depending on its pitch. Now I may be missing something but do you need to create an engraver for this. I am after something

Re: Tweaking in an engraver

2015-07-20 Thread David Kastrup
Vaughan McAlley vaug...@mcalley.net.au writes: On 20 July 2015 at 05:01, David Kastrup d...@gnu.org wrote: An engraver has the advantage that it is at the latest possible point in the pipeline. But it might be too late to actually change pitches before other engravers get to see them. From

Re: Tweaking in an engraver

2015-07-19 Thread Vaughan McAlley
On 20 July 2015 at 05:01, David Kastrup d...@gnu.org wrote: An engraver has the advantage that it is at the latest possible point in the pipeline. But it might be too late to actually change pitches before other engravers get to see them. From what Scheme-fiddling I’ve been doing, it seems

Re: Tweaking in an engraver

2015-07-19 Thread Timothy Lanfear
Mistyped on my phone first time. I am after something like your solution. Part of my motivation was to learn how engravers work. I can follow up with more detail in a few days when I return home. Sent from my iPod On 19 Jul 2015, at 19:12, Peter Gentry peter.gen...@sunscales.co.uk wrote:

RE: Tweaking in an engraver

2015-07-19 Thread Peter Gentry
The OP described wanting to tweak a note property depending on its pitch. Now I may be missing something but do you need to create an engraver for this. My instrumentranges.ly examines note pitch an based on a suplied criterion changes notehead colour and style - is this the sort of thing you

Re: Tweaking in an engraver

2015-07-19 Thread Timothy Lanfear
Sent from my iPod On 19 Jul 2015, at 19:12, Peter Gentry peter.gen...@sunscales.co.uk wrote: The OP described wanting to tweak a note property depending on its pitch. Now I may be missing something but do you need to create an engraver for this. My instrumentranges.ly examines note

Re: Tweaking in an engraver

2015-07-19 Thread David Kastrup
Peter Gentry peter.gen...@sunscales.co.uk writes: My instrumentranges.ly examines note pitch an based on a suplied criterion changes notehead colour and style - is this the sort of thing you had in mind. \version 2.19.15 %

Re: Tweaking in an engraver

2015-07-19 Thread David Kastrup
Peter Gentry peter.gen...@sunscales.co.uk writes: The OP described wanting to tweak a note property depending on its pitch. Now I may be missing something but do you need to create an engraver for this. Yes and no. If you quote music in a different transposition and still want stuff to work

Re: Tweaking in an engraver

2015-07-17 Thread Timothy Lanfear
On 17/07/15 21:49, Paul Morris wrote: On Jul 17, 2015, at 4:24 PM, Timothy Lanfear timo...@lanfear.me wrote: I'd like an engraver that changes the colour of the note head if the pitch meets certain conditions. How about the following? It shows how to access the pitch and change the “default

Re: Tweaking in an engraver

2015-07-17 Thread Paul Morris
On Jul 17, 2015, at 4:24 PM, Timothy Lanfear timo...@lanfear.me wrote: I'd like an engraver that changes the colour of the note head if the pitch meets certain conditions. How about the following? It shows how to access the pitch and change the “default note head color. From there you

Tweaking in an engraver

2015-07-17 Thread Timothy Lanfear
I'd like an engraver that changes the colour of the note head if the pitch meets certain conditions. If the note has an existing tweak, then I can add to or override the tweak; but the note colour is unchanged for a note without a tweak. Looking at the output of display-scheme-music, the only

Re: Tweaking in an engraver

2015-07-17 Thread David Kastrup
Timothy Lanfear timo...@lanfear.me writes: I'd like an engraver that changes the colour of the note head if the pitch meets certain conditions. If the note has an existing tweak, then I can add to or override the tweak; but the note colour is unchanged for a note without a tweak. Looking at