Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for harm elements to be displayed on top of chords #280

Closed
sannedubois opened this issue Aug 22, 2016 · 16 comments
Closed

Support for harm elements to be displayed on top of chords #280

sannedubois opened this issue Aug 22, 2016 · 16 comments

Comments

@sannedubois
Copy link

sannedubois commented Aug 22, 2016

Would be nice if chord-symbols like Am7, Gmaj7 etc could be shown in the score.

@lpugin
Copy link
Contributor

lpugin commented Aug 22, 2016

How would they be represented in MEI?

@pe-ro
Copy link

pe-ro commented Aug 22, 2016

Textual chord labels can be represented using:

<harm>Am7</harm>
etc.

Since they're text, one may use <rend> for special formatting:

<harm>Am<rend rend="sup">7</rend></harm>

@lpugin lpugin changed the title chords Support for harm elements to be displayed on top of chords Aug 23, 2016
@sannedubois
Copy link
Author

HEllo LAurent,

The problem is that I have to convert ten thousands of music-xml files,
using sibmei. So it would be nice that the chords could be converted the
same way as the lyrics. Graig told me about this possibility to add it
manually, but that's not doable for me, would take me years.

In music xml for Fm7 it would be:

F minor-seventh

But I'm not sure if the sollution lies in the mei-viewer or in sibmei.
Sibmei should be able to convert and the mei-viewer should be able to
interpret/read?

Kind regards,
Derk

2016-08-22 23:43 GMT+02:00 pe-ro notifications@github.com:

Textual chord labels can be represented using:

Am7
etc.

Since they're text, one may use for special formatting:

Am7


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#280 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/APa0EyJgcEK2ehNgSwyN5UnHM_mTCoIeks5qihf2gaJpZM4JqE2B
.

@lpugin
Copy link
Contributor

lpugin commented Aug 23, 2016

They are indeed two different issues. If the chord labels are displayed in Sibelius, then there is probably a way to have them converted to harm by Sibmei.

Another option is to add harm support to the musicxml importer in Verovio, but since this importer has much less features than Sibmei I assume it would create other issues for you to convert your data.

@lpugin
Copy link
Contributor

lpugin commented Aug 23, 2016

Third option: have you tried the musicxml2mei stylesheet? https://github.com/music-encoding/encoding-tools

@ahankinson
Copy link
Contributor

Can you send me one of your files with chord symbols? I can see about adding support for it in sibmei.

@sannedubois
Copy link
Author

Thanks. I will contact Sibmei about it.

2016-08-23 8:42 GMT+02:00 Laurent Pugin notifications@github.com:

They are indeed two different issues. If the chord labels are displayed in
Sibelius, then there is probably a way to have them converted to harm by
Sibmei.

Another option is to add harm support to the musicxml importer in
Verovio, but since this importer has much less features than Sibmei I
assume it would create other issues for you to convert your data.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#280 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/APa0EyA6IY3i9_uX4bT8lnWM1gJLBErUks5qipZcgaJpZM4JqE2B
.

@sannedubois
Copy link
Author

Hi Andrew,

That would be absolutely great!

I added an attachment with a music xml 3.0 file and a jpeg.

Kind regards,
Derk

2016-08-23 9:31 GMT+02:00 Andrew Hankinson notifications@github.com:

Can you send me one of your files with chord symbols? I can see about
adding support for it in sibmei.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#280 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/APa0EyVcvPyBoYzjIsIecu0kxb6qvFgGks5qiqG8gaJpZM4JqE2B
.

@ahankinson
Copy link
Contributor

I think you have to send it to me directly; GitHub strips off attachments for e-mail replies.

@ahankinson
Copy link
Contributor

I'll post this here since everyone seems to be watching it.

I've taken a stab at exporting <harm> from Sibelius. The test file is here:

https://www.dropbox.com/s/hcwguxvq16cc408/rigaudon.mei?dl=0

At the moment it's pretty bare-bones. I've placed the <harm> elements as a child of <measure> with @tstamp values for their placement. Let me know if anyone sees a problem with this.

@pe-ro
Copy link

pe-ro commented Aug 23, 2016

@ahankinson : Looks great. Works better. :-)

@pe-ro
Copy link

pe-ro commented Aug 23, 2016

@ahankinson : The labels in the test file are all "simple" ones: C, Dm, G/B, etc. Are you also able to deal with more complex labels; that is, those with augmented or diminished intervals?

@sannedubois
Copy link
Author

Do you want a file with more complex chord-symbols? I can do that, no
problem.

2016-08-23 15:00 GMT+02:00 pe-ro notifications@github.com:

@ahankinson https://github.com/ahankinson : The labels in the test file
are all "simple" ones: C, Dm, G/B, etc. Are you also able to deal with more
complex labels; that is, those with augmented or diminished intervals?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#280 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/APa0E0clK1BUfJk9o55HhQJ2Ey8kSActks5qiu74gaJpZM4JqE2B
.

@ahankinson
Copy link
Contributor

If you can do more complex chord symbols that would be great. I can see what it will do and adjust if necessary.

@sannedubois
Copy link
Author

I've been thinking about it and it seems in fact to be very simple, because
as you can see via the link below, as long as one uses the 'long' chord
symbol, it always stays 'text'. So you wouldn't have to add anything at all.

If you want to convert all special signs which are used, it will become
more complex. Wikipedia shows very nicely that all chords have a long and
a short version.

Here it is:

https://en.wikipedia.org/wiki/Chord_names_and_symbols_(popular_music).

I'm a guitar player myself, but I wouldn't need the 'short' chord symbols,
with triangles, circles, +, - etc.

2016-08-23 18:06 GMT+02:00 Andrew Hankinson notifications@github.com:

If you can do more complex chord symbols that would be great. I can see
what it will do and adjust if necessary.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#280 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/APa0E5MNXKZ3_fnB_xBhFkNN7IjCl5l6ks5qixpqgaJpZM4JqE2B
.

ahankinson added a commit to music-encoding/sibmei that referenced this issue Aug 27, 2016
This commit adds basic support for chord symbols in Sibmei.

Refs: rism-digital/verovio#280
@lpugin
Copy link
Contributor

lpugin commented Sep 6, 2016

Added in 3498019

@lpugin lpugin closed this as completed Sep 6, 2016
ahankinson added a commit to music-encoding/sibmei that referenced this issue Sep 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants