Great Mark, thank you!!! Strange that I didn't find this code in the LSR...
Ciao, g. On Thu, 15 Nov 2018 at 08:54, Mark Knoop <[email protected]> wrote: > At 00:16 on 15 Nov 2018, Gianmaria Lari wrote: > >Consider a simple code similar to the following one: > > > >\version "2.19.82" > >myVar = \fixed c' { a4 b c' a | a4 4 b c | b4 a b c' | ........ > >{\myVar} > > > > > >This will generate a score containing *all* the notes specified in > >myVar. > > > >Now, suppose that I don't want to generate all the notes in myVar but > >only the first 8 quarter notes (the first 2 bars) . Is there any > >function that can do it? something like "\extractMusic \myVar 4*4". > > There is indeed code available to do this. > > http://gillesth.free.fr/Lilypond/extractMusic/ > > -- > Mark Knoop > > _______________________________________________ > lilypond-user mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/lilypond-user >
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
