polyrhythm-project / polyrhythm-website

3 stars 3 forks source link

Cross-staff piano figures rendered to single staff #102

Open kelseylussierl opened 4 years ago

kelseylussierl commented 4 years ago

Ex. R411 Piano m. 2. Cross-staff 8th notes beamed together in Sibelius are rendered in VHV onto one staff.

Sibelius (desired): Screen Shot 2020-02-05 at 3 36 52 PM

VHV: Screen Shot 2020-02-05 at 3 40 20 PM

craigsapp commented 4 years ago

There are two problems here:

(1) Beams with notes attached to opposite sides. This is a known verovio issue and should be fixed in the future.

(2) The cross-staff notes are not being converted properly. This seems to be a bug in the MusicXML export from Siblius, since MuseScore loading of the MusicXML data is also missing the cross-staff note information:

Screen Shot 2020-02-17 at 7 11 14 PM

Here is the MusicXML for the first note in the measure (the B-flat2):

                        <note>
                                <pitch>
                                        <step>B</step>
                                        <alter>-1</alter>
                                        <octave>2</octave>
                                </pitch>
                                <duration>384</duration>
                                <voice>1</voice>
                                <type>eighth</type>
                                <accidental>flat</accidental>
                                <stem>up</stem>
                                <staff>1</staff>
                                <beam number='1'>begin</beam>
                                <notations>
                                        <slur type='start' number='1'/>
                                </notations>
                        </note>

Note that the staff number is 1, which is incorrect (it should be staff 2).