Hi all. I've drawn a blank on this one:
Is there any way of getting from musescore a midi with a user-defined
parts mix, but from the command line? I've some choral music that I want
to make rehearsal material from, and would like to make mp3s ultimately
with the gain on each part cranked up in turn. It's far too tedious to
run everything multiple times through musescore's gui!
If there's a command-line converter from musicxml to midi, that would be >fine; I can easily tweak the levels in the musicxml. But I've drawn a
blank hunting on the net.
Oh, needs to be for linux.
Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:
If there's a command-line converter from musicxml to midi,
that would be fine; I can easily tweak the levels in the musicxml.
But I've drawn a blank hunting on the net.
Otherwise you might want to look at Peter Billam's stuff:
http://www.pjb.com.au/midi/
I even see a "musicxml2mid" app there -- needs perl and a couple of
modules, but that should be no problem. Peter keeps an eye on this
group so he'll probably be along in a while to give all the details! (:-))
To clarify what I'm trying to do: I'm using Musescore to enter music
that ends up in a booklet given to our choir (mainly 3-part, sometimes
1, 2 or 4). For each piece of music, I want to generate multiple mp3s
for pitch and rhythm practice; these will be one mp3 having all parts at
the "natural" volume, plus separate mp3s with each part emphasized in
turn - the individual files allow members to hear and follow their own
part, yet also be aware of the harmony in the background, while the
'full on' mp3 is akin to singing with everyone else and the accompaniment.
On 01/08/16 05:52, Peter Billam wrote:
http://www.pjb.com.au/midi/musicxml2mid.html
musicxml2mid was road-tested with
http://www.musicxml.org/dtds/partwise.dtd
Version 1.1 but the current version is Version 3.0 ...
So let me know if there's a problem, I'll see what I can do.
And let me know also if there's no problem :-)
Thanks (to both of you) for a prompt response. Google would seem to
have let me down badly - no mention of this piece of code at all :-(
I've just tried it on a quick example. Good news and bad..... yes,
it does run and makes a midi file that corresponds to the original
musescore input. The bad news is it doesn't follow repeats :-{
Actually, I see the script has no mention of repeats, so I
suspect I'm out of luck :-{
I'm using Musescore to enter music that ends up in a booklet given
to our choir (mainly 3-part, sometimes 1, 2 or 4). For each piece of
music, I want to generate multiple mp3s for pitch and rhythm practice;
these will be one mp3 having all parts at the "natural" volume, plus
separate mp3s with each part emphasized in turn - the individual files
allow members to hear and follow their own part, yet also be aware
of the harmony in the background, while the 'full on' mp3 is akin
to singing with everyone else and the accompaniment.
I would do that at the midi level, using
http://www.pjb.com.au/midi/midisox.html
with the vol efect:
http://www.pjb.com.au/midi/midisox.html#vol
like
midisox master.mid bass.mid vol -25 3:12
which increases the velocities of channel 3 (0..15) by 12 and
decreases the others by 25. Of course that needs you to have
each vocal part on its own channel...
On 2016-07-30, Pete <neverland@GOODEVEca.net> wrote:
Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:
If there's a command-line converter from musicxml to midi,
that would be fine; I can easily tweak the levels in the musicxml.
But I've drawn a blank hunting on the net.
Otherwise you might want to look at Peter Billam's stuff:
http://www.pjb.com.au/midi/
I even see a "musicxml2mid" app there -- needs perl and a couple of
modules, but that should be no problem. Peter keeps an eye on this
group so he'll probably be along in a while to give all the details! (:-))
Yes, I'm still lurking :-)
http://www.pjb.com.au/midi/musicxml2mid.html
Myself I probably haven't used it since 2009, but it should still
work unless the DTD has changed in non-back-compatible ways.
It all depends on MusicXML's back-compatibility-policy...
musicxml2mid was road-tested with
http://www.musicxml.org/dtds/partwise.dtd
Version 1.1 but the current version is Version 3.0 ...
So let me know if there's a problem, I'll see what I can do.
And let me know also if there's no problem :-)
Regards, Peter
In article <nnnt5k$p1p$1@dont-email.me>,
Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:
I'm still not 100% clear... I think it's your phrase "in turn" that's confusing me. It sounds a bit as if each mp3 would have parts raised
To clarify what I'm trying to do: I'm using Musescore to enter music
that ends up in a booklet given to our choir (mainly 3-part, sometimes
1, 2 or 4). For each piece of music, I want to generate multiple mp3s
for pitch and rhythm practice; these will be one mp3 having all parts at
the "natural" volume, plus separate mp3s with each part emphasized in
turn - the individual files allow members to hear and follow their own
part, yet also be aware of the harmony in the background, while the
'full on' mp3 is akin to singing with everyone else and the accompaniment. >>
and lowered at different times, but I'd assume that what you want is for
a given part to be emphasized throughout the whole of a given file.
If that's the case it might be better to work from the "master midi", generating separate derived midis that then become the mp3s. You'd
need a (command line) app that is able to set the volume of individual tracks/channels. There ought to be such a program (:-/) but I don't
know of one specifically.
I have a Ruby library that makes it fairly easy to create little
utilities like that, which might be one possibility.
-- Pete --
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 241:18:45 |
Calls: | 6,624 |
Files: | 12,173 |
Messages: | 5,320,138 |