@node Invoking musicxml2ly
@section Invoking @code{musicxml2ly}
-@uref{http://@/www.@/recordarde@/.com/xml/,MusicXML} is a XML dialect
+@uref{http://@/www.@/recordarde@/.com/xml/,MusicXML} is an XML dialect
for representing music notation.
@command{musicxml2ly} extracts the notes from part-wise MusicXML
b = self.get_maybe_exist_typed_child (class_dict['actual-notes'])
a = self.get_maybe_exist_typed_child (class_dict['normal-notes'])
return (string.atoi(a.get_text ()), string.atoi (b.get_text ()))
-
+
+class Accidental (Music_xml_node):
+ def __init__ (self):
+ Music_xml_node.__init__ (self)
+ self.editorial = False
+ self.cautionary = False
class Tuplet(Music_xml_node):
class_dict = {
'#comment': Hash_comment,
+ 'accidental': Accidental,
'alter': Alter,
'attributes': Attributes,
'beam' : Beam,
if acc:
# let's not force accs everywhere.
event.cautionary = acc.editorial
- print event, event.cautionary, event.ly_expression()
elif n.get_maybe_exist_typed_child (musicxml.Rest):
event = musicexp.RestEvent()