[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scheme music (was: cross-voice slurs)

From: Graham Percival
Subject: Scheme music (was: cross-voice slurs)
Date: Mon, 14 Oct 2002 20:13:08 -0700

On Mon, 14 Oct 2002 10:31:49 +0200
Mats Bengtsson <address@hidden> wrote:
> Why not make an invisible note to attach the slur to?
> See input/test/

That'd work, although it still leaves a lot of typing...

I'm intrigued by input/test/ -- it uses Scheme functions
to save typing work.  Could I use some Scheme function to create an
alternating pattern (either of stemUp/stemDown or of
VisibleNote/InvisibleNote) ?  So I write my score like this:

<{[d16 s d] s } \\
 {s16 [d s d] }>

and then apply some scheme transformation to it to get this:

<{[d16( \blanknotes )d \unblanknotes d(] \blanknotes )d } \\
  {s16 [d s d] }>

I'm just asking if it's possible; if it _is_, then I should be able
to figure out how to do it by myself.

On second thought, maybe I can hack up something with sed... in any
case, I'd like to know if this is the sort of thing that scheme functions
would be useful for.

> > Is there any way to make a slur between voices?  Or can you make a slur
> > attach to an invisible rest (or space?)
> > 
> > I'd like to attach each consecutive pair of 16th notes together with a
> > slur, but I the 16ths need to have alternative stems as well (up down
> > up down).  I _could_ do that it one voice (ie \stemUp d \stemDown d
> > \stemUp ees \stemDown d...), but that would be a pain.
> > 
> > ----
> > \score{ \notes{
> > \clef bass
> > \relative c {
> > <{[d16^#"II" s d] s [ees s d] s c s } \\
> >  {s16 [d_#"III" s d] s [d s d] s d-. }>
> > r4 d4->
> > }
> > }\paper{}}
> > ----

reply via email to

[Prev in Thread] Current Thread [Next in Thread]