This project has moved. For the latest updates, please go here.

Play button

Topics: Audio, Host Development
Apr 15, 2013 at 11:27 PM
Hi there,
I'm just developing a small VST plugin using VST.NET, as far as I can say... it's awesome :)

But I have some troubles with the begining. I went through all Samples and was able to create a VST plugin as a VST instrument. I'm using cubase 5.1 as host.
And here is my question: Is it possible to convince cubase to start playing its whole mix by pressing a button within the plugin?
Like making a copy of the Cubase play button and place it on the plugin.

Hope you guys get what I mean :)

Looking forward hearing from you!

Apr 16, 2013 at 3:30 AM
Short answer no.
Apr 16, 2013 at 5:24 AM
Edited Apr 16, 2013 at 6:11 AM
Long answer:

The VST interface only deals with audio and midi processing (and some related areas such as Parameter automation and editor UI). Nowhere in the VST spec is there an option to talk to the Host to get it to perform such tasks.

You can see, from within the plugin, if the transport is running (playing) but that is about it.
Apr 16, 2013 at 4:44 PM
Thanks for your replies!

That's unfortunate :( Then I got to try another approach.
How do I read the "transport is running"-information from the host?

Thanks so far!
Apr 16, 2013 at 5:36 PM
The transport-running info is in the VstTimeInfo you get from IVstHostSequencer.GetTime method.

If you have the Visual Studio Project Templates installed that code is already in-place.

Hope it helps.