MakeMusic
SmartMusic Finale Garritan MusicXML

grace note

Moderator: Michael Good

grace note

Postby Christof Schardt » Wed May 06, 2015 2:16 pm

Hi Michael,

according to the DTD a grace note does not have a duration, but also it is not required to have a type-tag.
Indeed I stumbled over a dolet-created sibelius-export with graces-notes not having either of both.
PriMus crashed because of an undefined note-value.

That does not make sense to me. A grace note should have a nominal duration, at least expressed by a type tag, shoudn't it?

Christof
Christof Schardt
 
Posts: 99
Joined: March, 2014
Reputation: 0

Re: grace note

Postby Michael Good » Wed May 06, 2015 5:24 pm

Hi Christof,

I think it makes sense in general that grace notes are not required to have a type element associated with them. In the future, we could use profiles for use cases where a type element would be required for each note element.

However, I would think a file exported by the Dolet for Sibelius plug-in would have a type element for each grace note. If you have access to the original Sibelius file, could you please email it to me so I can investigate? Thanks!
Michael Good
VP of MusicXML Technologies
MakeMusic, Inc.
User avatar
Michael Good
 
Posts: 2197
Joined: March, 2014
Reputation: 0

Re: grace note

Postby Christof Schardt » Wed May 06, 2015 11:10 pm

Michael Good wrote:However, I would think a file exported by the Dolet for Sibelius plug-in would have a type element for each grace note. If you have access to the original Sibelius file, could you please email it to me so I can investigate? Thanks!


It was taken form here: http://www.gutenberg.org/ebooks/12149
A type-less grace note is found for example, in the violin 1 part, measure 93.

BTW: I preprocessed it by the musicxmlsanitizer, but he did not notice this.
Christof Schardt
 
Posts: 99
Joined: March, 2014
Reputation: 0

Re: grace note

Postby Hans Vereyken » Tue May 12, 2015 2:22 am

Hi Christof,

I created some files with type-less grace-notes and run them trough the MusicXML Sanitizer. The log file shows: 'Unknown note-type undefined' but the Sanitizer couldn't fix it.

I wrote a plugin in the Sanitizer to add <type>eighth</type> to grace notes without type. Off course this change will be visible in the log file generated by the Sanitizer.

I'll post back after we deployed (asap) this (and other) change(s) and ask you to try again.

The other changes are:
- converting words like 'q = ca 65' to a real metronome
- movement-title vs work-title
Hans Vereyken
 
Posts: 36
Joined: March, 2014
Reputation: 0

Re: grace note

Postby Hans Vereyken » Tue May 12, 2015 5:41 am

Things went faster as we expected, the new functionality is already deployed.
Can you please check whether this fixes the type-less gracenote problem?

Thanks!
Hans Vereyken
 
Posts: 36
Joined: March, 2014
Reputation: 0

Re: grace note

Postby Mogens Lundholm » Wed May 13, 2015 1:09 am

This is a very useful test file - "12149-Complete.xml". It shows the problems
of XML-sanity.

This a a paradox: The file is UniCode format "UTF-16LE". This is defined inside
the file. But I can't read the file before I know the format.

But this is fixed by opening it with Nodepad and saving (Notepad adds the prefix
bytes). Then my program can play the file. But neither can Finale nor MuseScore.

The "MusicXML Sanitizer" creates a file that Finale can read.

So I wonder - does a pdf-file exist? (Original) - Then I could identify and
check the grace notes.
Does anybody have other really big MusicXML files?
(I have a lot of small test files but this is the only big file I know of)

Regards
Mogens
Mogens Lundholm
 
Posts: 60
Joined: March, 2014
Reputation: 0

Re: grace note

Postby Michael Good » Fri May 29, 2015 12:18 pm

Christof Schardt wrote:It was taken form here: http://www.gutenberg.org/ebooks/12149
A type-less grace note is found for example, in the violin 1 part, measure 93.

Thanks, Christof. Those files were exported 9 years ago by Dolet 1.1 for Sibelius. I double-checked with the original Sibelius files and the grace notes now export correctly with type element. This is true when using either the latest Dolet 6.4 for Sibelius plug-in or Sibelius 7.5.1's built-in MusicXML export.
Michael Good
VP of MusicXML Technologies
MakeMusic, Inc.
User avatar
Michael Good
 
Posts: 2197
Joined: March, 2014
Reputation: 0

Who is online

Users browsing this forum: No registered users and 1 guest

cron