MusicXML export bug : Whole rest measure

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

MusicXML export bug : Whole rest measure

lasconic
Administrator
Creating a sheet from scratch and adding only one note, there are some measures with whole rests. If I export such a sheet the resulting musicXML for these measures is :

<measure number="4">
      <note>
        <rest/>
        <duration>0</duration>
        <voice>1</voice>
        <type>whole</type>
      </note>
      <forward>
        <duration>1920</duration>
      </forward>
</measure>

Should be more compact :

<measure number="41">
      <note>
        <rest/>
        <duration>1920</duration>
        <voice>1</voice>
        <type>whole</type>
      </note>
</measure>

Lasconic

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: MusicXML export bug : Whole rest measure

David Bolton-2
Lasonic,

Since there is a distinction between a whole-measure rest and a whole
rest the MusicXML is slightly different for these two types of rests.
MuseScore matches your suggested measure if you insert specifically
insert a whole rest into a 4/4 measure.

I took a look at the MusicXML output from Finale 2007 for a
whole-measure rest. It does look differentl from MuseScore's output.
Notice that it leaves out the line <type>whole</type>

    <measure number="3">
      <note>
        <rest/>
        <duration>4</duration>
        <voice>1</voice>
      </note>
    </measure>

I wasn't able to find this specified in the DTD but it is demonstrated
in the Dichterliebe sample on the MusicXML website:
http://www.musicxml.org/xml/samples.html

David


Lasconic wrote:

> Creating a sheet from scratch and adding only one note, there are some
> measures with whole rests. If I export such a sheet the resulting
> musicXML for these measures is :
>
> <measure number="4">
>       <note>
>         <rest/>
>         <duration>0</duration>
>         <voice>1</voice>
>         <type>whole</type>
>       </note>
>       <forward>
>         <duration>1920</duration>
>       </forward>
> </measure>
>
> Should be more compact :
>
> <measure number="41">
>       <note>
>         <rest/>
>         <duration>1920</duration>
>         <voice>1</voice>
>         <type>whole</type>
>       </note>
> </measure>
>
> Lasconic

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: MusicXML export bug : Whole rest measure

lasconic
Administrator
Indeed, my point was about the forward element. I'm ok with the notation of both whole-measure rest and whole rest. Dolet on sibelius seems to have the same behavior. So my request remains ;) Can we get ride of the forward and have the duration element filled ?

Lasconic

2008/7/21 David Bolton <[hidden email]>:
Lasonic,

Since there is a distinction between a whole-measure rest and a whole rest the MusicXML is slightly different for these two types of rests. MuseScore matches your suggested measure if you insert specifically insert a whole rest into a 4/4 measure.

I took a look at the MusicXML output from Finale 2007 for a whole-measure rest. It does look differentl from MuseScore's output. Notice that it leaves out the line <type>whole</type>

  <measure number="3">
    <note>
      <rest/>
      <duration>4</duration>
      <voice>1</voice>
    </note>
  </measure>

I wasn't able to find this specified in the DTD but it is demonstrated in the Dichterliebe sample on the MusicXML website:
http://www.musicxml.org/xml/samples.html

David



Lasconic wrote:
Creating a sheet from scratch and adding only one note, there are some measures with whole rests. If I export such a sheet the resulting musicXML for these measures is :

<measure number="4">
     <note>
       <rest/>
       <duration>0</duration>
       <voice>1</voice>
       <type>whole</type>
     </note>
     <forward>
       <duration>1920</duration>
     </forward>
</measure>

Should be more compact :

<measure number="41">
     <note>
       <rest/>
       <duration>1920</duration>
       <voice>1</voice>
       <type>whole</type>
     </note>
</measure>

Lasconic


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: MusicXML export bug : Whole rest measure

wschweer
Administrator
In revision 1054 i changed the notion for "whole measure rests" in MusicXML as
described by David Bolton (a whole measure rest is identified by not having a
"type" element).

/ws

On Montag 21 Juli 2008, Lasconic wrote:
> Indeed, my point was about the forward element. I'm ok with the notation of
> both whole-measure rest and whole rest. Dolet on sibelius seems to have the
> same behavior. So my request remains ;) Can we get ride of the forward and
> have the duration element filled ?
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: MusicXML export bug : Whole rest measure

lasconic
Administrator
Great !
What about the forward element ?

Lasconic

2008/7/23 Werner Schweer <[hidden email]>:
In revision 1054 i changed the notion for "whole measure rests" in MusicXML as
described by David Bolton (a whole measure rest is identified by not having a
"type" element).

/ws

On Montag 21 Juli 2008, Lasconic wrote:
> Indeed, my point was about the forward element. I'm ok with the notation of
> both whole-measure rest and whole rest. Dolet on sibelius seems to have the
> same behavior. So my request remains ;) Can we get ride of the forward and
> have the duration element filled ?
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: MusicXML export bug : Whole rest measure

wschweer
Administrator
its gone, replaced by <duration>

/ws

On Mittwoch 23 Juli 2008, Lasconic wrote:

> Great !
> What about the forward element ?
>
> Lasconic
>
> 2008/7/23 Werner Schweer <[hidden email]>:
>
> > In revision 1054 i changed the notion for "whole measure rests" in MusicXML
> > as
> > described by David Bolton (a whole measure rest is identified by not having
> > a
> > "type" element).
> >
> > /ws
> >
> > On Montag 21 Juli 2008, Lasconic wrote:
> > > Indeed, my point was about the forward element. I'm ok with the notation
> > of
> > > both whole-measure rest and whole rest. Dolet on sibelius seems to have
> > the
> > > same behavior. So my request remains ;) Can we get ride of the forward
> > and
> > > have the duration element filled ?
> > >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Mscore-developer mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/mscore-developer
> >
>




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer