-
Notifications
You must be signed in to change notification settings - Fork 245
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
recognition of chords symbols #243
Comments
thank you for this table.
I have built up a table with the harmony expressions, used in musicxml, and the mostly found representations in scores: It's for sure not complete, but it should be valid for 95% of the symbols that appear in typical scores. |
The main difficulty is to parse the name of a chord, which is very often composed of letters intermixed with other signs (for example, a small circle to indicate a diminished chord). The BIG challenge is to train Tesseract to recognize these names from the image pixels. Could you take the action point of finding such person? |
I just found a website that shows all variations: https://www.songtive.com/chords/piano/Cmaj7 According to that only the upper case triangle is maj7 when it's written normal it is only major, very confusing... @hbitteur there is software vaialable to train the OCR https://github.com/OpaitSoftware/TesseractStudio.Net |
Here I found an interesting hint on Wikipedia:
It seems that also here there exist 2 possibilities: normally the + sign before the 7 means augmented, while 7+ means maj7 |
My idea was to use a different traindata file just for the chord recognition, that only contain those characters that are expected for chords. Here the "special" characters (triangle, circle, striked circle) could be assigned to some (for chords) unused characters that later can be properly mapped for the final analysis. |
@Bacchushlg So, we would certainly need to build from scratch such a specific "language", trained on combination of all characters (letters and special signs) that can appear in a chord name, plus perhaps a dictionary (I don't remember if the dictionary is really mandatory). How could we name such language? |
@webfischi |
maybe "hmn" for HarMoNy. MuseScore handles chord names as such. |
I think I got it now, C7+5 would be C7#5 (because there is also a +9 and a +11 variant) and C7+ could be Cmaj7 the problem is I don't now any examples and Sibelius doesn't show an option for this chord variant.
There is similar software for older versions: |
It would be fine to be able to assign text as chord symbols. Ideally identical to the behavior of lyrics: allow to span a lasso over the chord symbols and define as "chord symbol".
It is clear that the recognition is a bit different from normal text. Especially it is necessary to recognize the flat-b as "b".
Ideally there should be a set of allowed characters.
A...G, H (for german chords)
b, #, m, M, +, -, o, (o with / inside, for m7b5) (a triangle, for maj7)
sus, aug, add, maj, min, mi, alt
4, 5, 6, 7, 9, 11, 13
MuseScore allows all these variants of chord definition. So there is no need to interprete the chords.
I open a new task, although #44 already asked for this - but it is overloaded with other themes meanwhile
The text was updated successfully, but these errors were encountered: