On 02.08.2018 23:58, Noeck wrote:
There are two forte signs (one would be enough) below the staff (above
would be better). I understand that I have to take care because of the
lyrics. But why isn't the upper voices' dynamics above the staff - as
\voiceOne does set the direction for so many other things?

I don’t know, and it doesn’t appear to make sense…
<< c''\f \\ c'\p >>
is completely ambiguous with both dynamic texts below the staff.

I recently started using the attached custom contexts for vocal music and it seems to be working very well.

Best, Simon
\version "2.19.80"

% always include this file _after_ all other modifications
% to the Staff and Voice contexts

\layout {
  \context {
    \Staff
    \name VocalStaff
    \alias Staff
    \override AccidentalSuggestion.direction = #UP
    \dynamicUp
    \override LigatureBracket.direction = #UP
    \override PhrasingSlur.direction = #UP
    \override Script.direction = #UP
    %\override Slur.direction = #UP
    \override TextScript.direction = #UP
    \override TupletBracket.direction = #UP
    \override TrillSpanner.direction = #UP
  }
  \context {
    \Voice
    \name VocalVoice
    \alias Voice
    autoBeaming = ##f
  }
  \inherit-acceptability "VocalStaff" "Staff"
  \inherit-acceptability "VocalVoice" "Voice"
}

%{
suggestion by Harm:

foo =
#(define-music-function (mus)(ly:music?)
 (music-map
   (lambda (m)
     (if (music-is-of-type? m 'override-property-event)
         (begin
           (ly:music-set-property! m 'pop-first '())
           m)
         m))
   mus))

myVoiceOne = \foo \voiceOne
myVoiceTwo = \foo \voiceTwo
myVoiceThree = \foo \voiceThree
myVoiceFour = \foo \voiceFour
%}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to