[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Unicode musical symbols [Was: XSL and XMLSchema]

Subject: Unicode musical symbols [Was: XSL and XMLSchema]
From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxx>
Date: Fri, 27 Apr 2001 17:09:51 +0100 (BST)
musical symbols
Karim Barkati wrote at 27 Apr 2001 16:29:09 +0200:
 > Tony Graham a écrit :
...
 > > Out of curiousity, have you looked at using the new Musical Symbols
 > > characters in Unicode 3.1 (see
 > > http://www.unicode.org/unicode/reports/tr27/ and
 > > http://www.unicode.org/charts/PDF/U1D100.pdf) to represent the notes?
...
 > I already thought to use the musical symbols of the new unicode, but I
 > haven't decided yet if I put these symbols directly in the XML file or later,
 > because they are insufficiant to describe music notation, as pitch and other
 > things more complicated.

That's why I was wondering whether you'd use them, since it seems that
you'd need more information than the musical symbols by themselves can
provide, so there's an obvious tradeoff between being able to
represent the notes as notes (once you have the font support) -- which
may make it easier to read the plain XML files when a MusicML (or
whatever) application isn't available -- and using the same element-
or attribute-based mechanism as you need to use to represent pitch,
etc.

There is problem that I see with the musical symbols and XSL or XSLT
(to bring this back on topic before I feel too guilty).  If you need
to transform from *ML that uses the musical symbols into something
else that doesn't, you'd have to match on the data content (or
attribute content) to work out what note to represent.  Furthermore,
in some cases you'd have to be prepared to match both the precomposed
and the uncomposed forms of the symbols, since either could be used.
If your *ML did an SVG and you put multiple notes in the one text node
or attribute value, you'd also have to do a non-XML parse of that data
to work out what notes you had.

 > What does your book treat on?

Unicode.  See http://www.menteith.com/unicode/primer/.

Regards,


Tony Graham
------------------------------------------------------------------------
Tony Graham                           mailto:tony.graham@xxxxxxxxxxxxxxx
Sun Microsystems Ireland Ltd                       Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3            x(70)19708

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.