Re: Tweaking in an engraver

2015-07-23 Thread tisimst
Timothy, That is absolutely fantastic! What a great way to set up and use instruments! Great work! - Abraham On 7/23/2015 2:59 PM, Timothy Lanfear-2 [via Lilypond] wrote: > On 19/07/15 18:27, Timothy Lanfear wrote: > >> On 19 Jul 2015, at 19:12, Peter Gentry <[hidden email] > > wrote: > >> > >

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 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 like your solution. Part of my

Re: Tweaking in an engraver

2015-07-20 Thread David Kastrup
Vaughan McAlley writes: > On 20 July 2015 at 05:01, David Kastrup 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

Re: Tweaking in an engraver

2015-07-19 Thread Vaughan McAlley
On 20 July 2015 at 05:01, David Kastrup 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 that the res

Re: Tweaking in an engraver

2015-07-19 Thread David Kastrup
"Peter Gentry" 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 on it, you will not be a

Re: Tweaking in an engraver

2015-07-19 Thread David Kastrup
"Peter Gentry" 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 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 wrote: > > The OP described wanting

Re: Tweaking in an engraver

2015-07-19 Thread Timothy Lanfear
Sent from my iPod > On 19 Jul 2015, at 19:12, Peter Gentry 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 pitch an based on a supl

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 ha

Re: Tweaking in an engraver

2015-07-17 Thread David Kastrup
Timothy Lanfear 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 the output of >

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 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.

Re: Tweaking in an engraver

2015-07-17 Thread Paul Morris
> On Jul 17, 2015, at 4:24 PM, Timothy Lanfear 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 can extend this