[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
midi volume/ s1*0 trick in Frescobaldi Score Wizard (was Re: Off-topic:
From: |
Wilbert Berendsen |
Subject: |
midi volume/ s1*0 trick in Frescobaldi Score Wizard (was Re: Off-topic: Automatically create rehearsal files from SATB midi file) |
Date: |
Wed, 22 Jan 2014 20:22:54 +0100 |
Op Mon, 20 Jan 2014 09:41:06 +0100
Johan Vromans <address@hidden> 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)
- Re: Off-topic: Automatically create rehearsal files from SATB midi file, (continued)
- Re: Off-topic: Automatically create rehearsal files from SATB midi file, Colin Campbell, 2014/01/19
- Re: Off-topic: Automatically create rehearsal files from SATB midi file, Johan Vromans, 2014/01/19
- Re: Off-topic: Automatically create rehearsal files from SATB midi file, Colin Campbell, 2014/01/19
- Re: Off-topic: Automatically create rehearsal files from SATB midi file, Johan Vromans, 2014/01/20
- Re: Off-topic: Automatically create rehearsal files from SATB midi file, David Kastrup, 2014/01/20
- Re: Off-topic: Automatically create rehearsal files from SATB midi file, David Kastrup, 2014/01/20
- Re: Off-topic: Automatically create rehearsal files from SATB midi file, Noeck, 2014/01/20
- Re: Off-topic: Automatically create rehearsal files from SATB midi file, Johan Vromans, 2014/01/20
- Re: Off-topic: Automatically create rehearsal files from SATB midi file, Noeck, 2014/01/20
- Re: Off-topic: Automatically create rehearsal files from SATB midi file, David Kastrup, 2014/01/20
- midi volume/ s1*0 trick in Frescobaldi Score Wizard (was Re: Off-topic: Automatically create rehearsal files from SATB midi file),
Wilbert Berendsen <=
Re: Off-topic: Automatically create rehearsal files from SATB midi file, Vaughan McAlley, 2014/01/21
\set Score.midiPanPosition, Jim Long, 2014/01/23
Re: \set Score.midiPanPosition, Vaughan McAlley, 2014/01/24