Import MP3 to play alongside score

• Jul 4, 2018 - 03:06

Apologies if this has been proposed elsewhere. Is it possible (or could it be possible) to import an MP3 into MuseScore to play alongside your track? Akin to what does with video scores - only with audio. It would really help with transcription so you could play one measure over and over until the notation and the audio lined up.


You can actually achieve this result using 2.3 + MuseScore Drumline.

You are not importing the audio file, but you able to play it back synchronized with the score.

Here's how to do it.

STEP 1 - Install MuseScore Drumline

STEP 2 - Add Sampler Instrument

Create a new score and add the instrument MDL Sampler (or add to existing score).

STEP 3 - Set Up A Rig

Using one of a number of different virtual rigs (Mainstage 3, Ableton LIve, etc.) import your audio file to create a sample and assign to a specific MIDI pitch.

STEP 4 - Configure MIDI Out in MuseScore

Go to Preferences > I/O

From the MIDI Output dropdown select the output that corresponds your rig connection (could be direct or through intermediary, depending on your particular MIDI setup)

Make sure the PortAudio checkbox is checked.

STEP 5 - Configure the MDL Sampler

a) Select the MDL Sampler staff in note entry mode.
b) Select Edit Drumset
c) Create a note that corresponds to the MIDI pitch assigned to the sample in your the rig

STEP 6 - Using the Samples

In the MDL Sampler staff, simply enter the note that corresponds to the desired sample at the appropriate count in the score.


You can break the samples up into segments that correspond to different rehearsal numbers or key phrases. Simply create additional samples on distinct MIDI pitches in the rig and create additional notes in the drumset palette that correspond to each MIDI pitch.

Only now I'm seeing this request, after a little over a year, but anyway, the solution I see posted here, dealing with MuseScore Drumline seems so complex and with so many complicated steps! I've just tried a much simpler solution, which I know works fine, because it worked fine for me.
The problem is: how to play an MP3 file alongside with the score that is loaded in MuseScore?
My solution is:
step 1 - Create an SF2 soundbank containing just ONE sample, ONE instrument and ONE preset. This can be done easily using for example the Viena (with ONE "n", not the Creative Vienna, which requires a Creative sound board to be present in the computer). Make your MP3 file be the only sample of that bank.
step 2 - Open MuseScore and load the score you want to play with.
step 3 - load the SF2 bank you created into MuseScore, using the syntheziser panel.
step 4 - Add a new staff to the score and assign your instrument to it (use the mixer - F10)
step 5 - In the staff, add the note corresponding to the preset that was created (normally it would be C3), in the measure, or note where you want the MP3 to start playing. Make the length of that note match the length of your MP3 file, so that the sound will be played entirely. That can be one or more measures, of course.

I've done this - it's quick and easy and it works fine - it did to me.
Now, one piece of caution: the MP3 sound (assuming it's a piece of music) will have a tempo value that is already fixed, so it should be inserted into a score that has the same tempo figure, or else there will not be the necessary sincronism between the MP3 sound and the rest of the score. Of course if you need to obey the score tempo, you can reduce or increase the MP3 length to adapt it to the score tempo, before creating the sound bank. Any reasonable wave editor allows you to do that.

In reply to by luizcrodrigues

One thing to note is that doing this will cause other patches to move down the list which causes all instruments in your score to use whatever is in their place.
This is not a problem with sfz instruments though. It would mostly be better to convert the audio into an .ogg file and create an .sfz for it.

In reply to by luizcrodrigues


Thanks for this nice tutorial.

All worked out just fine, except one thing:
"Make the length of that note match the length of your MP3 file, so that the sound will be played entirely".

The longest note I can create is a "along 9ç". That seems to span 4 bars of 4/4.
In that case, I hear the WAV playing for ... yeah exactly 4 bars :-).

Thanks for your time!
Attached screenshot.

In reply to by Jojo-Schmitz

Hi, thanks for the quick reply! Unfortunately, I did not succeed with an organ either. What actions should be taken to increase the length of the note (i.e. span it over multiple bars)? First insert a note and than ... ? (the note length selection bar on top is not sufficient).

1. I'm quite new to music notation
2. I'm very new to musescore (but did go through quite a bit of reading in the manual).


In reply to by luizcrodrigues

Hey Luiz,

I've been trying desperately to get an mp3 sample in my musescore files, and I'm glad someone figured out a way to do it! Seems like a huge oversight to be missing this functionality, but whatever, it's a free program. I went and made an .sf2 file of my sample (just went with whatever Viena defaulted to for the Instrument and Preset stuff, I didn't look at the manual), and was able to install the .sf2 into the SoundFont folder for MuseScore, but when I try to add it in via the Synthesizer, it gives me an error saying it cannot load it. I'm still trying to fix it now, but so far nothing's worked. Any chance you can shed some light on the issue?

In reply to by dennisptimmon

Got it to work! Just had to use PolyPhone instead. Now I've got the strange issue of my sample being sped WAY up! I've got tied whole notes stretching for what (should) be the length of the song, but for some reason it goes at nearly 2x speed, and then for the remainder of the score it's silent. Why might that be? I checked, there's no spot that's missing a tie/note or anything.

In reply to by dennisptimmon

Just as a slight comment on the "huge oversight".
MuseScore is a score writer, not a DAW.

We implement basic playback so a composer can get a decent audio validation of what is written on paper. The number of scores that say, "now play this mp3" is quite limited compared to all other scores out there.

However when you then wish to mix, tweak and work with audio MuseScore allows you to export to a number of playback formats to allow for easy import into other programs tailored for such a purpose.

In reply to by jeetee

Wouldn't it be more accurate to say that MuseScore is composition software and designed to support the workflows of modern composition?

In that case, why shouldn't MuseScore support workflows that are generally more common to DAWs if those are common workflows for composers?

Why should there be a line in the sand here regarding notation software vs. DAW?

Shouldn't composition software simply support the needs of a composer, whatever those may be?

In reply to by Daniel

There should be line because we can't do everything (and definitely not all of it at a decent level of quality). A composer needs to e-mail his work as well; but we won't include an e-mail client.

The line is not written in stone, but it is a matter of priorities and main focus.

Didn't we discuss "provide audio backing, just as does with video" under other threads, one of which I started, and there was dispute over whether it was useful, what the use case was, or whether I could do it by running another app in parallel? Why are we discussing how to do this with drumline and soundfonts and extremely long notes instead of the obvious, what was asked for by the OP (and myself) in the first place (although the OP's use case is much more compelling, i.e., facilitating incremental transcription).

If these explanations of how to fake it with soundfonts, drumlines, and very long notes are worthy of consideration, than the goal itself is implicitly worthy of consideration, and the easiest way to walk from here to there is to put one foot in front of the other, i.e., "import mp3 to play alongside score" as per the title of this thread.

In reply to by BSG

I'm totally in favor of having a solid solution, but would be happy with any reasonable workaround that does the job.
My use-case: I play a rather boring sounding instrument (drums), and want a backing track to play on ... while seeing the notes that actually need to be played.
Currently I'm using Melodics to learn to play the drums, but that service does not allow to import songs.
That's why I was looking into the musescore. So far: impressed!
Kind regards,

In reply to by maartenvd84

Are we talking about having MuseScore create a score from an mp3? No, it sounds more like have an mp3 play along with a score. Not sure I see the value for learning to play drums. Especially a drum set. Especially if you already to have a score with a drum part. What am I missing?
Or is the score you have only the drum part? If so, where did it come from?
The other way to match playback to your mp3 would be to change the playback tempo. Then you still have to start two things.
No, I seem to remember that making a video seemed to be the best solution that was suggested in that other thread. And not difficult. Really.

In reply to by bobjp

No, no, no, and no (in answer to your questions). This is about being able to have a pre-created sound track provide the sound for a score in the desktop application the exact way it does on the site, where you can select a given measure and hear it from there, but without the use of YouTube, video, or any web site at all. This has zero to do with drums. The most obvious use is debugging by-ear transcriptions. The second most obvious use is to debug composite audios intended to be posted to the site via the YouTube kludge.

In reply to by BSG

OK. The thread seems to have wandered. I don't use the .com site for scores at all. Nor do I use the software for transcription. Though ed tech uses can be of interest to me. I don't know for sure that any notation software will do what you want.

In reply to by bobjp

I think we're on the same page; let me just state for the record that by "transcription", here, I mean the process of trying to write down a score by listening to it, a completely manual process I used to do with cassette tape....which would be 1000 times easier if you could associate measures and audio position ...

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