Blue Cat Plug n Script - Communicating to an outside application

Official support for: bluecataudio.com
Post Reply New Topic
RELATED
PRODUCTS

Post

Dear Blue Cat,

Is there any way with plug n script to communicate to an outside application (not the application hosting the plugin) from within a script ?
For example, could the script send MIDI data directly to the second app ?

Could one do it with some other protocol, other than MIDI ? Sockets, etc ?


Kind regards

David "digby" Richards

Post

Hi David,

Currently the plug-in can only communicate thru the host, with audio or MIDI data, to ensure perfect synchronization with the host. So if you can setup the host to send MIDI data to your external application it should be fine.

We might expose network capabilities in the scripting engine in the future (exposing libcurl for example), but this would not be a good idea to use such features in the real time dsp thread anyway.

Post

expose network capabilities in the scripting engine in the future
+1 vote to expose network capabilities in the scripting engine please.
would not be a good idea to use such features in the real time dsp thread anyway
Agreed. Is there a way to do slow, non critical processing, with the plug n script scripting system ?

For example file activity (load audio data) ?

Post

Right now the only place where you can perform intensive processing asynchronously (it does not block the host at all) is in the initialize() function. It is called every time the script is reloaded.

Post

i didnt want to start a new post for this, and this is a very similar question so i will ask it here.
can you write plugins that can talk to each other in the way that your remote control plugins can?

Post

Sure you can. Remote Control actually only relies on MIDI - so you can just send/receive MIDI events between plug-ins, using the input & output MIDI queues in the processBlock() function.

Post Reply

Return to “Blue Cat Audio”