11
Discussions / Re: Communicating with an FX VST within Cakewalk
« Last post by norfolkmastering on November 06, 2023, 04:05:39 PM »Hi Alexey
I did some tests to send Compressor Gain Reduction 'level' data to drive VST based 'moving needle' type meters.
I have been able to send MIDI CC values to drive 20 VST meters simultaneously (via AZ) and Cakewalk is still playing audio and its controls are responsive, no problems so far.
I send a packet of 20 CCs at a time (Meter1 then Meter2 etc), so that takes about 20ms which is close to the Cakewalk refresh rate of 25ms.
I compared the 'animation smoothness' of the VST meter needle animation, of the meters I am driving from my PIC/AZ, compared to a VST meter driven from internal dsp data. They look very similar.
I guess this means I can work on a meter refresh rate of 20-25ms with no animation issues.
It would all be so much easier if I had some way to detect when a VST panel is actually open to view on the PC screen. Then I would only drive level meters when they are being viewed. Is there any kind of flag in Cakewalk API to do this?
Best regards
Robert
I did some tests to send Compressor Gain Reduction 'level' data to drive VST based 'moving needle' type meters.
I have been able to send MIDI CC values to drive 20 VST meters simultaneously (via AZ) and Cakewalk is still playing audio and its controls are responsive, no problems so far.
I send a packet of 20 CCs at a time (Meter1 then Meter2 etc), so that takes about 20ms which is close to the Cakewalk refresh rate of 25ms.
I compared the 'animation smoothness' of the VST meter needle animation, of the meters I am driving from my PIC/AZ, compared to a VST meter driven from internal dsp data. They look very similar.
I guess this means I can work on a meter refresh rate of 20-25ms with no animation issues.
It would all be so much easier if I had some way to detect when a VST panel is actually open to view on the PC screen. Then I would only drive level meters when they are being viewed. Is there any kind of flag in Cakewalk API to do this?
Best regards
Robert