[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editing notes in a separate file
From: |
Gilles THIBAULT |
Subject: |
Re: Editing notes in a separate file |
Date: |
Sun, 3 Jan 2010 11:18:10 +0100 |
I don't foresee anything happening for months if not years, but
I've added it to the tracker. If I wasn't doing release and
manager tasks, I'd like to tackle it myself:
http://code.google.com/p/lilypond/issues/detail?id=955
You can do something like this with the last version of
"extractMusic.ly" (see joined file) ( i have not updated the LSR
accordingly but you can see a short description
of the old version here :
http://lsr.dsi.unimi.it/LSR/Search?q=extractmusic ).
I have added 2 functions : \insertMusic and \remplaceMusic
The syntaxe is something like that :
\insertMusic \original s1*2 \modifA
=> insert \modifA in \original after the 2 first measures
( s1*2 ) ( ie measure 3)
\remplaceMusic \original s1*2 \modifB
=> remplace after the 2 first measures, the music found at
this moment in \original, by \modifB (the length
of the remplaced music will be the same as \modifB )
If you have some complexe measure changes, you can set these changes in a
variable named \global (well you have not the choice of this name), and
then
call these functions with \upToMeasure
\insertMusic \original \upToMeasure #6 \modifA
=> insert \modifA at measure 6
\remplaceMusic \original \upToMeasure #6 \modifA
=> remplace \modifB at measure 6
See extractTest.ly, also joined. I think it will be more clear with tthe
examples ...
Gilles
extractMusic.ly
Description: Binary data
extractTest.ly
Description: Binary data
- Re: Editing notes in a separate file, (continued)
- Re: Editing notes in a separate file, Kieren MacMillan, 2010/01/02
- Re: Editing notes in a separate file, Michael J. O'Donnell, 2010/01/02
- Re: Editing notes in a separate file, Carl Sorensen, 2010/01/02
- Re: Editing notes in a separate file, James Bailey, 2010/01/03
- Re: Editing notes in a separate file, James Bailey, 2010/01/30
- Re: Editing notes in a separate file, Michael J. O'Donnell, 2010/01/02
- Re: Editing notes in a separate file, Kieren MacMillan, 2010/01/02
- Re: Editing notes in a separate file, Graham Percival, 2010/01/02
- Re: Editing notes in a separate file, Michael J. O'Donnell, 2010/01/02
- Re: Editing notes in a separate file, Kieren MacMillan, 2010/01/02
- Re: Editing notes in a separate file,
Gilles THIBAULT <=
- Re: Editing notes in a separate file, Roman Stawski, 2010/01/06
- Re: Editing notes in a separate file, Graham Breed, 2010/01/02