lilypond-user
[Top][All Lists]
Advanced

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

Re: cre - - sen - - do


From: Madoka Machitani
Subject: Re: cre - - sen - - do
Date: Tue, 30 Apr 2013 15:44:42 +0900

Hello :)

This is trivial, but having functions like these might help ease typing a lot:

#(define (span-maker type)
   (lambda (text)
     (make-music 'type
                 'span-direction START
                 'span-type 'text
                 'span-text text)))

textCresc =
#(define-event-function (parser location text)
   (markup?)
   ((span-maker 'CrescendoEvent) text))

textDecresc =
#(define-event-function (parser location text)
   (markup?)
   ((span-maker 'DecrescendoEvent) text))


%% usage
{ b2\textCresc "cres" b
  b\textCresc "cen" b
  b\textCresc "do" b
  b1\f }


Best,

On Tue, Apr 30, 2013 at 2:20 PM, Keith OHara <address@hidden> wrote:
Derek <cushy <at> shmerek.com> writes:

> Thanks for that. I assume this means at this juncture it isn't possible?
> cheers

Writing a chain of crescendos spelling out each syllable is possible

{ b2-\tweak#'text"cres"\cresc b
  b-\tweak#'text"cen"\cresc b
  b-\tweak#'text"do"\cresc b
  b1\f }



_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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