2017-04-14 9:13 GMT+02:00 Jan-Peter Voigt <jp.vo...@gmx.de>:
> Am 13.04.2017 um 22:01 schrieb David Kastrup:
>>
>> Jan-Peter Voigt <jp.vo...@gmx.de> writes:
>>
>>> Hi list,
>>>
>>> I am using `ly:run-translator` to analyze a music expression.
>>> If I use << \\ >> simultaneous expressions with voice separator and
>>> set a key signature at the start of the expression, no voice
>>> separation is done and lily gives a bunch of warnings about colliing
>>> notes:
>>>
>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>> % voicify does not work in ly:run-translator, when a keysignature is
>>> given
>>> %mymusic = \new Staff { \time 3/4 \key f \major \relative << { bes'4 }
>>> \\ { g8 f } >> }
>>> %mymusic = \new Staff { \key f \major \relative << { bes'4 } \\ { g8 f
>>> }
>>>>>
>>>>> }
>>>
>>> % this works without a problem
>>> mymusic = \new Staff { \time 3/4 \relative << { bes'4 } \\ { g8 f } >> }
>>> mylayout = \layout {}
>>>
>>> #(ly:run-translator mymusic mylayout)
>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>>
>>> Do I have to consist some special engraver to the layout used in
>>> run-translator? Or do I have to look for something else?
>>
>>
>> You should scorify the music expression: a number of stock
>> transformations including voicification are done when doing that.
>>
>
> Thank you!
> That was the missing piece.
>
> Jan-Peter



Hi Jan-Peter,

I never used ly:run-translator myself.

May I ask for a more meaningful code-example? Currently I've no clue
what it's all about.

Thanks,
  Harm

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to