[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [WAS: Re: handbells] Tabulating notes used in a score
From: |
David Kastrup |
Subject: |
Re: [WAS: Re: handbells] Tabulating notes used in a score |
Date: |
Mon, 26 May 2014 17:25:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
David Nalesnik <address@hidden> writes:
> On Mon, May 26, 2014 at 7:54 AM, Simon Albrecht <address@hidden>wrote:
>
>>
>> The version statement should be \version "2.19", since the music contains
>> standalone durations like @code{ ees4~ 16 }, which can’t be handled by 2.18.
>>
>>
> True, didn't notice that. Also interesting is that omitting the pitchname
> on tied notes gives a different count for the affected note than repeating
> the name does.
Pitchless durations result in a NoteEvent without pitches. Similarly
repeat chords result in an EventChord without note elements but a
duration.
Before doing further manipulations, you will generally want to do
something like
(expand-repeat-notes! (expand-repeat-chords! '(rhythmic-event) music))
on it for that reason if you make use of the respective shorthands.
Of course, one easy way not to forget anything is
(ly:score-music (scorify-music music parser))
The parser is needed since this will also expand quotes (which are
stored per-parser) and other stuff.
--
David Kastrup