VST SDK 2.4 - no midi input in Cubase LE

DSP, Plug-in and Host development discussion.
RELATED
PRODUCTS
User avatar
WilliamK
Banned
Topic Starter
5103 posts since 12 Jun, 2001 from Wusik Dot Com

Post Mon May 07, 2007 3:43 pm

I just finished porting Wusikstation to the SDK 2.4, so far it runs on several hosts, BUT, Cubase LE. No Midi Input.

Is there a workaround for this?

Any advise would be great, thanks in advance. :cool:

(still need to port the code to the new GUI SDK 3.0/3.5)

Best Regards, WilliamK

User avatar
WilliamK
Banned
Topic Starter
5103 posts since 12 Jun, 2001 from Wusik Dot Com

Post Mon May 07, 2007 3:47 pm

Forte is also not working.

So far the only ones working: FL7, Orion 6, EX 1.4 and SONAR 6.

arne
KVRist
184 posts since 21 Aug, 2004

Post Mon May 07, 2007 9:35 pm

call AEffectX::resume() in your own resume method.

arne

DevilishHabib
KVRist
59 posts since 27 Apr, 2005 from Fu%$ing "Katoland"

Post Mon May 07, 2007 10:45 pm

MIDI Input: New Plugs should implement AudioEffectX::canDo "receiveVstMidiEvent" to indicate the presence of a MIDI Input, instead of wantEvents.
+ call resume on your own as arne wrote.

arakula
KVRAF
1936 posts since 16 Aug, 2004 from Vienna, Austria

Post Tue May 08, 2007 1:50 am

Yeh... "wantEvents()" is deprecated, but under the hood it's still done in AudioEffectX::resume() - iff the PlugIn called isSynth() before and canDo("receiveVstMidiEvent") returns 1. Quite some older hosts rely on it, as you have already found out 8-)
"Until you spread your wings, you'll have no idea how far you can walk." Image

User avatar
WilliamK
Banned
Topic Starter
5103 posts since 12 Jun, 2001 from Wusik Dot Com

Post Tue May 08, 2007 6:42 am

Got it, thanks guys.

So I added on my synth class right after "isSynth ();"
canDo("receiveVstMidiEvent");

And in the resume call: "AudioEffectX::resume();"

Now a question, hosts that expect the SDK 2.4, won't this crash the host? Or its safe?

Wk

arakula
KVRAF
1936 posts since 16 Aug, 2004 from Vienna, Austria

Post Tue May 08, 2007 9:23 pm

WilliamK wrote:Got it, thanks guys.

So I added on my synth class right after "isSynth ();"
canDo("receiveVstMidiEvent");
No, no, no, no, no.
The host calls your PlugIn's canDo() method, and it has to return 1 when asked for "receiveVstMidiEvent".
"Until you spread your wings, you'll have no idea how far you can walk." Image

User avatar
WilliamK
Banned
Topic Starter
5103 posts since 12 Jun, 2001 from Wusik Dot Com

Post Wed May 09, 2007 5:29 am

Ah, :oops:, thanks. I see it now. I was working crazy yesterday so my mind blocked that. :dog: I already do that on my canDo call. ;-)

Wk

Return to “DSP and Plug-in Development”