lilypond-user
[Top][All Lists]
Advanced

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

Re: prall with accidental


From: Jérôme Plût
Subject: Re: prall with accidental
Date: Mon, 21 Jan 2013 17:35:21 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Decimo tertio Kalendas Februarias MMXIII scripsit Werner LEMBERG :
> Yeah, this looks like a good syntax suggestion.  Is a Scheme solution
> possible, or does this need a C++ extension?

It seems that this requires a C++ extension.
Namely, \key only generates a KeyChangeEvent, so Scheme macros cannot
access the current key signature. And \key is a C++ primitive, so
replacing it with a Scheme function will not work.

A nice way to make this work would then be to make the current key
signature available to Scheme functions and make a generic function
such as
     b \ornament #'prall { cis }
and then shortcuts (pralltoo foo) => (ornament #'prall foo) etc.

(By the way, couldn't this lead to mainstreaming articulate.ly ?)



reply via email to

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