David, a follow-up--
I came across a post of yours from some years back in response to a
sort-of-similar question,
in which you suggested a more direct/more succinct way to access
LilyPond's music-to-string functionality,
via "value->lilystring." (More succinct, that is, if don't count the
Stephen Cummings writes:
> Quite comfortable with such cheek. Thank you.
>
> Still, I will try to package up a more formally named version of that
> little function. A translating map or loop will then be needed to
> extract note names and render them in more conventional form, but that
> won't
e pitch-datum))
(out-acc (pitch->alteration pitch-datum)))
#{\markup
\bold
\concat {$out-notename $out-acc }
#}
)
)
\notenamer {ees d b c g}
From: Aaron Hill
Subject:Re: Scheme function to return pitchnames a
Quite comfortable with such cheek. Thank you.
Still, I will try to package up a more formally named version of that
little function. A translating map or loop will then be needed to
extract note names and render them in more conventional form, but that
won't require inscrutable-for-me ly:xxx
Stephen Cummings writes:
> Am I missing a basic LilyPond command/directive--something built-in
> that takes music as input and returns note names as text? Such a
> functionality would seem to be useful in all kinds of
> annotations/quotations. I know about \displayMusic but its output only
>
On 2019-11-19 6:05 am, Stephen Cummings wrote:
Am I missing a basic LilyPond command/directive--something built-in
that takes music as input and returns note names as text?
There is the NoteNames context, but its functionality is wrapped up in
C++ code and is not easily customizable.
Am I missing a basic LilyPond command/directive--something built-in that
takes music as input and returns note names as text? Such a
functionality would seem to be useful in all kinds of
annotations/quotations. I know about \displayMusic but its output only
goes to the console/output stream
Oups, answered the wrong post, sorry…
JM
> Le 19 nov. 2019 à 09:43, Jacques Menu a écrit :
>
> Hello Steve,
>
> Maybe starting this way:
>
> \version "2.19.83"
>
> {
> % initial shared music
> c'1 e |
>
> % the two alternatives
> \override Staff.StaffSymbol.line-count = 0
>
Hello Steve,
Maybe starting this way:
\version "2.19.83"
{
% initial shared music
c'1 e |
% the two alternatives
\override Staff.StaffSymbol.line-count = 0
\stopStaff \startStaff
\hide Staff.BarLine
<<
\new Staff {
\hide Staff.Clef
\hide Staff.KeySignature
Though I remain baffled by Scheme and its use in LilyPond, my hope is to
build one or more functions/procedures that would transpose input music
and for each chord display the transposed chord's note names, with
control over the way the names are represented (as in Cb or F# instead
of ces and
10 matches
Mail list logo