how to play midi files

Okram28's icon

Hi, I am absolutely new to the Max/MSP and need your help. I am thinking about patch which would analyze (harmonic structures and so on..)already made MIDI songs. I dont know how to open midi file in my patch. I tried to use message READ together with SEQ object but it showed a message which said that it take only single track files. But I also tried a single track midi file and the same message showed again.
Thanks a lot

Okram28's icon

Problem solved.

Through READ message linked to SEQ object you can only load a midi song, which is in format called MIDI Format 0. MIDI Format 0 is a file containing a single track and represents a single song performance.

If you have a midi file which contains only one track, but is saved as a MIDI Format 1, it wont work in Max.

pid's icon

erm... incorrect? "detonate" object does all this and more. also a host of third party things which also work... correct me if i'm wrong.

Okram28's icon

I didnt know DETONATE object. You were right. It can handle both MIDI Format 0 and MIDI Format 1 and much more. Thank you

Sesheta's icon

I tried seq and the weirdest thing happened where it goes to the Wavetable synth but not to things I want with "rtin"

And when I stop the global transport, the last midi note plays forever. Grr.

Roman Thilenius's icon

sending "all notes off" after pressing the stop button is always a good idea anway.