Control Host playback from JUCE audio VST plugin -


i trying find way control playback position / tempo of vst host vst plugin build juce.

i not sure if possible.

i found setplayhead function on audioprocessor, , think might looking for.

https://www.juce.com/doc/classaudioprocessor#a9015f8476c07b173e3c9919b3036339d

but on doc of setplayhead reading this:

tells processor use playhead object. 

so can tell me if supposed mean new audioplayhead set on audioprocessor used hosts playback (z.b. cubase), or mean audioprocessor of vst plugin use audioplayhead, , audioplayhead of host remains unaffected)

thanks / input on this.

a sequencer cannot controlled vst plugin in way. vst api doesn't allow this. method you've found part of juce api allows sequencer pass playhead structure to plugin.

to fair, there no technical reason plugin couldn't this. host have supply unofficial custom opcode , associated cando feature. however, not part of vst standard, , work specific host.

as far know, no major vst host (including ableton live, cubase, etc) has mechanism allow this. thinking host's standpoint, bit crazy provide such mechanism. imagine multiple plugins trying stop/play host's playback @ same time!

so yeah, sorry, not possible in way thinking. however, possible vst plugin control host's tempo (but not playback state) via ableton link. since link works on local network socket, , doesn't have concept of master/slave, vst plugin theoretically send tempo changes host in manner.

right (where "now" == september 2016), ableton live sequencer supports link, ableton has said working other companies them add support link, wouldn't surprised if more sequencers start add link support in near future.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -