Export Errors - cannot export tracks to Wav or Mp3 successfully

• Sep 24, 2024 - 01:49

Since the latest update, I cannot export tracks to Mp3 or Wav.

What I do:
Click File -> Export
Pick the tracks I want to use and the file format.
Set the file location and Enter.

What it SHOULD do:
Give me a separate track for each instrument that I can pull over to Studio One for mixing, etc.

What it IS doing since the update:
Gives me a separate track for each instrument - but each track actually contains a blend of multiple instruments, e.g., my Piano track has Piano AND Violincello and some Drum Kicks. Some of these tracks are garbled with clicks and audio stutters.

I've tried uninstalling and reinstalling. I've also tried downloading a fresh version of Musescore 4 on another computer and then opening it through the cloud storage. I didn't have any problems at all before this update.

Is anyone else experiencing the same glitches?
Does anyone have any other ideas?


Comments

In reply to by Marc Sabatella

My goal is to export tracks to Wav format. When I go to Export, I select the tracks I want, select the correct format, and then pick a folder.

How it's worked for the past two years is that each individual track is exported to a separate file.

What ends up happening is tracks are garbled and mix the instruments - e.g., the Violin track ends up with other instruments in it somewhere. It won't let me upload an example - it says .wav isn't an acceptable format for upload.

Attachment Size
The Long Way - bugged.mscz 531.59 KB

In reply to by nathangump

Don't worry about not being upload the WAV file - it's the score itself we need.

Anyhow, I loaded your score, and then opened the parts, and I can see that what you are calling the "Violins" part actually contains four instruments (the violins, both violas, and one of the cellos). Simialrly for the flute part. The others seem normal.

So it seems perfectly correct that exporting that part would contain the sound from all of the instruments present within the part. If you don't want those instruments present, remove them from the part.

In reply to by Marc Sabatella

I appreciate your assistance since I'm pulling my hair out here. I see what you mean about the Violins track, but it happens on other tracks as well.

Just to be sure, I opened all Parts, made sure that each Part only contain a single instrument, and re-saved the song. It still happens. Please try the upright-Piano track. Around 1:15, cello comes in which definitely was not part of the track.

Attachment Size
The Long Way v2.6.mscz 561.93 KB

In reply to by Marc Sabatella

Actually, checking the part itself, I hear it there too. That is, the issue isn't specific to export, it happens just playing the part within MuseScore. Starts at bar 48. And when I check the mixer, I see that indeed, the cello 2 - although hidden - is not muted. The ability to decoupling hiding and muting is new with 4.4, so maybe you were experimenting with that and left this in that state accidentally? Or perhaps there was a bug in an earlier version that saved this instrument as not muted but the bug wasn't discovered until MuseScore finally started supporting unmuted instruments in parts?

In any case, it seems that again, this isn't a bug - it's just MuseScore honoring what's in the score. Of course, it's also possible that a bug in MuseScore cause the staff to somehow unmute itself, but before reporting that on GitHub, you'd need to find steps to reproduce the issue.

In reply to by nathangump

By default toggling visibility does mute, but you have the ability to then unmute, and apparently you did that accidentally. Either that, or, as I said, some bug somehow flipped that setting for you, either in the version you originally created this with, or in 4.4. Hard to say, but I've seen no other reports of issues with this, so I'm guessing it was just a misclick.

In reply to by Marc Sabatella

I'm getting this problem on 4.4.4. The problem appears to be with the muting of musesounds specifically on export. I'm following the same procedure that has worked with all previous versions, so I'm guessing this is a regression caused by the hide/mute decoupling.

on Debian testing (up to date):
File -> Export
Select all (deselect Main score)
Format WAV audio
The percussion parts - Timpani, Cymbal, Triangle, Snare, Bass Drum and Celesta all export fine.
The other parts, all muse sounds, unmute the other muse sound parts on export - even if I set them up muted before export.
This also happens if I attempt to export the tracks individually.
This procedure has worked perfectly in previous versions <= 4.4.3

Fairly confident this is a regression caused by the hide/mute decoupling.
I don't see a relevant issue on github, so I'm happy to go ahead and raise it. What other info might the devs require?

In reply to by timflatus

I've seen a couple of other reports relating to this, but inI those cases, the problem was clearly that the instrument was not muted in the part - you could clearly hear the other instruments even in the playback within MuseScore Studio. The trigger, as I recall, was something about the order in which parts were generated or something. I haven't seen any reports where export includes an instrument even though it is actually muted in the part, though.

In your score, it's definitely true that the other parts are unmuted, which you can see if you open the parts and view the mixer. Did you by chance disable the option in Edit / Preferences / Audio & MIDI, to toggle mute on hide? Not that this should cause a problem, but it could help explain how you ended up with some many unmuted instruments.

Anyhow, if I mute the other instruments within the part then export, I don't hear them. Can you give precise steps to reproduce the problem (eg, which part you are exporting, which instruments you are explicitly muting? And just to be sure - you are sure you are vmuting them in the part and not in the score?

In reply to by Marc Sabatella

I have tried both settings in Edit / Preferences / Audio & MIDI [Toggle track mute ... ]
What does "vmuting them in the part" mean? - I have tried muting them in the mixer.

The word "Part" is only used in the GUI to refer to individual instrument scores. I see no options relating to playback or export there and neither would I expect to. There is no "vmute" option.

The only channels muted in the mixer are those corresponding to chord symbols, metronome and reverb, which I do not wish to export.

I want to export all the parts individually, one wav file per part. This should (as per RFC 2119) be possible in a single operation. In previous versions the other tracks were automatically muted during export, now they are being automatically unmuted, so I can't even export them individually (muting all other parts in the mixer). I really don't know how I can be any more precise than that. I'm following the same procedure as I have done successfully for the previous 10 sections using earlier (<=4.4.3) versions, all with very similar orchestration.

I can't even figure out a workaround, so this is a showstopper for me.

In reply to by timflatus

Update: Just tried one of the previous sections and export behaved as expected. So the issue is only with the score I posted (11_Malin). Can not for the life of me see any difference in settings and I'm following exactly the same procedure.

Even if I hide the parts in the instrument panel, they are still unmuted on export.
It also, naturally, takes much longer to export a composite part.

In reply to by timflatus

The “v” was a typo - I meant “unmute”. My guess is you are notn in fact unmuting them in the part, but only in the score. My clue is that it doesn’t appear you have even opened the parts yet. You need to do that first, from the Parts window. Then you can visit each part and mute the instruments you don’t want to hear. You shouldn’t have to do that - all other instruments should automatically be muted. But as mentioned, it’s a known issue that occasionally in some scores it is necessary to explicitly mute them. I don’t think anyone has submitted an issue for this and I don’t know if anyone has found precise steps to reproduce the problem, but as I said, it seems to do with the specific order in which you do things.

Anyhow, once you fix the score by opening the parts and muting the instruments you don’t want to hear - do this for each part that has a problem - your show can go on :-)

In reply to by Marc Sabatella

Actually, I found the bug report, and it's already fixed as of 4.4.3. However, your score was probably created in one of the buggy versions just before that, like 4.4.1 or 4.4.2. According to the original bug report https://github.com/musescore/MuseScore/issues/24985, the bug was triggered by adding instruments at some point after a part was generated, so I'm assuming that's what happened. And once the part was added using a buggy pre-4.4.3 build, the incorrect mute state became "baked in" and now even 4.4.4 plays them unmuted. So that's why you need to fix this score by muting them. Future scores should be fine since the bug that caused these instruments to become unmuted in 4.4.2 (or earlier 4.4 builds) is fixed.

In reply to by Marc Sabatella

Thank you for persevering. I understand the issue now. The part I added was an instrument change to solo violin.

It took a while longer to understand your solution, but I get it now.
Incidentally, just for the benefit of anyone else who runs into this slightly obscure edge case, this fixes the problem for subsequent exports.

Thanks again.

I'm still getting this behaviour in 4.5.1
New score, no added instruments. Preferences > Audio & MIDI > Mixer: Toggle track mute ... enabled.
The export dialog states that each selected part will be exported as a separate audio file and that isn't what happens. I should not have to open up all the parts and mute / solo manually.
Will continue this discussion on github.

In reply to by timflatus

I can confirm the same thing is happening to me with WAV export. In fact when I have the Mixer open, whether I mute all tracks except the one I want or solo the track I want choosing only the instrument I want to export, if I leave the Mixer up I can actually see all the levels playing into the WAV export for all the instruments. Is there a work around?

4.5.1.250800846
OS: macOS 15.3, Arch.: arm64, MuseScore Studio version (64-bit): 4.5.1-250800846, revision: 603eca8

In reply to by Marc Sabatella

See score below. The drums and the tambourine export without issues. The Trombone Solo (Trombone 3) part was added to the song, but the rest of the song was created in Musescore 3.x. I tried the following to export the WAV file for just the Guitar part (electric guitar is the same part with the tab; also, I muted all the chord symbols).
1. File -> Export, select ONLY guitar (or electric guitar, I tried both in each of these examples), WAV. WAV file contains all the parts in the score.
2. Opened Mixer and muted all other parts and exported again. With the Mixer open, I could see everything unmute and levels go up on all the instruments (EXCEPT for Trombone 3). Same result in the WAV file.
3. Opened the Mixer and solo'ed the Guitar and tried to export it again, same result in the WAV file.

Since I need the WAV file for Guitar, I copied the file, opened the copy in Musescore, removed every part except the guitar, File -> Export to WAV and it worked fine.

Attachment Size
Get Off of That Cheese.mscz 1.21 MB

In reply to by mjzwick

You have two separate guitar parts. If you click their tabs and check the mixer, you'll see that the part labeled "Guitar" has trombone 3 muted, everything else playing, and the one labeled "tab guitar" has everything muted. And, when I export both of those parts, that's exactly what I hear. So it's doing exactly what your mixer is set to do.

Seems like maybe you've been fiddling with the mxier in the score, but that won't affect what happens in the parts. You need to actually visit the tab for the part you want to change sound on. As noted, there is a bug where scores imported from MU3 that have parts generated already will need you to go in and unmuted the relevant instrument in each part. But once you do that, all should be well.

In reply to by Marc Sabatella

I tried generating from the parts and still had the problem. although I would have to test various combinations with the Mixer. It is true that as sent the Trombone part was muted, but in my tests with the Mixer I muted everything, and when I exported I could see in the Mixer everything EXCEPT Trombone 3 unmute during the export. Trombone 3 was the only part added using this version of Musescore.

In reply to by mjzwick

It has nothing to do with where you are when you do the generating - it is all about the mixer settings within the part. Again, visit those two parts, open the mixer, and take a look. You will see that the the part marked "Guitar" has trombone 3 muted, everything else not. You don't need to generate a thing to see that - just look at the mixer while on the tab for that part. Hit the play button and that's exactly what you'll hear - everything except trombone 3. So of course that is also what you hear if you generate the audio for that part. Then do the same for the part marked "Tab Guitar" and you'll see everything is muted when you actually look at the mixer while viewing that part. Hit the play button and you'll hear nothing - MuseScore is correctly following the mixer settings. And so, again, the same is true if you expert that part.

In both case, the export of the part produces exactly the same results as actually hitting play while viewing the part, and both are exactly what other mixer settings are calling for. Fix the mixer settings within those parts - not within the score, but while viewing the tab for the part - and all will be as you want.

The fact that the mixer settings are mess up in the first place is the result of the bug I mentioned that affects scores imported from older version, but the fix is to do as I have described - just visit the affected parts and set the mixer the way it needs to be.

In reply to by Marc Sabatella

Before I go further, please don't take my posts to be argumentative - I am extremely grateful for the work you folks do making this such an awesome tool - THANK YOU!

I now understand what you meant (go to the PART and mute everything except guitar), and yes that works great.

I do note that the percussion parts DO extract from the score when selected without an issue (drums and tambourine) if that provides any clues for debugging...

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