[Top][All Lists]

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

Re: change `event-chord-wrap!' ?

From: David Kastrup
Subject: Re: change `event-chord-wrap!' ?
Date: Fri, 22 Apr 2016 08:12:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> Folks,
> we have event-chord-wrap! and is does the job it was designed for pretty good.
> Though, sometimes too much: If a single note has instructions for
> (stroke-)fingerings and or string-numbers it would make more sense and
> be more logical to leave them in the 'articulations of the NoteEvent,
> so that it could be affected by setting fingeringOrientations, etc.
> Below you'll find some coding doing so.
> Questions:
> - Do you think it's worth a patch?
> - If yes,
>   change event-chord-wrap! to this?
>   or
>   implement an option into event-chord-wrap! ?
>   or
>   completely separate?

event-chord-wrap! is a compatibility wrapper for easy recreation of old
behavior for the sake of non-ported functions.  You needed to write
<c\3> anyway at that point of time.

So basically you are trying to provide quite specific 2.16 functionality
for quite specific 2.14 functions.

If you want to mimic this exactly, you need to retain all articulations
for which there are no listeners (that's what the
Rhythmic_music_iterator does), but the presence of listeners is not
established at the point of time where event-chord-wrap! runs.

Anything wrong with actually making the function you need able to deal
with non-wrapped events?

event-chord-wrap! does lose information.  It's a band-aid.

David Kastrup

reply via email to

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