My FM7 softsynth is not allowing the plugin host demo to connect its midi connection after loading a filtergraph document. I start off with a new graph then add the fm7 and then add a connection between the graphs ‘midi input’ and the fm7. Then I save the file to disk.
When I reload the filtergraph the midi connection is not restored. When I trace into the code I see that the plugin is returning false from acceptsMidi(), thus the graph notices that it should not allow the connection. But when I re-add the connection the trace indicates the synth is now reporting true from acceptsMidi. So, the synth isn’t ready yet at the time the connections are being restored. I tried tracing around the vstplugin initialization for awhile but was unable as of this time to determine when acceptsMidi becomes true…All my other midi widgets connection themselves properly except the fm7.
Does anybody know how I might delay, or listen to the graph such that I give the plugins time to completely initialize? I suspect that the plugins are loading asynchronously to the gui yes? - Can anybody shed some light on this issue?