VST SDK 2.4 - no midi input in Cubase LE
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
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.
(still need to port the code to the new GUI SDK 3.0/3.5)
Best Regards, WilliamK
Is there a workaround for this?
Any advise would be great, thanks in advance.
(still need to port the code to the new GUI SDK 3.0/3.5)
Best Regards, WilliamK
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
Forte is also not working.
So far the only ones working: FL7, Orion 6, EX 1.4 and SONAR 6.
So far the only ones working: FL7, Orion 6, EX 1.4 and SONAR 6.
-
- KVRist
- 59 posts since 27 Apr, 2005 from Fu%$ing "Katoland"
+ call resume on your own as arne wrote.MIDI Input: New Plugs should implement AudioEffectX::canDo "receiveVstMidiEvent" to indicate the presence of a MIDI Input, instead of wantEvents.
-
- KVRAF
- 1940 posts since 16 Aug, 2004 from Vienna, Austria
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
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
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
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
-
- KVRAF
- 1940 posts since 16 Aug, 2004 from Vienna, Austria
No, no, no, no, no.WilliamK wrote:Got it, thanks guys.
So I added on my synth class right after "isSynth ();"
canDo("receiveVstMidiEvent");
The host calls your PlugIn's canDo() method, and it has to return 1 when asked for "receiveVstMidiEvent".
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
Ah, , thanks. I see it now. I was working crazy yesterday so my mind blocked that. I already do that on my canDo call.
Wk
Wk