Batch extract acoustic bass drum from many midi files
I have 15490 midi files, then I want to extract the acoustic bass drum from each midi file, then output it, for example, the input file: Taylor Swift - You Belong With Me.mid file, output file:Taylor Swift - You Belong With Me_only acoustic bass drum.mid file, I know how to achieve this by hand, but I want to do it in one time(batch convert), is there any plugin that can solve my problem? Thanks in advance.
Comments
Check https://musescore.org/en/handbook/command-line-options-0 and the -o and -P Options, it should export all parts, so more than you need though.
Then there is https://musescore.org/en/project/batchexport, which, AFAIR, does this for linked parts, so you'd have to generate parts first. Or take that plugin as a starting point for your own
In reply to Check by Jojo-Schmitz
I'm working on Windows 10.
I put the Taylor Swift - You Belong With Me.mid file into D:\Program Files (x86)\MuseScore 2\bin
Then run the command line:
D:\Program Files (x86)\MuseScore 2\bin>MuseScore.exe -P Taylor Swift - You Belong With Me.mid
But nothing happaned, can you tell me which part I did wrong? Thank you. I want to split the midi file into multiple tracks, and as detail as much, which means also split the percussion part into acoustic bass drum.mid, snare drum.mid,... etc.
In reply to I'm working on Windows 10. I by Peter Chen1
You forgot the -o option. -o outputfile
This won't split a single part into its (drumset) components though, just a score into parts
In reply to You forgot the -o option. -o by Jojo-Schmitz
So is there any way that can achieve my goal?
In reply to So is there any way that can by Peter Chen1
I'm not aware of any method to 'desintgrate' a percussion staff into is components, using MuseScore.
What you are talking about is a more a task for a MIDI editor than a notation program. probably there exist some that could do that sort of job, but I don't have any specific recommendations except that you do a search specific for MIDI editors / sequencers / DAW programs.
MuseScore is not the right tool for this job. There are plenty of libraries in your preferred language to manipulate MIDI files.