Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1515)

Issue 7323060: Issue 3174: Implement \accidental markup and \pitched command for transposable accidental markups

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by dak
Modified:
11 years, 2 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Issue 3174: Implement \accidental markup and \pitched command for transposable accidental markups This is a building block for creating pitched ornaments behaving sensibly under transposition. It would be arguable to define \pitched differently so that it works only on ornaments and does the stacking itself, like c^\pitched\trill des and instead give the current version of \pitched a name like \pitchify. As it stands, here are the implemented meanings: \accidental markup: Draw an accidental based on the @var{pitch} property of the causing event. This is typically set in music using the (transposable) @code{\pitched} command, like @lilypond[verbatim,quote] melody = \relative c' { \key c\major c2^\trill^\pitched des -\markup \accidental d! } \new Staff { \melody } \new Staff { \transpose c' e' \melody } @end lilypond \pitched music function: arguments pitch and music: "Give @var{music} a pitch of @var{pitch}.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -0 lines) Patch
M ly/music-functions-init.ly View 1 chunk +7 lines, -0 lines 0 comments Download
M scm/define-markup-commands.scm View 1 chunk +28 lines, -0 lines 1 comment Download

Messages

Total messages: 5
Trevor Daniels
I definitely prefer the alternative you suggest in para 3. You would not then need ...
11 years, 2 months ago (2013-02-13 22:56:30 UTC) #1
thomasmorley65
On 2013/02/13 22:56:30, Trevor Daniels wrote: > I definitely prefer the alternative you suggest in ...
11 years, 2 months ago (2013-02-13 23:27:55 UTC) #2
dak
On 2013/02/13 23:27:55, thomasmorley65 wrote: > On 2013/02/13 22:56:30, Trevor Daniels wrote: > > I ...
11 years, 2 months ago (2013-02-14 09:21:07 UTC) #3
wl_gnu.org
> Here is the deal: I can rename the current \pitched to \withPitch > which ...
11 years, 2 months ago (2013-02-14 09:38:40 UTC) #4
thomasmorley65
11 years, 2 months ago (2013-02-14 23:30:07 UTC) #5
On 2013/02/14 09:21:07, dak wrote:

> So the message is "we can do", but we still need to figure out _what_
> we can do.  Proposals?

Well, currently I don't have a good idea.

Though, some time ago Arnold posted his approach on -user:
http://lists.gnu.org/archive/html/lilypond-user/2012-06/msg00278.html
direct link to his code:
http://old.nabble.com/file/p33991423/pitchedArticulations.ly

Perhaps this might be useful, I hadn't a closer look, though.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b