[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[musicxml2ly] duplicated dynamics and hairpins when using multiple voice
From: |
Florian Grundig |
Subject: |
[musicxml2ly] duplicated dynamics and hairpins when using multiple voices |
Date: |
Tue, 23 Apr 2019 18:54:16 +0200 |
Hi all,
I’ve encountered a strange behaviour when converting a musicXml document
(exported from MuseScore 3.0.5) with two or more voices per staff in
combination with dynamics or hairpins -> the ly file contains the dynamics and
the hairpins for each voice so they are also rendered several times which looks
buggy.
This is the created ly file: looks like:
\version "2.18.2"
\score {
<<
\context Staff = "1" <<
\relative a' { a1 \p \bar "|." }
\relative f' { f1 \p \bar "|." }
>>
>>
}
^ there’s one \p element per voice but that seems wrong -> the musicXML
standard doesn’t require a voice property for a direction element
I’ve attached the musicXML file the generated test.ly <http://test.ly/> file
and a generated svg file which shows the rendered content.
With kind regards
Florian
- [musicxml2ly] duplicated dynamics and hairpins when using multiple voices,
Florian Grundig <=