lilypond-devel
[Top][All Lists]
Advanced

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

Re: improvement(s) on LSR 445


From: -Eluze
Subject: Re: improvement(s) on LSR 445
Date: Tue, 5 Apr 2011 00:19:02 -0700 (PDT)


Gilles THIBAULT wrote:
> 
>>is it possible to only copy notes, i.e.
>>pitches and durations, excluding Fingering, stroke fingers and string
>>numbers?
> 
> 2 solutions :
> 
> 1- You filter the music. Here is an example of filtered music
> 
> %%%%%%%%%%%%%%%%%%%%%%%
> deleteDynamics = #(define-music-function (parser location music)
> (ly:music?)
>  (music-filter
>   (lambda (evt)
>    (not (memq (ly:music-property evt 'name) (list
>        'AbsoluteDynamicEvent
>        'CrescendoEvent
>        'DecrescendoEvent))))
>      music))
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> You just have to know the scheme name of the events you don't want.
> 
> 2- In the "octavize.ly"
> line : 15
> Replace  (append notes transposed-notes not-notes)
> by            (append notes transposed-notes)
> line 44-45 :
> Replace (append new-notes transposed-notes not-notes)
> by            (append new-notes transposed-notes)
> 
thanks but sorry if i was not quite specific: i meant the octavized notes
should not automatically get the same fingerings (and other attributes) as
the original notes - but the fingerings of the original notes should be
kept!

both solutions eliminate dynamics and articulations on all notes!

i tried to implement the filter you gave right after the definition of
transposed-notes in makeOctaves but i get only errors or no effect...

then there is another problem: fingerings for single notes are a sub-class
of articulations while in chords they are directly applicable - imo they
should be moved to the note they belong to, which is inside the chord!

finally i'd like to qualify the importance: in any case one will have to
reedit the new lilypond notes to add the fingerings manually, an automated
calculation of those being unfeasible.

Eluze
-- 
View this message in context: 
http://old.nabble.com/improvement%28s%29-on-LSR-445-tp31239262p31321537.html
Sent from the Gnu - Lilypond - Dev mailing list archive at Nabble.com.




reply via email to

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