FL SDK MIDIOut woes

Discuss how to use FL Studio

Return to “FL Studio Users Forum (Looptalk)”

[You can only see part of this thread as you are not logged in to the forums]
flamingRedDingo
Fri Feb 08, 2019 2:23 am

0 x

FL SDK MIDIOut woes

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

reflex
Site Admin
Fri Feb 08, 2019 1:40 pm

0 x

Re: FL SDK MIDIOut woes

What is the exact value (as a 32bit int) you're...

flamingRedDingo
Fri Feb 08, 2019 2:06 pm

0 x

Re: FL SDK MIDIOut woes

here's a list of every every C note on my keybo...

reflex
Site Admin
Fri Feb 08, 2019 2:08 pm

0 x

Re: FL SDK MIDIOut woes

Is that before or after adding the port value? ...

flamingRedDingo
Fri Feb 08, 2019 2:12 pm

0 x

Re: FL SDK MIDIOut woes

whoops that's beforemy port number is shifted 2...

reflex
Site Admin
Fri Feb 08, 2019 2:17 pm

0 x

Re: FL SDK MIDIOut woes

Hm ... since you're doing this in MIDIIn, you s...

flamingRedDingo
Fri Feb 08, 2019 2:20 pm

0 x

Re: FL SDK MIDIOut woes

it comes in without a port specified.the initia...

flamingRedDingo
Fri Feb 08, 2019 2:22 pm

0 x

Re: FL SDK MIDIOut woes

an alternative might be if i can publish voice ...

reflex
Site Admin
Fri Feb 08, 2019 2:50 pm

1 x

Re: FL SDK MIDIOut woes

You could make a VFX plugin to process voices. ...

flamingRedDingo
Fri Feb 08, 2019 2:59 pm

0 x

Re: FL SDK MIDIOut woes

*googles* - a visual effect plugin? if so that'...

flamingRedDingo
Fri Feb 08, 2019 4:04 pm

0 x

Re: FL SDK MIDIOut woes

It doesn't work. Apparently if you change the m...

reflex
Site Admin
Fri Feb 08, 2019 4:11 pm

0 x

Re: FL SDK MIDIOut woes

I had indeed forgotten that it would just chang...

flamingRedDingo
Fri Feb 08, 2019 4:15 pm

0 x

Re: FL SDK MIDIOut woes

I've been sending it from TriggerVoiceI also tr...

reflex
Site Admin
Sat Feb 09, 2019 9:58 am

0 x

Re: FL SDK MIDIOut woes

Could I try the plugin?

flamingRedDingo
Sat Feb 09, 2019 2:31 pm

0 x

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.

flamingRedDingo
Sat Feb 09, 2019 5:25 pm

0 x

Re: FL SDK MIDIOut woes

For any of you downloading this, it's not reall...

flamingRedDingo
Sat Feb 09, 2019 9:12 pm

0 x

Re: FL SDK MIDIOut woes

Two controls, assuming the staff have source co...

flamingRedDingo
Tue Feb 12, 2019 9:32 pm

0 x

Re: FL SDK MIDIOut woes

using MIDIOut_Delayed appears to work. I'm not ...


Return to “FL Studio Users Forum (Looptalk)”