• SONAR
  • Un-Merge Two Midi Tracks?
2015/05/31 04:31:53
mattplaysguitar
Hey Guys
My client send me midi files for some simple piano parts to mix. Each song is piano only (for a dance school). I have one track which they accidentally forgot to delete the previously recorded midi files and then exported it like that. So I have track 1, which is fine, and then track 2 consists of both track 1 and track 2 overlayed on top of one another. Is there an automated way to separate this (if only I could invert the track one and mix it with track 2...) or do I have to do this manually? I'm sure you could write a script to do it but that's probably going to take longer... If someone wants to have a look at it I can upload the files if they have any bright ideas!
 
Cheers
2015/05/31 07:03:52
promidi
mattplaysguitar
 and then track 2 consists of both track 1 and track 2 overlayed on top of one another. Is there an automated way to separate this (if only I could invert the track one and mix it with track 2...) or do I have to do this manually?



Are the duplicate MIDI events that are on track 2 set to different channels to the ones you wish to keep?

If so , then you can select track 2 in it's entirety.  Then use Edit | Select |By filter.  Make sure all boxes are ticked.  Under "All Non-Special Events" - change Both Min and Max Channel to the channel you wish to select.  Once the selection is made, cut and paste them (or delete then as you probably already have them on track 1) as desired.

There may be an easier way but that's the one that comes to mind...

If the notes are exact duplicates then you could use the cal script called "ELIMDKEY.CAL" to delete the duplicates.
2015/05/31 07:44:05
mettelus
Check the event viewer (Alt+8) first, *hopefully* that doubled track is on 2 channels for you.
 
If it is not, I would just ask them to kindly send you the format you need.
2015/05/31 09:43:05
mattplaysguitar
Allllll channel 1 :) So no luck there. It's OK, none of the notes hit 127 - they are all around 60 or so. So I'll take the clean track version that I want to delete from it, change all its notes to 127, overlay it on top, then delete everything that's 127 and the notes underneath. This will leave the one left that I want. I'm sure it wouldn't be too hard to write a macro to do it for me but I couldn't be bothered as code is not my strength.
 
If that looks like it's gonna take forever they said they can re-record it for me. The people who recorded it are very new to digital sound. I only just introduced them to the world of MIDI. Before that, they just plugged the headphone jack from the keyboard into the mic in on their laptop and hit record.....  I recorded the first bunch of music for them but now they are recording it and sending me the files. They are interstate so can't do it myself all the time. Besides from this they have done well though!
2015/05/31 10:26:15
mettelus
Are the track 1 parts in track two identical?
 
If you are not working with the MIDI (just mixing the audio), there is another "sneaky" trick you can do. Render both tracks as audio, then reverse the phase of track 1's audio and combine it with track 2's audio by bouncing to a third audio track. This will leave you with just the "new stuff" on track 2. It will also preclude any midi editing, but is another option if focused on mixing the audio portion.
2015/05/31 15:57:58
Zargg
mettelus
Are the track 1 parts in track two identical?
 
If you are not working with the MIDI (just mixing the audio), there is another "sneaky" trick you can do. Render both tracks as audio, then reverse the phase of track 1's audio and combine it with track 2's audio by bouncing to a third audio track. This will leave you with just the "new stuff" on track 2. It will also preclude any midi editing, but is another option if focused on mixing the audio portion.


Nice
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account