Page 2 of 3

Re: Identify DAW (check if FL Studio, etc.)

Posted: Tue Sep 16, 2014 4:16 am
by billv
Here's a shot in the dark.
What about the VST SDK...Surely there's something in there that can identify current host. ?
Then have to find a way how to use it.

Re: Identify DAW (check if FL Studio, etc.)

Posted: Tue Sep 16, 2014 4:19 am
by tulamide
billv wrote:Here's a shot in the dark.
What about the VST SDK...Surely there's something in there that can identify current host. ?
Then have to find a way how to use it.

http://www.dsprobotics.com/support/viewtopic.php?f=3&t=2732&p=14781#p14781
;)

Re: Identify DAW (check if FL Studio, etc.)

Posted: Tue Sep 16, 2014 8:39 am
by Perfect Human Interface
tulamide wrote:You don't need to access a device directly when exporting as VST, since you get midi data from the host.

Thank you for putting my mind at ease. I just needed to know that all my hard work isn't being in vain. :P

Back on topic... is that anything that could be accessed via a DLL? I really know nothing about that so I'm just throwing it out there.

And my apologies, this topic would have been better off in the general section than here. I was about 70% sure this was going to end up being useful, but alas.

Re: Identify DAW (check if FL Studio, etc.)

Posted: Tue Sep 16, 2014 10:16 am
by Nubeat7
the only way would be if we could have any access to the vst sdk classes which are used in FS, unfortunatly we don't, so if we write a c++ dll we would need to include the AudioEffectsX class (the vst sdk class where you can find the getHostProductString methode) there, but i don't know if this could work after the vst sdk is included in FS already

the best would be when malc could provide a primitive for it which spits out the actual used host, can we have this please!?

Re: Identify DAW (check if FL Studio, etc.)

Posted: Tue Sep 16, 2014 11:01 am
by Flemming
Nubeat7 wrote:the best would be when malc could provide a primitive for it which spits out the actual used host, can we have this please!?

+1 ;)

Re: Identify DAW (check if FL Studio, etc.)

Posted: Tue Sep 16, 2014 11:07 am
by Perfect Human Interface
Nubeat7 wrote:the best would be when malc could provide a primitive for it which spits out the actual used host, can we have this please!?

I think everyone would agree to that. I'm not going to email him though... He seems picky about whose emails he opens lol.

Re: Identify DAW (check if FL Studio, etc.)

Posted: Wed Sep 17, 2014 9:27 pm
by Jay
Hi guys

I was trying to achieve this very thing myself after being asked to come up with something similar by another user!

here is my workaround, it is a work in progress, just pop the dll and the application into your vst folder and load the plugin in your daw! the plugin should display the name of the daw! it should work for Cubase, Sonar, FL, Bitwig, Acid,Reaper and Live!

the only thing with it is, it leaves a tray app running after exit, just click it to close, it is using a tcp connection to inject the name of the daw into the vst ;)

best regards

http://www.mediafire.com/download/ab4d4 ... wQuery.rar

Re: Identify DAW (check if FL Studio, etc.)

Posted: Wed Sep 17, 2014 11:17 pm
by Perfect Human Interface
Jay wrote:the only thing with it is, it leaves a tray app running after exit, just click it to close


I wrinkled my nose up at this bit. But if it works then it works, and that's something more than I've got.

I'd like to test this and let you know how it works here but all I see is a DLL file and an EXE and I don't know what to do with them.

Re: Identify DAW (check if FL Studio, etc.)

Posted: Thu Sep 18, 2014 12:35 am
by Jay
Hey PHI just put both into your shared vst folder and load the vst! its an effect plug!

I will upload a schematic as soon as ive finished it! i will need to add all the other popular hosts to the exe.

Perfect Human Interface wrote:I wrinkled my nose up at this bit.


aye it is because i have the functions running from within a tray app then it sends the result to the vst using a tcp connection! i just need to find a way of closing the tray app automatically once the result is received

Regards

Re: Identify DAW (check if FL Studio, etc.)

Posted: Thu Sep 18, 2014 12:42 am
by Perfect Human Interface
Jay wrote:load the vst! its an effect plug!


Ohh... Hahaha.
It does work indeed. Unfortunately it also triggered a pop up from Windows Firewall saying it blocked some features and asking whether I want to give it access, etc.