Split Midi-file poly to mono

Post fully complete "how to" guides and tutorials here. This is a great place to get feedback on stuff you might put in the wiki.

Moderators: MattKingUSA, khz

Post Reply
User avatar
Tutorius
Established Member
Posts: 58
Joined: Sat Jun 17, 2023 4:04 pm

Split Midi-file poly to mono

Post by Tutorius »

Hi,

i need a tool to split a midi-track to multiple tracks, so ech track is playable on a monophonic synthesizer.
Have seen some old things in searchengines, but nothing working.

I use MusE as DAW, is there a script that can do this?

Thanks for your help

User avatar
GMaq
Established Member
Posts: 2902
Joined: Fri Sep 25, 2009 1:42 pm
Has thanked: 549 times
Been thanked: 614 times

Re: Split Midi-file poly to mono

Post by GMaq »

Hi,

A Windows tool that runs in Wine on Linux can do this, and does it well:
https://github.com/VirtuosicAI/MIDI-Splitter-Lite

User avatar
Impostor
Established Member
Posts: 1468
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 155 times
Been thanked: 387 times

Re: Split Midi-file poly to mono

Post by Impostor »

MusE has an "export selected visible tracks to midi file" option.

User avatar
Tutorius
Established Member
Posts: 58
Joined: Sat Jun 17, 2023 4:04 pm

Re: Split Midi-file poly to mono

Post by Tutorius »

Impostor wrote: Tue Jul 09, 2024 11:23 am

MusE has an "export selected visible tracks to midi file" option.

I need to split the polyphonic midi-notes to multiple monophonic midi-tracks, so i am able to play them with my hardware-analog-synth one after the other, record it, and mix the resulting wavs together.

This song is done by manual splitting the notes, playd with my new Model-D...

https://soundcloud.com/killozap/bach-en ... -1-prelude

User avatar
Tutorius
Established Member
Posts: 58
Joined: Sat Jun 17, 2023 4:04 pm

Re: Split Midi-file poly to mono

Post by Tutorius »

GMaq wrote: Mon Jul 08, 2024 11:56 pm

Hi,

A Windows tool that runs in Wine on Linux can do this, and does it well:
https://github.com/VirtuosicAI/MIDI-Splitter-Lite

Thanks for the answer. I tried to get the Exe-file running in Win, but my WIne-version does not like that.
I will try to create a program, perhaps in Gambas, or in C as a console-tool. But midi-files are hard stuff... :)

User avatar
Impostor
Established Member
Posts: 1468
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 155 times
Been thanked: 387 times

Re: Split Midi-file poly to mono

Post by Impostor »

Tutorius wrote: Tue Jul 09, 2024 7:34 pm
Impostor wrote: Tue Jul 09, 2024 11:23 am

MusE has an "export selected visible tracks to midi file" option.

I need to split the polyphonic midi-notes to multiple monophonic midi-tracks,

Sounds complicated to automate such a thing. How to decide which notes will be sent to which track?
Regardless, googling "split polyphonic midi" turns up a variety of results, so maybe it's not as complicated as I think.

User avatar
Largos
Established Member
Posts: 677
Joined: Mon Oct 05, 2020 12:21 pm
Has thanked: 78 times
Been thanked: 207 times

Re: Split Midi-file poly to mono

Post by Largos »

Couple of suggestions:

Check out x42's midi plugins

https://x42-plugins.com/x42/x42-midifilter

There is a note to channel splitter.

Another way is you record the midi track to a drum track in MusE. If you open the drum track editor there is a column to set the channel per note.

User avatar
Impostor
Established Member
Posts: 1468
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 155 times
Been thanked: 387 times

Re: Split Midi-file poly to mono

Post by Impostor »

Largos wrote: Thu Jul 11, 2024 11:24 am

Another way is you record the midi track to a drum track in MusE.

You can convert existing midi tracks to drumtracks too.

User avatar
Tutorius
Established Member
Posts: 58
Joined: Sat Jun 17, 2023 4:04 pm

Re: Split Midi-file poly to mono

Post by Tutorius »

Largos wrote: Thu Jul 11, 2024 11:24 am

Couple of suggestions:

Check out x42's midi plugins

https://x42-plugins.com/x42/x42-midifilter

There is a note to channel splitter.

Another way is you record the midi track to a drum track in MusE. If you open the drum track editor there is a column to set the channel per note.

That sound interesting, will try it directly... :)

An convert to drum and/or convert notes to track is not very comfortable. I will try to program an automatically split that only creates new tracks when really needed... when notes overlap.

User avatar
Tutorius
Established Member
Posts: 58
Joined: Sat Jun 17, 2023 4:04 pm

Re: Split Midi-file poly to mono

Post by Tutorius »

I have got it running!

I programmed some days (or a week ore more) on this little C-program...

It can read a Midi-file (one track only, no special things, Midi-settings only taken at start of file) and split this track into multiple midi-files, each representing o monophonic part.

Here m first test, sone with MusE, importing the four created monophonic-tracks, recorded four WAV-tracks played by the monophonic Behringer Model-D-synth.
https://youtu.be/fRO1hFduJ8Q

Post Reply