working on musicxml

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

working on musicxml

Leon Vinken
Hi all,

after a period of absence I intend to start working on mscore again. My
primary interest is musicxml import/export. Will let you know what I
intend to do later.

Best regards, Leon.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: working on musicxml

Thomas Bonte
Administrator
Hi Leon,

Without any obligation, I just want to point to the outstanding challenge to improve the musicXML import using the examples from the recordare website. And obviously export as well. More about it in this discussion: http://n2.nabble.com/Testing-musicXML-import-with-musicXML-samples-tt1576298.html#a1576298

I'm looking forward collaborating with you again!

Leon Vinken wrote
Hi all,

after a period of absence I intend to start working on mscore again. My
primary interest is musicxml import/export. Will let you know what I
intend to do later.

Best regards, Leon.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: working on musicxml

David Bolton-2
Leon,

There is a bug with MuseScore importing the wrong pitch when a note is
preceded by an editorial accidental. I came across the bug again this
week. Here's the original report:

http://n2.nabble.com/Editorial-accidental-causes-incorrect-pitch-for-MusicXML-import-tp1617245p1617245.html

David



Thomas Bonte wrote:

> Hi Leon,
>
> Without any obligation, I just want to point to the outstanding challenge to
> improve the musicXML import using the examples from the recordare website.
> And obviously export as well. More about it in this discussion:
> http://n2.nabble.com/Testing-musicXML-import-with-musicXML-samples-tt1576298.html#a1576298
>
> I'm looking forward collaborating with you again!
>
>
> Leon Vinken wrote:
>  
>> Hi all,
>>
>> after a period of absence I intend to start working on mscore again. My
>> primary interest is musicxml import/export. Will let you know what I
>> intend to do later.
>>
>> Best regards, Leon.
>>    

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: working on musicxml

lasconic
Administrator
In reply to this post by Leon Vinken
Hi !
As you may have seen, I made some small changes to musicXML import and export (octava, page format, harmony order etc...)
To avoid double work, we should talk about it I guess.
My Qt knowledge is quite bad but I know musicXML quite well. As thomas said one of the goal is to import correctly the recordare examples.
My current interest is default-y of elements (direction harmony, slurs) because it seems to be the major problem for recordare examples.
It's not yet clear to me how layout is working in MuseScore. In particular, I don't understand where default position (for example of chord names "baseline") are set.

Lasconic

2009/1/15 Leon Vinken <[hidden email]>
Hi all,

after a period of absence I intend to start working on mscore again. My
primary interest is musicxml import/export. Will let you know what I
intend to do later.

Best regards, Leon.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: working on musicxml

wschweer
Administrator
Layout of text elements (and some symbols) is something i'm still working on.
Let me describe how it should work:

-   Every text element has an anchor position. This is usually the top left of
    then parent bounding box. Chord names are anchord to segments+staff. Their
  anchor position is y the top of a staff (the first staff line) and x the
    left edge of a segment (note heads are left aligned in a segment).

-   Text elements have a reference position. This position depends on the text
    style. Chord names x left aligned and y aligned to the baseline of the
    first text line. This defines the reference position. If you drag a text
    element, a dashed line is shown between anchor position and reference
    position.

-   The layout routine sets the position of an text element by looking at the
    text style (offsets etc.). This is the layout position.

-   The user can drag an element. The distance from layout position to actual
    position is saved as userOffset. The drawing position is layout position +
    userOffset. The "Reset Position" function in layout sets userOffset to
    zero. Only the userOffset is saved in an mscore xml file.

When importing a position first you have to calculate the distance between
mscore anchor position and musicXml reference position. Then the mscore layout
position must be subtracted and the remaining distance is the userOffset.

Current mscore has a bug that when changing text style the position of chord
names do only move after restart of mscore.
 
-  
On Thursday 15 January 2009 22:39:07 Lasconic wrote:

> Hi !
> As you may have seen, I made some small changes to musicXML import and
> export (octava, page format, harmony order etc...)
> To avoid double work, we should talk about it I guess.
> My Qt knowledge is quite bad but I know musicXML quite well. As thomas said
> one of the goal is to import correctly the recordare examples.
> My current interest is default-y of elements (direction harmony, slurs)
> because it seems to be the major problem for recordare examples.
> It's not yet clear to me how layout is working in MuseScore. In particular,
> I don't understand where default position (for example of chord names
> "baseline") are set.
>
> Lasconic
>
> 2009/1/15 Leon Vinken <[hidden email]>
>
> > Hi all,
> >
> > after a period of absence I intend to start working on mscore again. My
> > primary interest is musicxml import/export. Will let you know what I
> > intend to do later.
> >
> > Best regards, Leon.
> >
> >
> >
> > -------------------------------------------------------------------------
> >----- This SF.net email is sponsored by:
> > SourcForge Community
> > SourceForge wants to tell your story.
> > http://p.sf.net/sfu/sf-spreadtheword
> > _______________________________________________
> > Mscore-developer mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: working on musicxml

Leon Vinken
In reply to this post by David Bolton-2
David,

tonight I have committed a simple fix for this problem (r1457). Let me
know if the problem is not completely fixed or if there are unwanted
side-effects.

Regards, Leon.

On Thu, 2009-01-15 at 14:26 -0600, David Bolton wrote:

> Leon,
>
> There is a bug with MuseScore importing the wrong pitch when a note is
> preceded by an editorial accidental. I came across the bug again this
> week. Here's the original report:
>
> http://n2.nabble.com/Editorial-accidental-causes-incorrect-pitch-for-MusicXML-import-tp1617245p1617245.html
>
> David
>
>
>
> Thomas Bonte wrote:
> > Hi Leon,
> >
> > Without any obligation, I just want to point to the outstanding challenge to
> > improve the musicXML import using the examples from the recordare website.
> > And obviously export as well. More about it in this discussion:
> > http://n2.nabble.com/Testing-musicXML-import-with-musicXML-samples-tt1576298.html#a1576298
> >
> > I'm looking forward collaborating with you again!
> >
> >
> > Leon Vinken wrote:
> >  
> >> Hi all,
> >>
> >> after a period of absence I intend to start working on mscore again. My
> >> primary interest is musicxml import/export. Will let you know what I
> >> intend to do later.
> >>
> >> Best regards, Leon.
> >>    
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Mscore-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: working on musicxml

Leon Vinken
In reply to this post by Thomas Bonte
Thomas,

that could be a major challenge indeed ... First I'd like to make sure
all musical elements get exported / imported correctly.

Regards, Leon.

On Thu, 2009-01-15 at 12:08 -0800, Thomas Bonte wrote:

> Hi Leon,
>
> Without any obligation, I just want to point to the outstanding challenge to
> improve the musicXML import using the examples from the recordare website.
> And obviously export as well. More about it in this discussion:
> http://n2.nabble.com/Testing-musicXML-import-with-musicXML-samples-tt1576298.html#a1576298
>
> I'm looking forward collaborating with you again!
>
>
> Leon Vinken wrote:
> >
> > Hi all,
> >
> > after a period of absence I intend to start working on mscore again. My
> > primary interest is musicxml import/export. Will let you know what I
> > intend to do later.
> >
> > Best regards, Leon.
> >
> >
> > ------------------------------------------------------------------------------
> > This SF.net email is sponsored by:
> > SourcForge Community
> > SourceForge wants to tell your story.
> > http://p.sf.net/sfu/sf-spreadtheword
> > _______________________________________________
> > Mscore-developer mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/mscore-developer
> >
> >
>


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer