Playing a midi file in a plugin independent of DAW audio stream

Hey all,
Got a bit of conundrum on my hands here. I want to play a midi file completely independent of the host DAW, so I was using AudioAppComponent hosted beneath an AudioProcessor but then I found out that apparently this doesn’t work when inside Logic (or most hosts apparently). When I call “setAudioChannels (0, 2);” Logic throws a fit and makes my audio sound like the equivalent of a car crash any time anything is played inside the DAW itself from there on out. I’m hoping this is an easy tweak, but realize I might just be doing this all wrong. Please help out! Thanks!
Stevie