Re: 17th century keyboard ornament

2006-07-24 Thread Peter Van Kranenburg

Fairchild wrote:

Peter -

Sorry, I haven't deduced how postscript determines 0, 0.  Likely what you
want can be done with Scheme


That's what I'm gonna try, indeed.
Nevertheless, many thanks for the suggestions.

Peter



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


RE: 17th century keyboard ornament

2006-07-24 Thread Fairchild
Peter -

Sorry, I haven't deduced how postscript determines 0, 0.  Likely what you
want can be done with Scheme; beyond my ken.

  - Bruce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Peter Van Kranenburg
Sent: Sunday, July 23, 2006 12:52 PM
To: lilypond-user@gnu.org
Subject: Re: 17th century keyboard ornament


Fairchild wrote:
> Peter -
> 
> Tune to suit.
> 

Thanks. After some tuning, I got the desired result indeed.
There are, however, some questions left. With this solution, I have to 
define two macros for each pitch, one for stem up and one for stem down. 
Besides this, the direction of the stem must be known at encoding stage. 
Is there a way to position the dashes relatively to the (invisible) 
stem, so that a more generic macro can be defined?

Of course I will keep working on this myself by reading the manual and 
experimenting, but if someone can give me a clue, it would probably 
speed up.

regards,
Peter



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





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


Re: 17th century keyboard ornament

2006-07-23 Thread Peter Van Kranenburg

Fairchild wrote:

Peter -

Tune to suit.



Thanks. After some tuning, I got the desired result indeed.
There are, however, some questions left. With this solution, I have to 
define two macros for each pitch, one for stem up and one for stem down. 
Besides this, the direction of the stem must be known at encoding stage. 
Is there a way to position the dashes relatively to the (invisible) 
stem, so that a more generic macro can be defined?


Of course I will keep working on this myself by reading the manual and 
experimenting, but if someone can give me a clue, it would probably 
speed up.


regards,
Peter



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


RE: 17th century keyboard ornament

2006-07-22 Thread Fairchild
Peter -

Tune to suit.

%%

\version "2.8.5"

doubledash = {\once \override Voice.StemTremolo #'beam-thickness = #0.2 }
ddashg = _\markup { \postscript #" 0.4 setlinewidth -0.7 3.3 moveto 1.5 0.5
rlineto stroke -0.7 2.3 moveto 1.5 0.5 rlineto stroke " }
ddashb = _\markup { \postscript #" 0.4 setlinewidth 0.5 6.7 moveto 1.5 0.5
rlineto stroke 0.5 5.7 moveto 1.5 0.5 rlineto stroke " }

\layout { ragged-right = ##t }
\score { \relative c' <<
\new Staff { \time 3/4 \doubledash g'':16 g g   g\ddashg g g }
\new Staff { \clef bass << { r4 \doubledash bes,,2:16 } \\ { g2~ g4 } >> 
<< { r4 bes2\ddashb } \\ { g2~ g4 } >> }
>> }

%%

For clues, see
http://www.cs.indiana.edu/docproject/programming/postscript/operators.html#o
pindex

 - Bruce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Peter Van Kranenburg
Sent: Wednesday, July 19, 2006 5:26 PM
To: lilypond-user@gnu.org
Subject: 17th century keyboard ornament


Hi all,

I'm trying to typeset some 17th century keyboard music from the Southern
Netherlands. An often used ornament is a slanted double dash through the
stem of the note (zie attached image - sorry for the bad quality).

I tried to adapt the tremolo:

-
\version "2.8.5"

doubledash = {\once \override Voice.StemTremolo #'beam-thickness = #0.2 }

\layout { ragged-right = ##t }
\score {
\relative c'
<<
\new Staff { \time 3/4 \doubledash g'':16 g g }
\new Staff { \clef bass << { r4 \doubledash bes,,2:16 } \\ { g2~ g4 } >> }
>> 
}
-

This doesn't satisfy me. The vertical space between the dashes is too 
large. Especially when the stem is short (as is with the bes in the 
above example). I can't find a parameter to control this distance.

Can someone give me a suggestion how to typeset this ornament?

thanks in advance,
Peter van Kranenburg





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


17th century keyboard ornament

2006-07-19 Thread Peter Van Kranenburg

Hi all,

I'm trying to typeset some 17th century keyboard music from the Southern
Netherlands. An often used ornament is a slanted double dash through the
stem of the note (zie attached image - sorry for the bad quality).

I tried to adapt the tremolo:

-
\version "2.8.5"

doubledash = {\once \override Voice.StemTremolo #'beam-thickness = #0.2 }

\layout { ragged-right = ##t }
\score {
\relative c'
<<
\new Staff { \time 3/4 \doubledash g'':16 g g }
\new Staff { \clef bass << { r4 \doubledash bes,,2:16 } \\ { g2~ g4 } >> }



}
-

This doesn't satisfy me. The vertical space between the dashes is too 
large. Especially when the stem is short (as is with the bes in the 
above example). I can't find a parameter to control this distance.


Can someone give me a suggestion how to typeset this ornament?

thanks in advance,
Peter van Kranenburg


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