lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using run-translator


From: Jan-Peter Voigt
Subject: using run-translator
Date: Thu, 13 Apr 2017 20:46:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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?

TIA
Jan-Peter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]