denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] scheme_change_chord_notes


From: Richard Shann
Subject: Re: [Denemo-devel] scheme_change_chord_notes
Date: Tue, 14 Jul 2009 12:37:01 +0100

On Tue, 2009-07-14 at 09:12 +0100, Richard Shann wrote:
> 
> What is the behavior if the number of notes passed in is different
> from
> the number of notes in the chord? You could use "r" as a note value,
> meaning delete that note...

I've had a look at this now. What you are doing is deleting all the
notes & then putting in a new set. This could be done by a script, doing
d-RemoveNoteFromChord until it returns #f and then doing d-PutNoteName
on the notes desired. I haven't written this - you may uncover lacunae.

However, both these approaches lose things attached to notes (e.g.
fingerings). Perhaps that is ok, since the note is changing, so perhaps
those things would need to change anyway.

Another point, your function returns an empty string - the convention
for anything that isn't asking for a value is to return a boolean, in
this case TRUE if notes were added FALSE in such cases as not on a chord
etc.

Thanks for pushing on with this stuff, it is really needed to make
Denemo look complete.

Richard







reply via email to

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