Just to clarify, in the case of 3-voice music, how would you expect it to
deal with a 2 note chord?

One note to Treble, one to Bass, or one in Treble, one in Alto, or... what?

Chris

On 16 September 2015 at 13:07, <msk...@ansuz.sooke.bc.ca> wrote:

> I'd like to take a passage of music that contains chords with differing
> numbers of notes, and some single notes, and extract it into separate
> monophonic streams such that their union is the original passage.  The
> application is to generate microtonal MIDI using pitch bend, which can
> only practically play one note per channel, from music entered as
> polyphonic voices for typesetting convenience.
>
> I'm aware of the snippet at
>    http://lsr.di.unimi.it/LSR/Item?id=545
>
> and it does almost what I want, except for the handling of missing notes.
> If I specify an index greater than the number of notes playing at a given
> moment, then this code returns the highest-numbered note that exists.  I
> don't understand why anyone would want that behaviour, but that's what the
> code does.  I want to have rests, not duplicated notes, in the remaining
> voices when there are fewer notes playing than the number of voices.
>
> Is there any simple, obvious way to modify the code to do this?  I can
> probably get it to work with enough trial and error, but it's not clear to
> me where in the code it is actually handling the case of index greater
> than the number of notes, so I'm not sure what to try modifying first.
>
> --
> Matthew Skala
> msk...@ansuz.sooke.bc.ca                 People before principles.
> http://ansuz.sooke.bc.ca/
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to