Play .mid files

Andrew Dewar's icon

Hello all!

I have seen some people talking about trying to play and alter .midi type 1 files. They all recommend the detonate object. The help file and reference aren't really getting me anywhere.

I simply want to open a .mid file from my computer and play it via max. I just cant figure out which inlet to load the file into and then which outlets allow me to send that to a note out.

Thanks!

corkcitygamelan's icon

the easiest way I know to play MIDI in max is the [sequ] object - very straight forward, one inlet for messages (start, stop, etc), one outlet for the MIDI stream, and anther to bang when finished playing

Brian H.'s icon

I did not have much luck with this either. Really, it's pretty ridiculous that simply playing a standard MIDI file (either variation) is still not more straightforward in Max! They went through the trouble to improve it with audio, and not MIDI. Just my opinion, but each object that would be a candidate has some fatal flaw.

broc's icon

In fact, the main flaw of both [seq] and [detonate] is that they are based on absolute timing (ms) instead of tempo-relative timing (ticks). Thus they are not directly compatible with the timing of MIDI files and require inconvenient operations for tempo control.

corkcitygamelan's icon

tempo control is cryptic - but totally easy once you know how. I had to ask the forum a few days ago and got a quick answer
https://cycling74.com/forums/i-need-kelp-with-the-way-tempo-and-seq-can-work-together-please/