Batch conversion of file formats

• Jun 2, 2010 - 22:17

Hi all,

I use MS 0.9.5 portable, it's great !
As I have loads of music files in different formats (mscx, xml, mid, and all BIAB formats), and Musescore can open all of them, I would be pleased to be able to convert them from one format to another at once without having to open them one by one. (ex mscx into xml, xml to mid, ... )
Do you think there is enough interest for this to implement it ?

thanks


Comments

In reply to by David Bolton

Thanks,

The trick with the command line works fine for 1 file at a time.
I also tried: mscore "*.xml" -o "*.pdf" to convert a lot of files at once, but this didn't work ( or did I make a mistake ?)
The batch file mscz2pdf.bat does the job, but only for 1 type of conversion.
Wouldn 'it be helpfull to have a more general batch convertor ?
Personally I'm most interested in xml to mid/wav, mscz to mid/wav, sgu/mgu to mid/wav, but others might have different wishes ...

I tried to use the batch file (mscz2pdf.bat, adapted to my directory), but:
Musescore starts up and issues this error: "reading file 'bossa.mscz' failed: bad file descriptor"
Do you have any clue ?

thanks

In reply to by David Bolton

In the batch file you should reference MuseScorePortable.exe, otherwise MuseScore is NOT portable and messes the registry, local appdata, appdata, temp ... . Then you might as well use the local MuseScore version.

FYI, the portable launcher passes all command line parameters onto the actual mscore.exe. Well, at least my version from PortableApps.com.

Cheers

In reply to by Bart.S

Bart.S have you tried odul's batch script with MuseScorePortable.exe? It doesn't work for me (or odul apparently) if you reference MuseScorePortable.exe instead of mscore.exe.

In reply to by [DELETED] 5

The following keys are created on every launch of MuseScore:

HKCU\Software\Trolltech\OrganizationDefaults\Qt Factory Cache 4.6\com.trolltech.Qt.QIconEngineFactoryInterface:\F:\PortableApps\MusescorePortable\App\MuseScore\bin\iconengines\qsvgicon4.dll: '2010-02-10T19:01:24'
HKCU\Software\Trolltech\OrganizationDefaults\Qt Factory Cache 4.6\com.trolltech.Qt.QIconEngineFactoryInterfaceV2:\F:\PortableApps\MusescorePortable\App\MuseScore\bin\iconengines\qsvgicon4.dll: '2010-02-10T19:01:24 svg svgz svg.gz'
HKCU\Software\Trolltech\OrganizationDefaults\Qt Plugin Cache 4.6.false\F:\PortableApps\MusescorePortable\App\MuseScore\bin\iconengines\qsvgicon4.dll: '40602 0 Windows mingw release full-config 2010-02-10T19:01:24'

As soon as you add some custom colors, these are stored at:

HKCU\Software\Trolltech\OrganizationDefaults\Qt\customColors

In reply to by David Bolton

I haven't tried odul's batch script. It's too complex for me. :P
But a simple batch script works flawlessly:

F:\PortableApps\MusesSorePortable\MuseScorePortable.exe "F:\PortableApps\MuseScorePortable\App\MuseScore\demos\prelude.mscx" -o "F:\prelude.pdf"
F:\PortableApps\MuseScorePortable\MuseScorePortable.exe "F:\PortableApps\MuseScorePortable\App\MuseScore\demos\adeste.mscx" -o "F:\adeste.pdf"
F:\PortableApps\MuseScorePortable\MuseScorePortable.exe "F:\PortableApps\MuseScorePortable\App\MuseScore\demos\promenade.mscx" -o "F:\promenade.wav"

Hi,

I'm new to MuseScore and I have about 450 xml and musx files that I want to convert to mscz.

I've been trying to find the batch conversion plugin, having no luck.

In case it matters, I'm on a MacBook pro, 10.6.8

Thanks,

Duke Sharp

In reply to by ekuD

A couple of things it might be worth pointing out:

1) Currently it's not possible to convert Finale files to MuseScore files. You have to convert them to MusicXML first, and I'm not sure if there's a way to do that in batches.

2) Based on your hardware and OS information, I can surmise that you're running an old version of MuseScore. MuseScore 2 doesn't run on versions of OS X older than 10.7, but you might be able to upgrade your computer's operating system—it would be very much worth it.

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