Skip to content

Commit

Permalink
Update instruments.xml to add new families and improve sorting
Browse files Browse the repository at this point in the history
Run share/instruments/update_instruments_xml.py to fetch the latest
version of the online spreadsheet. In this version, every instrument
has been assigned a family. Also, instruments are now sorted based on
their group, family and minimum professional pitch, among other things.
This ensures they appear roughly in score order according to standard
orchestral layout. Finally, descriptions have been improved and a few
small fixed made to fix incorrect or missing data.

In addition, some compatibility code was changed to improve instrument
recognition in older MSCX score files that lack the appropriate
MuseScore or MusicXML instrument IDs. The old code returned the *first*
instrument that matched a given criteria (e.g. same trackName), whereas
the new code returns the instrument that gives the *best* match
according to multiple criteria. This means the return value is less
dependent on the order in which instruments are defined within
instruments.xml.
  • Loading branch information
shoogle committed Jul 2, 2021
1 parent 94cf1e0 commit 5784948
Show file tree
Hide file tree
Showing 4 changed files with 5,489 additions and 5,030 deletions.
Loading

0 comments on commit 5784948

Please sign in to comment.