lilypond-devel
[Top][All Lists]
Advanced

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

Re: Pentatonic Diatonic Transposition?


From: Trevor Daniels
Subject: Re: Pentatonic Diatonic Transposition?
Date: Mon, 24 Jan 2011 09:14:37 -0000

Thanks Carl.

I'll check with Mike to see how he'd like to proceed with this.

Trevor

----- Original Message ----- From: "Carl Sorensen" <address@hidden> To: "Trevor Daniels" <address@hidden>; "LilyPond-Devel list" <address@hidden>
Sent: Monday, January 24, 2011 2:08 AM
Subject: Re: Pentatonic Diatonic Transposition?


On 1/23/11 4:03 AM, "Trevor Daniels" <address@hidden> wrote:

The code below seems to satisfy a request
seen several times on -user.  Assuming the code
is good I'd prefer to see this added to the LP
distribution rather than the LSR.

What do you think?

Looks reasonable to me.

The code needs to be put in a .scm file (scm/modal-transpose.scm), and the
music function needs to go to ly/music-functions-init.ly.

The publically-accessible functions need to be define-public.

The indentation isn't right.

I think the errors should be turned into warnings. If the transposer pitches aren't valid, the transposer should just return the argument to be transposed without transposition. We shouldn't abort when we have the
chance to continue gracefully but with a warning.

make-extended-scale has a display-scheme-music call that I think should be
eliminated.

We need a shortened version of the demo for a regression test.

And we need a doc-section written.

But the code generally looks good to me. I think we should get it added.

Thanks,

Carl







reply via email to

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