void _stdcall TTestPlug::MIDIIn(int& midi) {
char sz[256];
_itoa(midi, sz, 16);
OutputDebugStringA(sz);
OutputDebugStringA("\r\n");
PlugHost->MIDIOut(HostTag, midi | (1 << 24));
}
Why this doesn't work is beyond me.
these are my creation flags
FPF_Type_FullGen | FPF_MIDIOut ,
i'm sending the host this when the plugin is created:
Host->Dispatcher(SetTag, FHD_WantMIDIInput, 0, 1);
and i've even tried
Host->Dispatcher(SetTag, FHD_ActivateMIDI, 0, 1);
I've also tried the above with 0 instead of 1 as the last parameters.
I get the MIDI Input debug spew.
I do not get the expected midi notes replayed on port 1.
i can see the midi traffic light (little orange colored flashy knob thing) in FL's main window but i get no sound.
i've verified my associated VST synth is listening on port 1
FL SDK MIDIOut woes
Return to “FL Studio Users Forum (Looptalk)”
Forum rules
Please read them here.
Please read them here.
[You can only see part of this thread as you are not logged in to the forums]
-
- Site Admin
- Fri Feb 08, 2019 1:40 pm
Re: FL SDK MIDIOut woes
What is the exact value (as a 32bit int) you're...
Re: FL SDK MIDIOut woes
here's a list of every every C note on my keybo...
-
- Site Admin
- Fri Feb 08, 2019 2:08 pm
Re: FL SDK MIDIOut woes
Is that before or after adding the port value? ...
Re: FL SDK MIDIOut woes
whoops that's before
my port number is shifted...
-
- Site Admin
- Fri Feb 08, 2019 2:17 pm
Re: FL SDK MIDIOut woes
Hm ... since you're doing this in MIDIIn, you s...
Re: FL SDK MIDIOut woes
it comes in without a port specified.
the init...
Re: FL SDK MIDIOut woes
an alternative might be if i can publish voice ...
-
- Site Admin
- Fri Feb 08, 2019 2:50 pm
Re: FL SDK MIDIOut woes
You could make a VFX plugin to process voices. ...
Re: FL SDK MIDIOut woes
*googles* - a visual effect plugin? if so that'...
Re: FL SDK MIDIOut woes
It doesn't work. Apparently if you change the m...
-
- Site Admin
- Fri Feb 08, 2019 4:11 pm
Re: FL SDK MIDIOut woes
I had indeed forgotten that it would just chang...
Re: FL SDK MIDIOut woes
I've been sending it from TriggerVoice
I also ...
Re: FL SDK MIDIOut woes
sure. here's the source and i've included the d...
You do not have the required permissions to view the files attached to this post.
Re: FL SDK MIDIOut woes
For any of you downloading this, it's not reall...
Re: FL SDK MIDIOut woes
Two controls, assuming the staff have source co...
Re: FL SDK MIDIOut woes
using MIDIOut_Delayed appears to work. I'm not ...