lilypond-user
[Top][All Lists]
Advanced

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

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


From: Ari Torhamo
Subject: Re: Tip/Trick: Double-Breve or Single-Breve-with-Double-Sidebars
Date: Fri, 10 Apr 2009 04:25:58 +0300

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 blaaaa
} 

...............................


Thanks to everyone who responded :-)

Ari Torhamo

Attachment: Resitatiivi.jpg
Description: JPEG image


reply via email to

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