All times are UTC+02:00

Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Mar 01, 2022 6:39 pm 

Joined: Tue Feb 01, 2022 5:13 pm
Posts: 3
StereoTool works very well as a VST with Bass library included into a Purebasic program.
Procedure Son_ouvrir_vst()
gParametres\IceCastVst = "C:\Users\Dell\Documents\Stereotool\vst_stereo_tool_64.dll"

  gParametres\FDSP  = BASS_VST_ChannelSetDSP(gParametres\Channel_cast, gParametres\IceCastVst, #BASS_Unicode, 0);
  BASS_VST_EmbedEditor(gParametres\FDSP, WindowID(Window_vst))
  If IsWindow (Window_vst)
    HideWindow (Window_vst, #True)
  Ajouter_au_log ("Bass : Vst chargé.",#LOG_NORMAL)
But how to load our webradio preset too (with BASS_VST) ?

Many Thanks !

PostPosted: Wed Mar 02, 2022 9:38 pm 

Joined: Tue Feb 01, 2022 5:13 pm
Posts: 3
if someone have an idea from this... ... babccf.htm

PostPosted: Sat Mar 12, 2022 12:09 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 10453
For VST2: Loading presets will have to be done by filling all the parameters. There are about 8000 of them and you'll have to set all of them. (You can also fetch them from Stereo Tool, so the best way is to load the preset in Stereo Tool and then get all the parameter values from it. Certain settings (such as RDS texts) cannot be set in this way and require another calling mechanism.

For VST3: You can send all the settings as a binary blob, I'm not really sure though what the format of this is. (As far as Stereo Tool is concerned it's the full contents of a .sts or .ini file - and you can also read it from Stereo Tool just like with the VST2).

Alternatively, if you only need to talk to Stereo Tool and not to other plugins, we have our own plugin format that makes things a lot easier - it has a "load" function to load settings from a file. You can find the SDK and a whole bunch of binaries (Windows, Linux, Pi, Mac, even iOS) here - the .h file contains some example code: ...

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+02:00

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited