Hi,
When I play audio files in my DAW, I load the file into an AudioTransportSource and get audio blocks in my processBlock function. When I want to actually start playing the audio file that’s loaded in my transport source, I call “transportPlay()”. Now I would like to do the same thing with MIDI files. I have created a plugin which can load a MIDI file and play it using a soundfont through a synth but in order to actually begin playback I have to press the play button in my DAW. I have tried calling transportPlay() after loading a MIDI file but nothing happens. Is there a way I can start/stop playing a MIDI file from within the plugin?