surge-synthesizer / stochas

The Stochas Sequencer
https://stochas.org
GNU General Public License v3.0
412 stars 35 forks source link

Not working in FL Studio 12 64bit #30

Closed siddytucker79 closed 4 years ago

siddytucker79 commented 4 years ago

Used the windows installer. Stochas will not send midi info to any plugin I link it to via the midi port options in the VST Wrapper settings.

baconpaul commented 4 years ago

I don't use FL, but there was a long conversation about this in #stochas-development in our discord server this afternoon and how to get it to work with FL's particular midi routing choices. Perhaps that would help immediately while the answer becomes some more permanent documentation? hope that helps.

K0rrid0r commented 4 years ago

@siddytucker79 what version of FL studio are you on? Did you use stochas VST3 or VST2? and what bit version 32/64 bit?

Why I'm asking is because i figured out today how to set this up.

Myself i use FL Studio 10 and VST2 32 bit version of stochas that i built from the code provided. In FL 10 the VST3 stochas exhibits exactly the problem you describe. But in FL 20 the VST3 works fine. (i did try with a VST3 32 bit version, maybe actually there is a problem with the 64 bit)

so here comes the solution that requires you to download this plugin that is also free and pretty good to have in FL tbh, MidiChannelFilter https://www.paulcecchettimusic.com/piz-midi-utilities-archived-download-links/

It seems like the 16 midi channels are hidden in one port message in FL, MidiChannelFilter can separate the midi messages inside the port message so you can lead them onto different instances of surge.

stochas first has to be set to an output port in the wrapper settings, example port 2 STO1

then i can add midi output ports from inside stochas layer 1 = midi output 3 layer 2 = midi output 5 STO2

Now we are going to send midi output 3 and 5 (that are two layers in stochas) to two different vst wrapped synthesizer instances, lets open two surge's and two instances of MidiChannelFilter. Each MidiChannelFilter has to be set to the port the single instance of stochas was set to (in this example port 2) STO3

Now each of those MidiChannelFilter's are set to read midi channel 3, 5 on the front panel but on the port settings as seen in the previous picture they both are set to read Input Port 2 and Output port 16 and 17.

Now each surge are set to Input Port 16 and the other one Input Port 17 STO4

That is one way of getting each layer to work with -one- stochas in FL.

siddytucker79 commented 4 years ago

I'm on FL Studio 12 and the Windows installer gives me only a VST3 file

K0rrid0r commented 4 years ago

Check my longer answer i just did!

siddytucker79 commented 4 years ago

Sorry. Still no luck even after following all the steps you provided and double checking to make sure I followed them all correctly

K0rrid0r commented 4 years ago

Right!

Well try the builds i did. If you get MidiChannelFilter together with them, it should work. (im currently listening to three layers from one instance of stochas) Stochas VST2 and VST3 32 bit.zip

Please report back how that goes. So we can make the mark on your stochas version + daw. @siddytucker79

siddytucker79 commented 4 years ago

Still no luck sadly

K0rrid0r commented 4 years ago

wow really not even with the VST2 i provided?

siddytucker79 commented 4 years ago

Yep. Tried both the VST2 and VST3 in conjuction with the midi channel filter. Still no midi info being sent to the synth

K0rrid0r commented 4 years ago

so both those "Stochas" will show up with the same name. can you double check that you used the VST2 and not VST3 and tested around?

STO6

siddytucker79 commented 4 years ago

Yup, just double checked. Can confirm I used the VST2

K0rrid0r commented 4 years ago

what about stochas sending just a port number to a synth? does that work?

siddytucker79 commented 4 years ago

Tried that just now. No luck

K0rrid0r commented 4 years ago

well then im out of ideas :( try another daw.

K0rrid0r commented 4 years ago

i can make these specific files work just fine in FL 10 and FL 20.6

siddytucker79 commented 4 years ago

All good my dude. I appreciate you taking all this time to try and help me

siddytucker79 commented 4 years ago

Do you have a link to the discord server baconpaul was referring to?

K0rrid0r commented 4 years ago

https://discord.com/channels/744319641211633774/744320129722089512

efbsolis commented 4 years ago

@siddytucker79 what version of FL studio are you on? Did you use stochas VST3 or VST2? and what bit version 32/64 bit?

Why I'm asking is because i figured out today how to set this up.

Myself i use FL Studio 10 and VST2 32 bit version of stochas that i built from the code provided. In FL 10 the VST3 stochas exhibits exactly the problem you describe. But in FL 20 the VST3 works fine. (i did try with a VST3 32 bit version, maybe actually there is a problem with the 64 bit)

That is one way of getting each layer to work with -one- stochas in FL.

Hi @K0rrid0r,

Thanks for outlining these comprehensive instructions for trying to make MIDI routing work on FL Studio v.10 with the 32-bit VST2 dll file for Stochas. I'm running FL Studio 20.1.2 on a 64 bit Win10 and tried the instructions with the only Stochas dll I could find, which is a VST3.

Could you point to the VST2 file you are using?

In the repo's releases page, it seems that both stochas-1.3.3.-win.zip and stochas_windows_installer.exe only include the VST3, (in x86 and x64 bits, out of which, I assume we rule out x64 and use x86). Same for the official releases page.

Alternatively, I'd be happy to provide as much debug info as might help troubleshoot this.

Thanks,

K0rrid0r commented 4 years ago

@eamonbohan I built that version of stochas myself from the code in the repo and using VST2_SDK and info provided there. Check this zip in this post. the .dll is a VST2 that im currently listening to (with several layers from one stochas, using that exact method)

I only posted it to help with troubleshooting here. Nothing seems to work for @siddytucker79 thought.

https://github.com/surge-synthesizer/stochas/issues/30#issuecomment-688044210

siddytucker79 commented 4 years ago

So I've discovered that stochas works fine for me in the 32bit version of my FL but not the 64bit version (which I mainly use)

efbsolis commented 4 years ago

@K0rrid0r got it--it seems that 32 bit VST2 dll works in FL 20. The Midi Channel Filter VST you suggested trying routes separate channels without problems.

K0rrid0r commented 4 years ago

@siddytucker79 can you be more specific? i provided two 32 bit stochas. which one are you referring too?

@eamonbohan Great! Neat!

siddytucker79 commented 4 years ago

@siddytucker79 can you be more specific? i provided two 32 bit stochas. which one are you referring too?

Sorry I meant the 32 bit version of FL Studio 12 not the 32 bit version of stochas

K0rrid0r commented 4 years ago

@siddytucker79 yeah those things gotta be correct otherwise it wont work :) so did the The Midi Channel Filter work then?

and i bet if i send a VST2 64 bit it will work in that version as well.

K0rrid0r commented 4 years ago

@siddytucker79 So can you also check if the VST3 32 bit now work in your correctly opened FL studio 12 32 bit?

Do a simple port out (stochas) to port in (synth) test

siddytucker79 commented 4 years ago

@siddytucker79 yeah those things gotta be correct otherwise it wont work :) so did the The Midi Channel Filter work then?

and i bet if i send a VST2 64 bit it will work in that version as well.

Lmao forgive my uh ~cognitive impairment~

God I hope so

siddytucker79 commented 4 years ago

@siddytucker79 So can you also check if the VST3 32 bit now work in your correctly opened FL studio 12 32 bit?

Do a simple port out (stochas) to port in (synth) test

VST3 32bit doesn't work for some reason

K0rrid0r commented 4 years ago

in FL 12 32 Bit?

siddytucker79 commented 4 years ago

Yup

K0rrid0r commented 4 years ago

Right! The VST3 32 Bit don't work in FL 10 either, hence i use the VST2 32 Bit (because i don't want to change daw) But the VST3 32 bit does work in FL 20 32 bit. I don't know what happend there in between.

Now you know. You can use the VST2 32 bit and i can send you a VST2 64 bit later.

Good info to know for the stochas dev.

siddytucker79 commented 4 years ago

Awesome. Thanks for your patience dealing with me lol

K0rrid0r commented 4 years ago

and writing on github here when you have a problem helps if you are super specific about every move you do and change otherwise we end up with 100 comments. :)

K0rrid0r commented 4 years ago

@siddytucker79 here you go, if this is your only alternative

VST2 64 bit (it loaded fine in FL 20.6 64 bit, just tried) Stochas-vst2-64bit.zip

Can you also try this VST3 64 bit in your FL Studio 12 64 bit? (it loaded fine in FL 20.6 64 bit, just tried) Stochas-vst3-64bit.zip

rudeog commented 4 years ago

@K0rrid0r it sounds like we definitely need VST2 builds?

K0rrid0r commented 4 years ago

@rudeog Yeah well that is up to you and Paul i guess. I'm merely trying to find out what is causing the problems and where Stochas works and where it dosen't, at least on the FL side of things :)