Odd MIDI File Behaviour - Truncated

Hey all

Im using a MIDI file created in Reaper to to manage tempo/time sigs and send CC to trigger next state.
This works perfectly, however, all the midi files stop several (varying no.) bars short of the end of the midi file, stopping everything. Its like a range limit is automatically set.

Ive run the Monitor on the output and no event is showing at the time of the range end marker, and range is set to (All). The midi file has an all notes off, but this is set as an event at the end of the file.

Trying to figure this out is driving me mad!
Any help greatly appreciated

Thanks
Rob

Hi Rob,

If you could post the MIDI file I can take a look at it to see if it’s the file.

Dave

Perhaps you can clarify where your all notes off event is relative to your end of Range marker

If it is not within the Range then I believe that sounds like expected behaviour. Cantabile will only play a MIDI file and master transport for as long as there are events to play.

I got caught out with this when using MIDI players as a master track against audio tracks as slave tracks, so learnt to ensure there is at least one MIDI event right at the end of where I also want audio playback to stop. Could be anything like resetting a CC or something like that.

2 Likes

Ahh fantastic! Adding a random CC at the end of the track did the trick. The all notes off was at the correct time but I guess it doesnt count as an event to either Reaper or Cantabile.

Thanks as always for the assistance! Greatly appreciated!
Rob

1 Like

Yes, I assume that all notes off is a “meta event” within the DAW and will not do anything if no notes are playing.

Glad you got it sorted. As I mentioned, it tripped me up a few times until I got it into this thick cranium to always ensure there was an end event at the end of the MIDI track that gave you the same duration as the slave audio tracks! :slight_smile:

for me, my main use of MIDI is for driving DMXIS which uses MIDI notes as lighting cue triggers, so it is just a simple matter of repeating the last light cue right at the end of the range.