Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-staff beams example #210

Closed
notator opened this issue Jan 5, 2021 · 1 comment
Closed

Cross-staff beams example #210

notator opened this issue Jan 5, 2021 · 1 comment

Comments

@notator
Copy link
Contributor

notator commented Jan 5, 2021

(This proposal first appeared in Pull Request #208, which is now closed. I've taken @bhamblok's advice here, and removed the id attribute from the quarter-note on the top staff.)


I'd like to add an MNX by Example for cross-staff beams on a grand staff.
@adrianholovaty If you agree, and you think this example is okay, maybe you could post the MusicXML code here. I could then update MNX by Example...
(This example adapted from #198 (comment))
image

<mnx>
    <global>
        <measure/>
    </global>
    <part> <!-- a part on a grand staff having two staves -->
       <measure>
           <sequence staff="1">  /*** default staff number for this voice */
               <directions>
                   <clef sign="G" line="2"/>
               </directions>
               <event value="/4" >
                   <note pitch="C5"/>
               </event>
           </sequence>
           <sequence staff="2">  /*** default staff number for this voice  */
                <directions>
                   <clef sign="F" line="4"/>
                </directions>
                <event value="/16" id="event1">
                    <note pitch="Ab3"/>
                </event>
                <event value="/16" id="event2">
                   <note pitch="C4"/>
                </event>
                <event value="/16" staff="1" id="event3">  /*** override this voice's default staff number*/
                   <note pitch="F4"/>
                </event>
                <event value="/16" staff="1" id="event4">  /*** override this voice's default staff number*/
                   <note pitch="E4"/>
                </event>
                <beams>
                    <beam events="event1 event2 event3 event4" >
                          <beam events="event1 event2 event3 event4"" />
                    </beam>
                </beams>
           </sequence>
       </measure>
   </part>
</mnx>
@notator
Copy link
Contributor Author

notator commented Jan 21, 2021

This issue has been superseded by #219.

@notator notator closed this as completed Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant