MakeMusic
SmartMusic Finale Garritan MusicXML

Parenthesis around chord symbols

Moderator: Michael Good

Parenthesis around chord symbols

Postby zimrahdev » Sun Mar 29, 2015 6:26 am

For a chord that has parenthesis around it - ie (G) - how should the harmony node be built ?
I have only seen that the kind node has such attributes as
- parentheses-degrees
- bracket-degrees
but these, as their name suggests, apply to the degrees and not to the whole chord symbol.

Is this something missing in MusicXML ?
zimrahdev
 
Posts: 19
Joined: March, 2014
Reputation: 0

Re: Parenthesis around chord symbols

Postby Michael Good » Mon Mar 30, 2015 9:48 am

For parentheses around the entire chord symbol, use a <level parentheses="yes"/> element as a child of the top-level harmony element.

The level element is used to indicate editorial additions. It has optional text content that you can use to differentiate different types of editorial additions, such as why this chord symbol is parenthesized.
Michael Good
VP of MusicXML Technologies
MakeMusic, Inc.
User avatar
Michael Good
 
Posts: 2197
Joined: March, 2014
Reputation: 0

Re: Parenthesis around chord symbols

Postby zimrahdev » Mon Mar 30, 2015 10:33 am

Great, thanks Michael.
I'll pass on the message ...
zimrahdev
 
Posts: 19
Joined: March, 2014
Reputation: 0

Re: Parenthesis around chord symbols

Postby Marc Sabatella » Mon Mar 30, 2015 11:02 am

What about cases where a *sequence* of chords is parenthesized, like:

( A7b9 Dmi7 G7 )

so no single chord is fully parenthesized?
Marc Sabatella
 
Posts: 24
Joined: March, 2014
Reputation: 0

Re: Parenthesis around chord symbols

Postby zimrahdev » Thu Apr 09, 2015 5:52 am

Just bumping this one so as, hopefully, Michael will see it and be able to provide the correct solution to Marc's question above ....
zimrahdev
 
Posts: 19
Joined: March, 2014
Reputation: 0

Re: Parenthesis around chord symbols

Postby Michael Good » Thu Apr 09, 2015 10:56 am

There is no direct way to do this as MusicXML 3.0 does not treat a sequence of chords as a unit, and there is no option for open or closed parentheses only. You would need to represent the parentheses either as text in the harmony element or separate text in a words element.

Suggestions are welcome for better ways to do this in the future. The change that would be most compatible with MusicXML 3.0 might be to extend the various parentheses attributes to accept values of "start" and "stop" in addition to "yes" and "no".
Michael Good
VP of MusicXML Technologies
MakeMusic, Inc.
User avatar
Michael Good
 
Posts: 2197
Joined: March, 2014
Reputation: 0

Re: Parenthesis around chord symbols

Postby Marc Sabatella » Fri Apr 10, 2015 10:30 am

If that means I add a "level" tag but now give it a value of "start" if this has an open paren, "stop" if it has a right paren, and "yes" if it has both, then this seems great to me.

But if I do this now, then my output is not technically compliant until this becomes part of the standard, so I can't do it yet?
Marc Sabatella
 
Posts: 24
Joined: March, 2014
Reputation: 0

Re: Parenthesis around chord symbols

Postby Michael Good » Fri Apr 10, 2015 7:15 pm

Right, don't do this now or it wlll generate error messages whenever imported into a program that tries to validate MusicXML files first. For MusicXML 3.0 files, the best I can think of is to use one of the text workarounds that I mentioned earlier.
Michael Good
VP of MusicXML Technologies
MakeMusic, Inc.
User avatar
Michael Good
 
Posts: 2197
Joined: March, 2014
Reputation: 0

Re: Parenthesis around chord symbols

Postby Marc Sabatella » Sat Apr 11, 2015 10:53 am

OK, thanks.
Marc Sabatella
 
Posts: 24
Joined: March, 2014
Reputation: 0

Who is online

Users browsing this forum: No registered users and 2 guests

cron