Author Topic: bass_vst.dll steps  (Read 2901 times)

3delite

  • Posts: 926
bass_vst.dll steps
« on: 23 Jun '06 - 04:10 »
Hi!

Could somebody please write down the exact steps to use bass_vst.dll simply (in Delphi, but I only need the steps!)!? ::)

Thanx!
3delite

se

  • Posts: 22
Re: bass_vst.dll steps
« Reply #1 on: 27 Jun '06 - 12:25 »
Hi,

I'm using the bass_vst.dcu, not directly the bass_vst.dll.

- create a classical channel in bass
  chan := BASS_StreamCreateFile(False, pchar(s), 0, 0,  BASS_STREAM_AUTOFREE);

-     // assign a VST plugin DLL to the created channel
  vstHandle := BASS_VST_ChannelSetDSP(Chan, pchar(VSTDLLeffectFileName), 0, 0)

- when the dll plugin is assigned, you can show the DSP specific window
where effectform is a simple Delphi form used as a container
    BASS_VST_EmbedEditor(vsthandle, 0);
    if BASS_VST_EmbedEditor(vsthandle, EffectForm.handle) then

-  don't forget to remove the assignation
    BASS_VST_ChannelRemoveDSP(Chan, vstHandle);


hope it's help


SE

3delite

  • Posts: 926
Re: bass_vst.dll steps
« Reply #2 on: 27 Jun '06 - 19:11 »
Sure it is! Thanx!