Instrument list filtered by "category"

• Sep 12, 2013 - 21:37

In a315216d8, MarkRS and I implemented a way to filter the instrument list by "category" or "genre". Genre is just a word, it's the word used in the code so don't focus on it. We just added a way to filter the long instrument list according to some "tags" added to each instrument. This filter also replace the "show more" checkbox.

instrumentdialog.gif

Currently, using the seachbox will automatically switch the filter to "All instruments". It's a debatable choice.

By default, the instruments in the "Common instruments" category are listed. It includes only the most commonly used instruments. I added just a few categories 'Common instruments", "Jazz instruments", "Ethnic instruments" and "Orchestra instruments". Of course, the goal is not to have 30 categories... One or two more would be ok. I would suggest "Pop Rock instruments" and maybe something around "Early music instruments" (viola da gamba, baroque trumpets etc...). Any opinion?

I associated a cateogy to each instrument myself. I'm not a musicologist so I did my best. If you think one instrument should go in a given category, let me know or even better, do it yourself and submit your changes! Of course, including the vuvuzela in the default "Common" list is probably not a good idea... The common list should be really the most used instrument for an average MuseScore user, not a vuvuzela composer.

Attachment Size
instrumentdialog.gif 306.29 KB

Comments

Beautiful - nice job, guys!

Offhand I don't see any major issues with the choices within genre. Probably jazz and orchestral have more instruments than they truly need (jazz piccolo? orchestral bari sax?) , but not so many that's really a problem. I'm not really inclined to change this - I'd rather err on the side of a few too many (as long as it doesn't get carried away).

Well, one small issue. The "all instruments" list has in it "Clarinet" (in addition to Bb clarinet, A clarinet, etc) and "Trumpet" (in addition to Bb trumpet, C trumpet or whatever). Both appear to be aliases for the Bb versions. I've never really understood the reason for the duplication, but maybe we could use these generic versions in the Jazz category, since jazz scores rarely actually name the instrument "Bb trumpet" in the score - it's understood. Whereas in classical it's more common to list the transposition in the score. I wouldn't bother mentioning this if the instruments didn't already exist, but as long as they are there, we might as well take advantage. Similarly, might as well use "trombone" rather than "tenor trombone".

As I said, I am not sure why this duplication exists, and if people were considering removing the generic versions, I won't fight to keep them. But if they are going to stay, I'd like to go ahead and use them for the Jazz category.

In reply to by Marc Sabatella

The duplication exists partly because the MusicXML 3 sound list includes generic sounds as well as specific ones, and also because I perceived that some new users of MuseScore wouldn't necessarily know which Clarinet or Trumpet, or Horn was usually used, and therefore the addition of a generic instrument for these which automatically selected the standard criteria would be beneficial.

Incidentally this is a major step forward for making the Create Score from Scratch dialogue more user friendly.

In reply to by ChurchOrganist

Yes, a major step indeed!

Right now, "Clarinet" doesn't seem to produce correct transposition - it's backwards. That is, Bb major concert turns into Ab with concert pitch off. Looking into why...

EDIT: sometimes it's right, sometimes not. Having trouble reproducing reliably. Perhaps related to recent changes in key signature handling. Anyone else seeing this?

In reply to by Marc Sabatella

Good catch Mark :)

I've just been looking at the new instruments.xml list with genres, and it is clear that it's going to need to be looked at again - eg the Kelhorn is not an ethnic instrument - it's an early music instrument.

What would be really cool is a way for the user to add genre tags without having to use the XML list.

In reply to by Jojo-Schmitz

I think that would be better as a template?

Once we have got a commitment from Werner that there will be no more file format changes, I shall be overhauling the templates, but, as Lasconic has asked for them to be written from scratch, nothing can be done until we have that commitment.

In reply to by ChurchOrganist

While this is certainly possible (and I have and use those for1.3), it has a problem: when extracting parts it still shows e.g. either Tenor or Bass for a Tenor/Bass stave (depending on which had been used in the template as the base instrument). Esp. in the Android Player App I noticed that.

BTW, I agree with the suggestion to add pop/rock and "early" as new categories, and probably call that done. And while I'd agree it would be nice someday to have a UI to customize the category lists (as opposed to requiring one to edit the isntruments.xml file), that's seems like a lot of work for relatively little benefit to most users. I wouldn't turn it down if someone were to volunteer to do this, but as a user, I'd rather see further effort go elsewhere.

With all the instrument list changes over the past year or whatever, what I'd like is a good clear description of what the various tags are for and how they are used. I mean, I can look and kind of guess, but I'd love to see it spelled out. Not so much as an end user, but as someone who really would like to be able to finish cleaning up the D Clarinet listing but feels a bit apprehensive.

As far as I can tell, the instrument list appears to default to using the longName, unless there is a trackName. longName and shortName are of course also displayed on the score itself, and trackName is apparently used for the name displayed on the tabs for the parts. The parts themselves appear to display the longName.

The "description" tag is, as far as I can tell, not used for anything at all?

As for the musicXMLid tag, it seems to be a pretty straightforward hierarchy. I found this in the way of documentation:

https://code.google.com/p/libmusicxml/source/browse/dtds/3.0/sounds.xml…

I don't see an entry for a D clarinet there. Can we just make up our own wind.reed.clarinet.d? Or is it better to leave it generic?

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