Op Mon, 20 Jan 2014 09:41:06 +0100
Johan Vromans <[email protected]> schreef:

> BTW: Whoever maintains the new score wizard: the "s1*0\f" trick to get
> the midi volume right is no longer necessary for LilyPond 2.18.

I changed it in the following way:

diff --git a/frescobaldi_app/scorewiz/parts/vocal.py 
b/frescobaldi_app/scorewiz/parts/vocal.py
index 79857bc..1d7500d 100644
--- a/frescobaldi_app/scorewiz/parts/vocal.py
+++ b/frescobaldi_app/scorewiz/parts/vocal.py
@@ -615,7 +615,8 @@ class Choir(VocalPart):
                 # Append voice to the rehearsalMidi function
                 name = voice2id[voice] + str(num or '')
                 seq = ly.dom.Seq(ly.dom.Voice(name, parent=ly.dom.Staff(name, 
parent=choir)))
-                ly.dom.Text('s1*0\\f', seq) # add one dynamic
+                if builder.lyVersion < (2, 18, 0):
+                    ly.dom.Text('<>\\f', seq) # add one dynamic
                 ly.dom.Identifier(ref, seq) # add the reference to the voice
                 
                 book = ly.dom.Book()

It seems to work correctly.
Wilbert

-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to