[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dynamics context spawns additional contexts when polyphonic
From: |
Valentin Villenave |
Subject: |
Dynamics context spawns additional contexts when polyphonic |
Date: |
Thu, 31 Oct 2013 00:26:12 +0100 |
Greetings everybody,
I’m having a weird time today with the following code:
%%%%
\version "2.17.30" % Also with earlier versions.
\new Dynamics { a1\f << a \\ b\p >> }
%%%%
The first bar works as expected; in the second all hell breaks loose:
notes are printed in newly-created Voice contexts, and an additional
(unwanted) Staff context is spawned.
I suspect the VoiceSeparator item is the culprit here, since removing
it prevents the behavior from being triggered:
\new Dynamics {
a1\f
$(make-simultaneous-music (list
(make-music 'NoteEvent
'pitch (ly:make-pitch -1 5 0)
'duration (ly:make-duration 0 0 1))
;(make-music (quote VoiceSeparator))
(make-music 'NoteEvent
'pitch (ly:make-pitch -1 6 0)
'duration (ly:make-duration 0 0 1)
'articulations (list
(make-music 'AbsoluteDynamicEvent
'text "p")))))
}
Any thoughts?
Regards,
Valentin.
wtf.png
Description: PNG image
- Dynamics context spawns additional contexts when polyphonic,
Valentin Villenave <=
- Re: Dynamics context spawns additional contexts when polyphonic, David Kastrup, 2013/10/31
- Re: Dynamics context spawns additional contexts when polyphonic, Valentin Villenave, 2013/10/31
- Re: Dynamics context spawns additional contexts when polyphonic, David Kastrup, 2013/10/31
- Re: Dynamics context spawns additional contexts when polyphonic, Valentin Villenave, 2013/10/31
- Re: Dynamics context spawns additional contexts when polyphonic, David Kastrup, 2013/10/31
- Re: Dynamics context spawns additional contexts when polyphonic, Valentin Villenave, 2013/10/31
- Re: Dynamics context spawns additional contexts when polyphonic, David Kastrup, 2013/10/31
- Re: Dynamics context spawns additional contexts when polyphonic, Valentin Villenave, 2013/10/31