Skip to content

Commit

Permalink
Restore defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Apr 19, 2022
1 parent ae2f64f commit 1fcd518
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions music21/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class DefaultsException(Exception):
pass


title = ''
author = ''
title = 'Music21 Fragment'
author = 'Music21'
software = 'music21 v.' + _version.__version__ # used in xml encoding source software
musicxmlVersion = '3.1'

Expand Down
3 changes: 3 additions & 0 deletions music21/musicxml/m21ToXml.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,9 @@ def parse(self, obj=None):
PUBLIC "-//Recordare//DTD MusicXML ... Partwise//EN"
"http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise version="...">
<movement-title>Music21 Fragment</movement-title>
<identification>
<creator type="composer">Music21</creator>
<encoding>
<encoding-date>...</encoding-date>
<software>music21 v...</software>
Expand Down Expand Up @@ -2196,6 +2198,7 @@ def setIdentification(self):
>>> mxIdentification = SX.setIdentification()
>>> SX.dump(mxIdentification)
<identification>
<creator type="composer">Music21</creator>
<encoding>
<encoding-date>20...-...-...</encoding-date>
<software>music21 v...</software>
Expand Down

0 comments on commit 1fcd518

Please sign in to comment.