convert staff text to chord symbols
Hi folks,
I'm trying to find a way to convert chords from a musicXML file that are recognized as staff text into Chord symbols.
So I know I can get Chord symbols style to my staff text by using inspector options, but I'd like my staff text to be convert in native musescore chord symbols.
any ideas ?
Comments
Only good way I know is to fix the MusicXML file. Did it come from a program that exports them incorrectly? If so, maybe contact the manufacturers of that program to see if they can fix that bug. Otherwise, maybe someone can figure out how to write a program to fix the MusicXML after the fact.
In reply to Only good way I know is to… by Marc Sabatella
Thanks for your answer Marc, I will take a look at the xml file even if I'm not really aware of this kind of file.
I add a plugin that works on a simple test file. Maybe that will help.
In reply to I add a plugin that works on… by elsewhere
I notice now that a section of code:
if (annotation.type == Element.HARMONY) {
is superfluous, and can be eliminated.
In reply to I notice now that a section… by elsewhere
Hi Elsewhere,
Lot of thanks for the efforts you made in creating this plugin, unfortunately, it crashes MuseScore while I'm using it with my xml score. The xml is generated by Reaper (From Cockos).
I join the score if you find the time to investigate on it.
In reply to Hi Elsewhere, Lot of thanks… by Daeavelwyn
It crashes because of the empty measures up front. If you delete those it works. The symbols look the same, but they are chord symbols: try transposition or assigning another font.
I'll try and figure out why the empty measures are a problem.
In reply to It crashes because of the… by elsewhere
It's not the empty meassures after all. There is something weird in your xml file about the clefs. I noticed that when I delete the empty measures the bas cleff turns into a violin clef. I replace the clef with a bass clef and insert again 4 empty measures, and everything works fine...
If you Select All in your xml file and paste in a new empty piano score you also have no problem.
In reply to It's not the empty meassures… by elsewhere
Hey, thanks for the wokaround ! I think I will write a bug report on reaper's forum. :)