Which method initiates functions of AudioProcessor class?

I’m trying to build a plugin, which plays a midi-file, using this thread and files: Playing a MIDI file (revisited). As I understand the playback is realized via processBlock method. So far my midi-file is read fine, but processBlock is not working.