Re: Drawing a contour on a staff

2017-03-22 Thread Klaus Blum
Hi Kevin, 


Kevin Barry wrote
> I am setting a large volume of examples by a now-deceased composer,
> some of which use contours as an educational tool

as suggested by caagr98, cluster can be extremely helpful and at the same
time easy to use:


% ---
music = \relative c'{ c8 d e g c g e c }

{
  \new Staff
  <<
\new Voice \music
\new Voice \makeClusters \music
  >>
}

\layout {
  \context {
\Voice
\override ClusterSpanner.color = #red
\override ClusterSpanner.layer = #-2
\override ClusterSpanner.X-offset = #0.5
% \override ClusterSpanner.padding = #0.5
  }
}
% ---

I hope this helps. 

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Drawing-a-contour-on-a-staff-tp201402p201409.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Drawing a contour on a staff

2017-03-22 Thread Urs Liska


Am 22.03.2017 um 14:46 schrieb Kieren MacMillan:
> Hi Kevin,
>
>> Does anybody know of an alternative way to do this?
> I don’t…
>
> But this sure seems like something that could be Scheme-d, so that Liypond 
> sets out the music as if it were notated — and maybe even grayed out, like 
> the erased (?) part of your image — and then draws the noteheads as a 
> connected curve.
>
> It would be an amazing demonstration of the power of Lilypond, if someone 
> could make it work!

This would actually be quite in line with the things I've explored
recently, and I can second that it's definitely feasible in LilyPond (as
Kieren suggests: as a function that automatically does this with
whatever pitches you encode in between).
Unfortunately I don't have the time available right now to give it a try.

Best
Urs

> Cheers,
> Kieren.
> 
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Drawing a contour on a staff

2017-03-22 Thread caagr98
You could try \makeClusters. They are a bit thicker than in the image, 
but they might be useful. (I have no idea what they are actually meant 
for, though.)


On 03/22/17 13:18, Kevin Barry wrote:

Hi All,

I am setting a large volume of examples by a now-deceased composer,
some of which use contours as an educational tool (see the attached
image, which I hope isn't too big). As all of the other examples are
set with LilyPond I would like to render this in LilyPond as well for
the sake of consistency, but am not sure how best to proceed. I know I
can do this with a markup path, using lines and curves and so on, but
I want to be sure that is my best solution before committing to it as
it is extremely time consuming (and my initial trials look very
'computerish').

Does anybody know of an alternative way to do this?

Thanks in advance,
Kevin



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Drawing a contour on a staff

2017-03-22 Thread Kieren MacMillan
Hi Kevin,

> Does anybody know of an alternative way to do this?

I don’t…

But this sure seems like something that could be Scheme-d, so that Liypond sets 
out the music as if it were notated — and maybe even grayed out, like the 
erased (?) part of your image — and then draws the noteheads as a connected 
curve.

It would be an amazing demonstration of the power of Lilypond, if someone could 
make it work!

Cheers,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user