Text Type Converter

• Dec 22, 2018 - 21:13

I put this on the "new features" list a couple of months ago and got no activity on the post. Then I got to thinking that it might qualify as a bug fix. The issue is the conversion between various text types. The inspector allows us to change the style of text. However, it does not appear to change the underlying text type. The issue is obvious when I import Music XML files created with other applications. Chord text is imported as staff text. However, staff text does not transpose, nor does it drive plugin's such as the one that generates actual chords from the text. So far, the only solution has been to reenter all the chords - a very time-consuming operation. Is this a bug or a "new feature?"


Comments

Chord text imported as staff text may be a bug (it should be imported as a chord symbol). To investigate we need a file that demonstrates the incorrect behaviour. Please report a bug and include the file if you suspect MuseScore is behaving incorrectly.

In reply to by Leon Vinken

Create any custom text in a file with the system setting, import the file into version 3 and the system setting will be gone. The first problem is that there is no way to turn on the system setting for text like there was in version 2. This means there is no way to create custom system text. Import the attached file to version 3. Create parts and see that the custom text does not show up in the clarinet because all of the text is now staff text.

In reply to by Marc Sabatella

Mark,
You're probably right that the imported MusicXML file may not properly specify Chord Text (I haven't actually looked). I noticed the problem when using nwc2xml to convert old Noteworthy Composer files, going through MusicXML. That is why I originally submitted the issue as a 'new feature' request for a new tool that converted between text types (not styles). That way, it wouldn't matter what the XML file specified.

In reply to by mike320

I try to own-up to my mistakes, but thanks for the suggestion. Now, the next step. In the meantime, since I don't have a text type converter, I looked at one of the xml files generated by nwc2xml and found that the chord symbols (and most other text) is tagged as words-relative. So I thought I'd write a quick filter program to scan the xml files and change the appropriate tags to whatever Musescore will Import as chord symbols. However, a cursory search of the MusicXML website didn't result in my knowing which tag I should use. Rather than search through the Musescore source code, does anyone know off the top of their head, what tag Musescore will look for?

In reply to by gregcote52

Chord symbols are "Harmony" elements, I believe. But they aren't just another kind of text - they need to actually contain semantic information about the type of chord (whether it is major, minor, augmented, or diminished, and what additional extensions or alterations are present).

In reply to by gregcote52

There are only a few text types, and they are all fundamentally different enough that I'm not sure how it would make sense to convert them. Changing style while keeping the actual type seems far more practical. After all, what would it mean to turn a "fingering" on a note in the middle of a chord on beat three of a measure into a "measure number", or to a "repeat text"?

In reply to by Marc Sabatella

Some conversions would make no sense, but others might. For instance, my original request (staff to chord symbol), staff to system and the reverse, staff to practice marker and the reverse. I admit that it is a selfish desire from my own efforts to convert files between applications. That's why I'm going ahead with my xml 'fixer.' I guess it all boils down to whether having one would increase Musescore usage by people who might be held back by having a large collection of files from other applications that need converting. If not, it's probably not worth the development team's time to consider it.

Do you still have an unanswered question? Please log in first to post your question.