Re: Tip/Trick: Double-Breve or Single-Breve-with-Double-Sidebars

2009-04-10 Thread Henning Plumeyer

Am 09.04.2009, 23:18 Uhr, schrieb M Watts zwy648...@gmail.com:



I think I've seen music where the breve (2 whole notes) was printed with
two bars on each side.



Indeed, in most hymn books I've seen, the breves have 2 lines each side,


As you can see here (http://en.wikipedia.org/wiki/Double_whole_note), too.


so huzzah for Kieren's code!


I agree with the huzzah, even for Kieren himself!

But for me it is another form of the breve, not of the longa.
Kieren, what was your intention? (I thougt you wanted a  
quadruple-whole-note.)


On the other hand, it should be easy to change your last example from

\score { { \dbreve b'\breve*2 } }
to
\score { { \dbreve b'\breve } }

To me, this would make sense.

Regards,
Henning



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


Re: Tip/Trick: Double-Breve or Single-Breve-with-Double-Sidebars

2009-04-10 Thread Kieren MacMillan

Hi Henning (et al.),

Indeed, in most hymn books I've seen, the breves have 2 lines each  
side,
As you can see here (http://en.wikipedia.org/wiki/ 
Double_whole_note), too.


Ah... I wasn't aware that the two-sideline breve and one-sideline  
breve were the same duration.



so huzzah for Kieren's code!

I agree with the huzzah, even for Kieren himself!


=)


But for me it is another form of the breve, not of the longa.
Kieren, what was your intention? (I thougt you wanted a quadruple- 
whole-note.)


Yes, I thought the original poster wanted a double-breve (quadruple- 
whole-note) -- that's why I used the *2, to double the \breve (double- 
whole-note).



On the other hand, it should be easy to change your last example from
\score { { \dbreve b'\breve*2 } }
to
\score { { \dbreve b'\breve } }
To me, this would make sense.


The engraver can have it either (or both!) ways!  ;)
Kieren.


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


Re: Tip/Trick: Double-Breve or Single-Breve-with-Double-Sidebars

2009-04-09 Thread Henning Plumeyer
Am 09.04.2009, 21:43 Uhr, schrieb Kieren MacMillan  
kieren_macmil...@sympatico.ca:

\version 2.12.2
dbreve =
#(define-music-function (parser location note) (ly:music?)
#{
\once \override ParenthesesItem #'stencil = 
#ly:text-interface::print
\once \override ParenthesesItem #'text =
\markup \translate #'(-0.4 . -0.46) \override #'(thickness . 2) {  
\draw-line #'(0 . 0.92) \hspace #2.26 \draw-line #'(0 . 0.92)  }

\parenthesize $note
#})
\score { { \dbreve b'\breve*2 } }

This function should be good at least as far back as v2.10.
The *2 doubles the duration of the breve, to make a double-breve (so if  
you just want double sidebars on a single breve, leave off the *2).



Cheers,
Kieren.


Hi all,
isnt't this double-breve the same thing as a longa? At least concerning the
duration (as long as 4 whole notes).

I think I've seen music where the breve (2 whole notes) was printed with
two bars on each side.


What?! I can haz breve with duble side-barz neouw? Vry nice :-) I
asked about this a longish time ago, but it wasn't possible then.


...and Ari Torhamo probably was looking for this kind of breve instead
of a longa.

IMHO it is too difficult to distinguish a longa with two side-bars from
a breve (with one side-bar).

By the way: I prefer the baroque note head style.
(http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Note-head-styles.html)

Regards,
Henning



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


Re: Tip/Trick: Double-Breve or Single-Breve-with-Double-Sidebars

2009-04-09 Thread M Watts



I think I've seen music where the breve (2 whole notes) was printed with
two bars on each side.



Indeed, in most hymn books I've seen, the breves have 2 lines each side, 
so huzzah for Kieren's code!



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


Re: Tip/Trick: Double-Breve or Single-Breve-with-Double-Sidebars

2009-04-09 Thread Robin Bannister

Kieren MacMillan wrote:

This function should be good at least as far back as v2.10.


\draw-line was introduced after 2.10.

Cheers,
Robin


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


Re: Tip/Trick: Double-Breve or Single-Breve-with-Double-Sidebars

2009-04-09 Thread Kieren MacMillan

Hi Robin,


\draw-line was introduced after 2.10.


Thanks for the version check -- if I have time, I'll rewrite it  
(using another glyph, or PostScript) for earlier versions.  =)

Kieren.


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


Re: Tip/Trick: Double-Breve or Single-Breve-with-Double-Sidebars

2009-04-09 Thread Ari Torhamo
to, 2009-04-09 kello 15:43 -0400, Kieren MacMillan kirjoitti:
 Hello Ari (et al.),
 
  You'll need Kieren's scheme function as well.
 
 \version 2.12.2
 dbreve =
   #(define-music-function (parser location note) (ly:music?)
   #{
   \once \override ParenthesesItem #'stencil = 
 #ly:text-interface::print
   \once \override ParenthesesItem #'text =
   \markup \translate #'(-0.4 . -0.46) \override 
 #'(thickness . 2)  
 { \draw-line #'(0 . 0.92) \hspace #2.26 \draw-line #'(0 . 0.92)  }
   \parenthesize $note
   #})
 \score { { \dbreve b'\breve*2 } }
 
 This function should be good at least as far back as v2.10.
 The *2 doubles the duration of the breve, to make a double-breve (so  
 if you just want double sidebars on a single breve, leave off the *2).
 I (or someone else, maybe?) will try to improve the function when I  
 get a moment.
 
 Cheers,
 Kieren.

It's good that you and Jonathan brought the scheme function up - I
didn't know it's needed. I just tested the function in Lilypond 2.11.61
and it seems to work fine.

It's indeed the double sidebars that I need, duration in itself isn't
too important. I'll include an attachment to this message to show what
I'm after (I hope a small attachment is OK). This type of singing is
called resitatiivi (recitative) at least in the musical subculture the
example notation is from. The breve and empty spaces around it are there
to tell that you are supposed to sing in the rhythm of speech as opposed
to a constant tempo.

Here's how I'm doing it at the present:



\version 2.11.61


pi = { 
   \override Voice.NoteHead #'transparent = ##t 
   \override Voice.Stem #'transparent = ##t
   \override Voice.NoteHead #'no-ledgers = ##t
}

nä = {
   \revert Voice.NoteHead #'transparent 
   \revert Voice.Stem #'transparent
   \revert Voice.NoteHead #'no-ledgers
}

dbreve =
#(define-music-function (parser location note) (ly:music?)
#{
\once \override ParenthesesItem #'stencil =
#ly:text-interface::print
\once \override ParenthesesItem #'text =
\markup \translate #'(-0.4 . -0.46)
\override #'(thickness . 2)  
{ \draw-line #'(0 . 0.92) \hspace #2.26 \draw-line #'(0 . 0.92)  }
\parenthesize $note
#})

\relative c' { 
   \cadenzaOn  
   e4 \pi e2 e e \nä \dbreve e\breve \pi e4 e \nä e f f f2
}

\addlyrics { 
Blubu baba bibi biba blubu dada didi dida blaa blaa bl
} 

...


Thanks to everyone who responded :-)

Ari Torhamo
attachment: Resitatiivi.jpg___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user