audiveris icon indicating copy to clipboard operation
audiveris copied to clipboard

Change instrument before importing to MuseScore?

Open DennyMo opened this issue 8 months ago • 7 comments

I've been using v5.5.09d0b58 for about a week now, and can't figure out how to avoid a problem with instruments. Any scanned and converted files I work through Audiveris into MuseScore come in as a "Voice Ooh" instrument. A full "orchestral" score of "Oohs" sound funny, and is a hassle to convert to proper instrumentation after importing into MuseScore. Is there a way to tag the parts to their correct instruments within Audiveris? If not, any suggestions on easy ways to modify the .mxl files before importing them into MuseScore? Thx.

DennyMo avatar Apr 21 '25 00:04 DennyMo

Beyond Piano and Voice instruments, there is nothing yet in Audiveris for a real instrument assignment. We would need something rather standard, probably based on instrument/part names.

Could you post a representative example of your orchestral input?

hbitteur avatar Apr 22 '25 07:04 hbitteur

Here's an example of a score I tried to import and "re-instrument". The first thing I had to do after importing the result into MuseScore was copy and paste each of the imported parts into a new instrument staff on the score, making sure transposition happened correctly. I had similar problems with several other scores. Thx. imperial_march_from_star_wars_-_score_and_parts.pdf

DennyMo avatar Apr 30 '25 19:04 DennyMo

With the logical part editor (accessed via the popup menu, right-click within a score), we get this dialog:

Image

The 5 logical parts have been correctly recognized (I tried with just the first sheet, but the others should be OK and correctly connected as well).

Notice on the right side, the MIDI column is currently "reserved for future use". We could use it to manually assign the MIDI instruments.

All we need is a kind of menu listing all the possible MIDI instruments, letting the user choose the instrument for a given logical part.

The user would have to select each of the 5 parts and assign the desired related intrument. Only once for the whole score.

I need to check with the MusicXML reference, but would this be OK for you?

hbitteur avatar May 01 '25 17:05 hbitteur

Update: In fact, the MIDI column is already usable, although in a rather basic way. You can type a MIDI program number as I did in the dialog below (and the instruments are correctly exported in MusicXML output)

Image

The problem is that you have to know which number to use. For instance 59 for Tuba. We could improve this by displaying a drop-down list (program number + program name), in which the user would make a selection.

hbitteur avatar May 01 '25 20:05 hbitteur

Thx for looking into this. I followed your steps and imported the resulting .mxl into MuseScore, still voices instead of instruments. I opened the .mxl file to look for instruments, and found that they appear to be tagged correctly there. Now I'm wondering if it's become a problem with MuseScore?

DennyMo avatar May 01 '25 21:05 DennyMo

This is hard to believe. I just made this simple check of swapping the MIDI instruments (trumpet, trombone, etc.) for the piano in the logical parts editor. The MuseScore sound is very different. So I think MuseScore is correct.

If your inspection of the .mxl content is correct, but not the MuseScore sound, we can suspect an incorrect selection of .mxl files: MuseScore isn't using the ones you inspected.

How do you launch MuseScore and feed it with .mxl input? I recommend using the Audiveris plugins (a simple .xml file that tells Audiveris how to launch MuseScore with the correct (just modified) .mxl input). More details in this handbook section.

hbitteur avatar May 02 '25 09:05 hbitteur

@DennyMo

Audiveris 5.6.0 version has just been released.

The logical parts editor now lets you select, part by part, which MIDI program (number / name) to use.

Image

I have also used your orchestra score as a training material to adjust the recognition of tuplets. Your full 6-page orchestra score can now be recognized without any user correction (except a couple of mistaken quarter rests).

Enjoy!

hbitteur avatar May 13 '25 14:05 hbitteur