[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing voice order...
From: |
Urs Liska |
Subject: |
Re: Changing voice order... |
Date: |
Tue, 1 Nov 2016 23:41:44 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
Am 01.11.2016 um 23:40 schrieb Kieren MacMillan:
> Hi all,
>
>> [pseudocode:]
>> \splitUD { topmusic \with UP } { bottommusic \with DOWN }
>> \splitUUD { topmusic \with UP } { middlemusic \with UP } { bottommusic
>> \with DOWN }
>> \splitUDD { topmusic \with UP } { middlemusic \with DOWN } { bottommusic
>> \with DOWN }
>> etc.
>
> If I was better with Scheme, I would try to whip up a function that accepted
> an arbitrary number of musical expressions, with the up/down dictated by the
> first parameter, e.g.
>
> \split u,d,u,u,d,d { 1st,up [= top] } { 2nd,down } { 3rd,up } { 4th,up }
> { 5th,down } { 6th,down [= bottom] }
>
> Seems like smarter-than-me people could make this (or similar) work, no sweat.
Something like
\split "uduudd"
should be easily parseable. Well, it wouldn't even need the quotation
marks around.
But I'm not sure how to write a function that accepts an arbitrary
number of music expressions. Basically that seems to call for a "list of
music expressions", but I'm not sure to what extent that would make the
syntax unwieldy.
Urs
>
> Cheers,
> Kieren.
> ________________________________
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: address@hidden
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
--
Urs Liska
www.openlilylib.org
- Re: Changing voice order..., (continued)
- Re: Changing voice order..., Phil Holmes, 2016/11/01
- Re: Changing voice order..., David Kastrup, 2016/11/01
- Re: Changing voice order..., David Wright, 2016/11/01
- Re: Changing voice order..., David Kastrup, 2016/11/01
- Re: Changing voice order..., Kieren MacMillan, 2016/11/01
- Re: Changing voice order..., David Wright, 2016/11/03
- Re: Changing voice order..., Trevor Daniels, 2016/11/01
- Re: Changing voice order..., Kieren MacMillan, 2016/11/01
- Re: Changing voice order...,
Urs Liska <=
- Re: Changing voice order..., Kieren MacMillan, 2016/11/01
- Re: Changing voice order..., Paul, 2016/11/01
- Re: Changing voice order..., Paul, 2016/11/01
- Re: Changing voice order..., David Kastrup, 2016/11/02
- Re: Changing voice order..., Kieren MacMillan, 2016/11/01
- Re: Changing voice order..., Phil Holmes, 2016/11/02
- Re: Changing voice order..., David Kastrup, 2016/11/02
- Re: Changing voice order..., Noeck, 2016/11/02
- Re: Changing voice order..., David Wright, 2016/11/03
- Re: Changing voice order..., Alexander Kobel, 2016/11/03