Need to quickly strip MIDI files to Notes only? Try this...!

VST, AU, AAX, CLAP, etc. Plugin Virtual Effects Discussion
RELATED
PRODUCTS

Post

Ever render MIDI files from a host only to find out they are full of CC, Tempo, NRPN and other junk data?
Ever wish you could simply right click on the file and use a simple one time command to quickly strip out everything but the Note On/Off data?

Well, I've been working on a little personal project called Strip To MIDI Notes Only.


Strip To MIDI Notes Only (name pending)ImageTHIS VERSION IS NO LONGER AVALIBLE.
DOWNLOAD NEW VERSION HERE!


It's a shell app that implements commands from Jeff Glatt's MIDI File Disassembler/Assembler and Auto Hot Key that automatically strips down a file to basic MIDI On/Off messages. No need to open the file into another app and edit it, this is just a one step process.

In a nut shell it installs MIDI File Disassembler/Assembler and the STMNO shell commands and allows you to right click on a MIDI file, select the command, quickly filters out all other info except MIDI On/Off messages and gives a confirmation that the process is complete. I've successfully tested it on Type 0 and 1 MIDI file types and it keeps multitrack MIDI files intact (does not combine all the info into one track).

At this stage it directly uses MIDI File Disassembler/Assembler to carry out the conversion, filtering and saving. I plan on creating my own converter/filter using REXX Development Language once I've completed this faze of testing.

I'm wondering if anyone could help me with this:

- Let me know if you'd be interested in this.
- Help me come up with a better name (Strip to MIDI notes Only is kind of long).
- Test it out on MIDI files and tell me if you encounter any problems.

Please let me know if this would be of interest to you and I will upload it and post a link here.

Thanks
Last edited by Optomadic on Mon Jan 11, 2010 3:28 pm, edited 6 times in total.
Image
stay juicy!

Post

I'd be much interested in this if it wasn't much work for you. I sometimes get the problem that a midi i recorded in Orion, say with my beloved Rhino2, always starts with "preset1" if I use this mid-file in Reaper. I have to go to the Reaper midi editor and delete the files. (What I'd like to be kept was the tempo information, by the way :D, as Reaper can read that, whereas EnergyXT in the past could not).

I think a simple name like "MIDI NOTES" or any fantasy name was right, you don't have to explain everything in the title, don't you think? Awave studio is a great app, but from the name you'd guess - well, err, it is "a wave":lol:.

I'd call it midinotes, or freemidi, or freakmidi, really, people who'd use it would know what it's for...
STRIPMIDI would maybe let people think it was quite a different application, somethint that runs obscene midi-files while you are stripping or so. Okay, just a lame joke.
MIDINOTES, whatever you come up with would be okay.

and of course I'd test it on midi files if you'd like, I got tons of them. Just pm me in case.

Post

Klemperer wrote:I'd be much interested in this if it wasn't much work for you. I sometimes get the problem that a midi i recorded in Orion, say with my beloved Rhino2, always starts with "preset1" if I use this mid-file in Reaper. I have to go to the Reaper midi editor and delete the files. (What I'd like to be kept was the tempo information, by the way :D, as Reaper can read that, whereas EnergyXT in the past could not).
I'm planning on adding an 'any filter type' to my custom version later on but for now this version only strips from many messages to MIDI On/Off messages only. Although it does come with MIDI DIS/ASS so ANY custom filtering can still be manually applied to a file.
Klemperer wrote:I think a simple name like "MIDI NOTES" or any fantasy name was right, you don't have to explain everything in the title...
The reason I went for such a blantent name was just incase you have many other shell commands. This way it would be tottaly obvious and stick out in a long list.
Klemperer wrote:midinotes, or freemidi, or freakmidi, really, people who'd use it would know what it's for...
STRIPMIDI would maybe let people think it was quite a different application, somethint that runs obscene midi-files while you are stripping or so. Okay, just a lame joke.
MIDINOTES, whatever you come up with would be okay.
These are good ones so far! :lol: Yea I was considering going with the whole stripper theme ;)..
Klemperer wrote:and of course I'd test it on midi files if you'd like, I got tons of them. Just pm me in case.
Thanks, will do. Anyone else interested??

Please let me know.
Image
stay juicy!

Post

Just to be clear here is an event list of a file Rendered from a host.

Go from this..
Image
I did not perform any Pbend or CC and did not add a tempo track (not seen here) but they are embedded in the file.

To this..
Image
The file has been cleaned!
Image
stay juicy!

Post

Looks interesting indeed. Would be even more if it was possible to selectively strip MIDI data (like velocity, etc.)

I can test it on eXT 1.4, 2 and Reaper if it helps, even Tracktion actually.

MIDIstrip?
MIDInotesonly?
MIDIpeel? (inspired by your graphics)
MIDIrawize?
NoFrillsMIDI?
NoNonsenseMIDI?
NoCCNonsenseMIDI?
NoCCMidi?
MIDIbarebones?

Post

@Optomadic,

I'm glad I saw this - I've been wondering where jeff went since his pages disappeared from borg. He's got a wealth of useful MIDI info there.

:)
DarkStar, ... Interesting, if true
Inspired by ...

Post

Duh. Just Call it 'MIDI stripper'. And put a chick in a bikini on the UI. Win. 8)

Post

dacaumodo wrote:...if it was possible to selectively strip MIDI data (like velocity, etc.)...
Once I code the filter myself it will have this option for sure! I was considering adding it in the 1st place but it takes some serious reghacking that I just didnt want to get into. Look for this feature later on though!

BTW great name ideas :tu:!
The Fex wrote:Duh. Just Call it 'MIDI stripper'. And put a chick in a bikini on the UI. Win. 8)
Yea I should have mentioned that there is no actual UI. Its just commands that run one time on a MIDI file. I may be able to add some kind of graphic at confirmation later on. Well see.
Image
stay juicy!

Post

DarkStar wrote:I've been wondering where jeff went
:tu: The guys a god send!

BTW you can now download the initial version from the original post up top! I apologize for having to use such a craptacular file hosting service. I plan on getting a proper one by years end! Maybe someone could recommend a good one??

Anyhoo please test away and have fun!
Image
stay juicy!

Post

Also I think I'm going to add a way to create a backup of the original file stored in the same folder or a temp folder. Just incase you want the message(s) or you accidently choose the wrong file. As is if you make a mistake and filter the wrong file, IT IS PERMINENT! The only way to get the info back would be to rerender or record the MIDI file.

Does this sound like a good idea or something you'd want as an option?
Image
stay juicy!

Post

Can someone please test this in Vista please and tell me if it works? If you run into any problems please send me screen shots.

I should mention too that you cannot at the moment perform filtering on more than one file at a time. I will be working on this in future versions.

Let me know what kind of experience you have with this.

Thanks again all.
Image
stay juicy!

Post

I tried it. Nothing changes.
I opened up the file AFTER I applied it per your instructions and the CC's are still there. Please advise. I could really use this tool.

Michael
mkj@kua.net



Optomadic wrote:Can someone please test this in Vista please and tell me if it works? If you run into any problems please send me screen shots.

I should mention too that you cannot at the moment perform filtering on more than one file at a time. I will be working on this in future versions.

Let me know what kind of experience you have with this.

Thanks again all.

Post

You tried this on Vista? Can you confirm that midi DisAssembler installs properly (look for *root*:\Program Files\MidiDsm)?

I may have to change it to get it working on Vista.

In the meantime if mididsm did install, just run it, and deselect everything but On Note.
Image
Then simply load the midi file by pressing Make Text, save the file, then press Make midi and select the text file you created, You should get the message Successfully created MIDI from Text.

If it doesn't install because of incompatibility, I will have to put something together that'll work on Vista.

edit:

Oh I almost forgot to ask if you rightclick on a MIDI file, can you see Strip To Midi Notes Only in the menu?


Thanks for helping me troubleshoot this.
Image
stay juicy!

Post

MIDIstripper :D
I need a soundcloud ¬¬

Post

MidiZex0r

Damn, disassembler is just what I've needed forever.

Also, I am a huge autohotkey fan. So big up to you.

I do think you need to make it so whatever file you convert is automatically backed up or the output file is the original file appended like %filename%_stripped.mid

Post Reply

Return to “Effects”