Please help me, play midi


#1

As I can reproduce a midi.


#2

step 1

        MidiFile midiFile;
        FileInputStream* midiFileInputStream;

        File tempfile = File(T("test.mid"));

        if(!tempfile.exists())
            return;

        midiFileInputStream = tempfile.createInputStream();

        midiFile.readFrom(*midiFileInputStream);

yes or no


#3

That’s the right approach.