MessageListener in an audio plugin?

Hey there,

I’m having trouble getting MessageListeners to work in an audio plugin. Seems like the event loop hasn’t started yet when they get created (MessageManager not yet started?) … so when exactly should I create my objects?

Can the AudioProcessor “main” object be a MessageListener itself?

Thanks in advance! :slight_smile:

I’d probably suggest putting anything that uses the event thread into your editor component rather than the plugin itself. And no, definitely don’t make your plugin inherit from messagemanager. (Or from anything else if you can help it - always prefer containment over inheritance for objects like that)

Ya, well, I figured… and implemented my own Observer pattern.

Thanks!