libmusicxml icon indicating copy to clipboard operation
libmusicxml copied to clipboard

Support microtonal accidentals for lilypond translation

Open gesellkammer opened this issue 4 years ago • 7 comments

musicxml defines accidentals like natural-up, natural-down, etc, which can be translated to lilypond as seen here: http://lsr.di.unimi.it/LSR/Item?id=784

gesellkammer avatar Jul 18 '19 10:07 gesellkammer

Hello Eduardo,

Can you share with me a sample file containing such accidentals?

That would help me a lot to add their translation to LilyPond.

Also, what is your deadline? I’m busy finalizing various aspects of the implemention these days.

A nice day!

JM

Le 18 juil. 2019 à 12:46, Eduardo Moguillansky [email protected] a écrit :

musicxml defines accidentals like natural-up, natural-down, etc, which can be translated to lilypond as seen here: http://lsr.di.unimi.it/LSR/Item?id=784 http://lsr.di.unimi.it/LSR/Item?id=784 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/libmusicxml/issues/35?email_source=notifications&email_token=ABRJX6Q6GNLB3HEKN67VFPLQABCXPA5CNFSM4IEZMUF2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G77BOHQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRJX6WGYI2VWEDNGKSXQD3QABCXPANCNFSM4IEZMUFQ.

jacques-menu avatar Jul 18 '19 12:07 jacques-menu

Here is a small example, which opens fine in MuseScore. xml2ly complains about being 0.25, and of course it does not translate the accidental to lilypond. Otherwise xml2ly is a great alternative to musicxml2ly, thanks for that

On 18.07.19 14:31, jacques-menu wrote:

Hello Eduardo,

Can you share with me a sample file containing such accidentals?

That would help me a lot to add their translation to LilyPond.

Also, what is your deadline? I’m busy finalizing various aspects of the implemention these days.

A nice day!

JM

Le 18 juil. 2019 à 12:46, Eduardo Moguillansky [email protected] a écrit :

musicxml defines accidentals like natural-up, natural-down, etc, which can be translated to lilypond as seen here: http://lsr.di.unimi.it/LSR/Item?id=784 http://lsr.di.unimi.it/LSR/Item?id=784 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/libmusicxml/issues/35?email_source=notifications&email_token=ABRJX6Q6GNLB3HEKN67VFPLQABCXPA5CNFSM4IEZMUF2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G77BOHQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRJX6WGYI2VWEDNGKSXQD3QABCXPANCNFSM4IEZMUFQ.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/libmusicxml/issues/35?email_source=notifications&email_token=AAAT3NEOVFZCFLV4B55GMHTQABPBPA5CNFSM4IEZMUF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2IKEZY#issuecomment-512795239, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAT3NGEJGND5QJTRWJCYZ3QABPBPANCNFSM4IEZMUFQ.

gesellkammer avatar Jul 18 '19 15:07 gesellkammer

Hello Eduardo,

I started to develop xml2ly more that three years ago to meet my own needs. Glad you appriaciate it.

Looks like the attachment was missing: can you send it again?

I’ll start working on that next week (attending a music workshop till saturday).

JM

Le 18 juil. 2019 à 17:19, Eduardo Moguillansky [email protected] a écrit :

Here is a small example, which opens fine in MuseScore. xml2ly complains about being 0.25, and of course it does not translate the accidental to lilypond. Otherwise xml2ly is a great alternative to musicxml2ly, thanks for that

On 18.07.19 14:31, jacques-menu wrote:

Hello Eduardo,

Can you share with me a sample file containing such accidentals?

That would help me a lot to add their translation to LilyPond.

Also, what is your deadline? I’m busy finalizing various aspects of the implemention these days.

A nice day!

JM

Le 18 juil. 2019 à 12:46, Eduardo Moguillansky [email protected] a écrit :

musicxml defines accidentals like natural-up, natural-down, etc, which can be translated to lilypond as seen here: http://lsr.di.unimi.it/LSR/Item?id=784 http://lsr.di.unimi.it/LSR/Item?id=784 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/libmusicxml/issues/35?email_source=notifications&email_token=ABRJX6Q6GNLB3HEKN67VFPLQABCXPA5CNFSM4IEZMUF2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G77BOHQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRJX6WGYI2VWEDNGKSXQD3QABCXPANCNFSM4IEZMUFQ.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/libmusicxml/issues/35?email_source=notifications&email_token=AAAT3NEOVFZCFLV4B55GMHTQABPBPA5CNFSM4IEZMUF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2IKEZY#issuecomment-512795239, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAT3NGEJGND5QJTRWJCYZ3QABPBPANCNFSM4IEZMUFQ.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/libmusicxml/issues/35?email_source=notifications&email_token=ABRJX6VNISA2UTX4VVG2FVDQACCWNA5CNFSM4IEZMUF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2I2L6Q#issuecomment-512861690, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRJX6VHQU2ZZSMKJTA5CT3QACCWNANCNFSM4IEZMUFQ.

jacques-menu avatar Jul 18 '19 16:07 jacques-menu

Hello Eduardo,

I’m now ready to add an option for arrowed quartertones in xml2ly, i.e. with alter different that 0.5.

Can you send me an example file to be used for testing?

Thanks!

JM

Le 18 juil. 2019 à 12:46, Eduardo Moguillansky [email protected] a écrit :

musicxml defines accidentals like natural-up, natural-down, etc, which can be translated to lilypond as seen here: http://lsr.di.unimi.it/LSR/Item?id=784 http://lsr.di.unimi.it/LSR/Item?id=784 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/libmusicxml/issues/35?email_source=notifications&email_token=ABRJX6Q6GNLB3HEKN67VFPLQABCXPA5CNFSM4IEZMUF2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G77BOHQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRJX6WGYI2VWEDNGKSXQD3QABCXPANCNFSM4IEZMUFQ.

jacques-menu avatar Aug 19 '19 15:08 jacques-menu

Here is a musicxml with multiple arrowed quartertones.

On 19.08.19 17:29, jacques-menu wrote:

Hello Eduardo,

I’m now ready to add an option for arrowed quartertones in xml2ly, i.e. with alter different that 0.5.

Can you send me an example file to be used for testing?

Thanks!

JM

Le 18 juil. 2019 à 12:46, Eduardo Moguillansky [email protected] a écrit :

musicxml defines accidentals like natural-up, natural-down, etc, which can be translated to lilypond as seen here: http://lsr.di.unimi.it/LSR/Item?id=784 http://lsr.di.unimi.it/LSR/Item?id=784 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/libmusicxml/issues/35?email_source=notifications&email_token=ABRJX6Q6GNLB3HEKN67VFPLQABCXPA5CNFSM4IEZMUF2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G77BOHQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRJX6WGYI2VWEDNGKSXQD3QABCXPANCNFSM4IEZMUFQ.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/libmusicxml/issues/35?email_source=notifications&email_token=AAAT3NEIW24W5WTLBPAV273QFK37DA5CNFSM4IEZMUF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4TLAGA#issuecomment-522629144, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAT3NDP5HA47HLMZCU76EDQFK37DANCNFSM4IEZMUFQ.

gesellkammer avatar Aug 19 '19 22:08 gesellkammer

Hello Eduardo,

Sorry, but there’s no attachment in you message. Is that a mail problem on your side?

JM

Le 20 août 2019 à 00:57, Eduardo Moguillansky [email protected] a écrit :

Here is a musicxml with multiple arrowed quartertones.

On 19.08.19 17:29, jacques-menu wrote:

Hello Eduardo,

I’m now ready to add an option for arrowed quartertones in xml2ly, i.e. with alter different that 0.5.

Can you send me an example file to be used for testing?

Thanks!

JM

Le 18 juil. 2019 à 12:46, Eduardo Moguillansky [email protected] a écrit :

musicxml defines accidentals like natural-up, natural-down, etc, which can be translated to lilypond as seen here: http://lsr.di.unimi.it/LSR/Item?id=784 http://lsr.di.unimi.it/LSR/Item?id=784 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/libmusicxml/issues/35?email_source=notifications&email_token=ABRJX6Q6GNLB3HEKN67VFPLQABCXPA5CNFSM4IEZMUF2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G77BOHQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRJX6WGYI2VWEDNGKSXQD3QABCXPANCNFSM4IEZMUFQ.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/libmusicxml/issues/35?email_source=notifications&email_token=AAAT3NEIW24W5WTLBPAV273QFK37DA5CNFSM4IEZMUF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4TLAGA#issuecomment-522629144, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAT3NDP5HA47HLMZCU76EDQFK37DANCNFSM4IEZMUFQ.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/libmusicxml/issues/35?email_source=notifications&email_token=ABRJX6U4AORZIUWW7VLAMLTQFMQMVA5CNFSM4IEZMUF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4URCMI#issuecomment-522785073, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRJX6XBIGI6WUY6UMLT2STQFMQMVANCNFSM4IEZMUFQ.

jacques-menu avatar Aug 20 '19 05:08 jacques-menu

I’m now ready to add an option for arrowed quartertones in xml2ly, i.e. with alter different that 0.5. Can you send me an example file to be used for testing? Thanks!

@jacques-menu @gesellkammer @dfober

The new musicxml standard has several options for microtones, and an option to indicate any smulf glyph (<xs:enumeration value="other"/>).

But, at the same time, this does not eliminate the use of

-- See: https://github.com/w3c/musicxml/issues/263
-- <accidental smufl="accidentalFlatThreeArrowsUp">other</accidental>

-- https://www.w3.org/2021/06/musicxml40/musicxml-reference/data-types/accidental-value/

-- musicxmlxsd line 1521

-- <xs:simpleType name="accidental-value">
-- 	<xs:annotation>
-- 		<xs:documentation>The accidental-value type represents notated accidentals supported by MusicXML. In the MusicXML 2.0 DTD this was a string with values that could be included. The XSD strengthens the data typing to an enumerated list. The quarter- and three-quarters- accidentals are Tartini-style quarter-tone accidentals. The -down and -up accidentals are quarter-tone accidentals that include arrows pointing down or up. The slash- accidentals are used in Turkish classical music. The numbered sharp and flat accidentals are superscripted versions of the accidental signs, used in Turkish folk music. The sori and koron accidentals are microtonal sharp and flat accidentals used in Iranian and Persian music. The other accidental covers accidentals other than those listed here. It is usually used in combination with the smufl attribute to specify a particular SMuFL accidental. The smufl attribute may be used with any accidental value to help specify the appearance of symbols that share the same MusicXML semantics.</xs:documentation>
-- 	</xs:annotation>
-- 	<xs:restriction base="xs:string">
-- 		<xs:enumeration value="sharp"/>
-- 		<xs:enumeration value="natural"/>
-- 		<xs:enumeration value="flat"/>
-- 		<xs:enumeration value="double-sharp"/>
-- 		<xs:enumeration value="sharp-sharp"/>
-- 		<xs:enumeration value="flat-flat"/>
-- 		<xs:enumeration value="natural-sharp"/>
-- 		<xs:enumeration value="natural-flat"/>
-- 		<xs:enumeration value="quarter-flat"/>
-- 		<xs:enumeration value="quarter-sharp"/>
-- 		<xs:enumeration value="three-quarters-flat"/>
-- 		<xs:enumeration value="three-quarters-sharp"/>
-- 		<xs:enumeration value="sharp-down"/>
-- 		<xs:enumeration value="sharp-up"/>
-- 		<xs:enumeration value="natural-down"/>
-- 		<xs:enumeration value="natural-up"/>
-- 		<xs:enumeration value="flat-down"/>
-- 		<xs:enumeration value="flat-up"/>
-- 		<xs:enumeration value="double-sharp-down"/>
-- 		<xs:enumeration value="double-sharp-up"/>
-- 		<xs:enumeration value="flat-flat-down"/>
-- 		<xs:enumeration value="flat-flat-up"/>
-- 		<xs:enumeration value="arrow-down"/>
-- 		<xs:enumeration value="arrow-up"/>
-- 		<xs:enumeration value="triple-sharp"/>
-- 		<xs:enumeration value="triple-flat"/>
-- 		<xs:enumeration value="slash-quarter-sharp"/>
-- 		<xs:enumeration value="slash-sharp"/>
-- 		<xs:enumeration value="slash-flat"/>
-- 		<xs:enumeration value="double-slash-flat"/>
-- 		<xs:enumeration value="sharp-1"/>
-- 		<xs:enumeration value="sharp-2"/>
-- 		<xs:enumeration value="sharp-3"/>
-- 		<xs:enumeration value="sharp-5"/>
-- 		<xs:enumeration value="flat-1"/>
-- 		<xs:enumeration value="flat-2"/>
-- 		<xs:enumeration value="flat-3"/>
-- 		<xs:enumeration value="flat-4"/>
-- 		<xs:enumeration value="sori"/>
-- 		<xs:enumeration value="koron"/>
-- 		<xs:enumeration value="other"/>
-- 	</xs:restriction>
-- </xs:simpleType>

smoge avatar Feb 13 '24 18:02 smoge