Author Topic: BASS_VST 2.4.0.6 - available for download  (Read 103265 times)

Vitaliy

  • Guest
Re: BASS_VST 2.4.0.6 - available for download
« Reply #150 on: 13 Nov '17 - 20:31 »
Hi,
Quote
If I use any bass.net.dll in my project without bass_vst.dll, I get the error 0xc00007b. And I do not understand how to apply BassNet.Registration (,) in the Lazarus (Delphi) environment.
Lazarus is native code, so you do not have to use any bass.net dlls but use the native bass libraries with the associated Delphi import units.

Code: [Select]
vstHandle: = BASS_VST_ChannelSetDSP (stream, 'name.dll', BASS_Unicode, 1); = zero reaction to any VST.dll files,If you use BASS_Unicode the function expects WideChars. AFAIK Lazarus unicode implementation is different from Delphi and uses UTF8 instead of UTF16 (WideChars). So if 'name.dll' is a literal string in your source it is most likely a single byte string. Try to remove the BASS_Unicode flag.

Yes, I know about this, it was my previous problem, and I use:
Code: [Select]
stream:= Bass_streamCreateFile(false, Pchar(UTF8ToUTF16(OpenDialog1.FileName)), 0, 0, BASS_UNICODE);
This only applied to OpenDialog with other directories, and if the file was in the working directory, it is enough to specify its name.
But
Code: [Select]
vstHandle: = BASS_VST_ChannelSetDSP (stream, 'name.dll', 0, 1); and
Code: [Select]
...(...,0,0); and
Code: [Select]
(stream, Pchar(UTF8ToUTF16('name.dll')), BASS_UNICODE, 1);  too = zero reaction to any VST.dll files

Falcosoft

  • Guest
Re: BASS_VST 2.4.0.6 - available for download
« Reply #151 on: 13 Nov '17 - 21:52 »
Hi,
Ok, I think this can be an import file problem. I have made a quick test project under Lazarus for Win64 and it works perfectly for me.
http://falcosoft.hu/miditest_vst.zip
I have used my custom Dynamic_Bassvst.pas import unit that I usually use in my own projects. It is included in the package. Also the bass_vst.dll is a custom one (v.2.4.0.10).
If you are interested in the source code of it you can find it in my downloadable MidiPlayer package(s):
http://falcosoft.hu/softwares.html#midiplayer

Vitaliy

  • Guest
Re: BASS_VST 2.4.0.6 - available for download
« Reply #152 on: 13 Nov '17 - 22:31 »
Hi,
Ok, I think this can be an import file problem. I have made a quick test project under Lazarus for Win64 and it works perfectly for me.
http://falcosoft.hu/miditest_vst.zip
I have used my custom Dynamic_Bassvst.pas import unit that I usually use in my own projects. It is included in the package. Also the bass_vst.dll is a custom one (v.2.4.0.10).
If you are interested in the source code of it you can find it in my downloadable MidiPlayer package(s):
http://falcosoft.hu/softwares.html#midiplayer

Your SimpleGainVST.dll is load and working in my project as is, without Dynamic_Bassvst.pas. Why?

Falcosoft

  • Guest
Re: BASS_VST 2.4.0.6 - available for download
« Reply #153 on: 13 Nov '17 - 22:50 »
Upload your vst dll somewhere, let me have a look at it.

Falcosoft

  • Guest
Re: BASS_VST 2.4.0.6 - available for download
« Reply #154 on: 13 Nov '17 - 23:52 »
Anyway I have not met any VST 2.x dll  so far that is not working with Bass_vst. You have said that no other dlls is working for you (but my 64 bit VST 2.4 dll).
So the chances are high that:
1. You are trying to load VST 3.x dlls that are not supported by Bass_vst.
2. You are trying to load VST Instruments (VSTi) as effects. VST Instrument plugins do not work with BASS_VST_ChannelSetDSP() but only with BASS_VST_ChannelCreate().
3. You are trying to load plugins with the wrong bitness (32/64 bit).

Vitaliy

  • Guest
Re: BASS_VST 2.4.0.6 - available for download
« Reply #155 on: 14 Nov '17 - 01:07 »
Upload your vst dll somewhere, let me have a look at it.

It is not VSTi
https://yadi.sk/d/XtVOGX863Pfrcy

Your SimpleGainVST.dll don't work with VST Host Dsp v1.1.6 for Winamp. Why?

Thank you for your help.

Vitaliy

  • Guest
Re: BASS_VST 2.4.0.6 - available for download
« Reply #156 on: 14 Nov '17 - 01:27 »
Upload your vst dll somewhere, let me have a look at it.

It is not VSTi
https://yadi.sk/d/XtVOGX863Pfrcy

Your SimpleGainVST.dll don't work with VST Host Dsp v1.1.6 for Winamp. Why?

Thank you for your help.
If Loudmax.dll is a VST3 plugin,
I have a plugin created in 2001, which I want to apply, but it also does not work in my project yet. It can not be VST3, then there is a chance.

Vitaliy

  • Guest
Re: BASS_VST 2.4.0.6 - available for download
« Reply #157 on: 14 Nov '17 - 01:31 »
Anyway I have not met any VST 2.x dll  so far that is not working with Bass_vst. You have said that no other dlls is working for you (but my 64 bit VST 2.4 dll).
So the chances are high that:
1. You are trying to load VST 3.x dlls that are not supported by Bass_vst.
2. You are trying to load VST Instruments (VSTi) as effects. VST Instrument plugins do not work with BASS_VST_ChannelSetDSP() but only with BASS_VST_ChannelCreate().
3. You are trying to load plugins with the wrong bitness (32/64 bit).

How do I load a plug-in with a conflict bitness? jBridge? Сan you help me with the code?

Falcosoft

  • Guest
Re: BASS_VST 2.4.0.6 - available for download
« Reply #158 on: 14 Nov '17 - 02:04 »
Hi,
1. The loudmax plugin you uploaded is the 32 bit version so that is the reason it is not working with your 64 bit Bass_Vst.dll.
In the LoudMax package there is a LoudMax64.dll. As the name suggests it is for 64 bit. Try this version with your project instead.
Hers's a video that demonstartes the Loudmax plugin works with Bass_vst (my program uses it for VST plugins).
https://www.youtube.com/watch?v=w8qfXEpifvI&t=6s

Quote
Your SimpleGainVST.dll don't work with VST Host Dsp v1.1.6 for Winamp. Why?
Because Winamp and the Vst Host DSP is 32 bit and the plugin I sent you is a 64 bit one. If I load the 32 bit version into Vst Host DSP 1.6, it works:


So all your problems are bitness mismatches.

Quote
How do I load a plug-in with a conflict bitness? jBridge? Сan you help me with the code?
I think the simplest solution would be if you built both a 32 and a 64 bit version of your program/host. Problem solved.



Vitaliy

  • Guest
Re: BASS_VST 2.4.0.6 - available for download
« Reply #159 on: 14 Nov '17 - 03:06 »
jbridge helped me by converting the VST plugin file into 64-bit, thank you all for your help.