fbpx
Skip to main content

MIDI Forum

Cleaning duplicate/...
 
Notifications
Clear all

Cleaning duplicate/"worthless" events from MIDI file

2 Posts
2 Users
0 Reactions
2,317 Views
Jason
Posts: 424
Honorable Member
Topic starter
 

Anyone know of an easy way to bulk remove unneeded events from a MIDI file? In the current soundtrack I am working on, there are a lot of events that happen throughout the files that are at the same tick and provide the same function but with different values. For example, in one particular file,

The first volume and pan events get immediately replaced with the second volume and pan events.

In a few instances, the order is reversed and the ones I want to keep are first rather than second, but generally I want to keep the second batch.

(It's possible that Cakewalk may automatically take care of this when I run it through that later on, but also... maybe not. EDIT: No, it does not. I thought it might combine them, but it didn't.)

 
Posted : 03/09/2023 1:50 pm
Sema
 Sema
Posts: 180
Reputable Member
 

Writing a script would be the easiest way...

 
Posted : 04/09/2023 12:34 pm
Share: