Delphi ASIO & VST sourceforge project

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

Christian Budde wrote:Have you looked here: http://svn.sourceforge.net/viewvc/delph ... st%20Core/ ?
Hi Christian,
shure, I told you that.
But, I wrote the problem: MiniHost does not start.
Allways the same problems.
Mad says:
main thread ($4c8):
00460a0d +019 MiniHost.exe Classes TList.Get
004b5112 +00a MiniHost.exe DVSTHost 997 +1 TVstPlugIns.GetItem
004c7088 +410 MiniHost.exe MiniHostForm 1396 +66 TFmMiniHost.Timer1Timer
004c9a18 +04c MiniHost.exe MiniHost 21 +4 initialization

Can you help ?
with best regards
Norbert

Post

Thank you Christian, this is great news! :D
I've previously used d7, but I do have my own key for 2005 Personal, so I decided to finally install and try it out.
But it fails to install the Wizard (VSTPlugin - it just dont show up, so I cannot compile it), and I belive it is a restricion in the Personal Edition... Can anyone help me out here - is there a workaround?
I've used Amnons82s D2k5PExmlrtlFake for getting the rest to compile!

- Toby's examples + template works fine, but this isnt exacly the same as the Wizard and the propertys.

EDIT: Noooooooooooooooooo!! Ignore me... (I even wont TELL what I did wrong... :nutter: ) - It works great Christian! :)
Last edited by TRN76 on Sat Oct 07, 2006 10:42 am, edited 1 time in total.
Image

Post

Christian Budde wrote:Have you looked here: http://svn.sourceforge.net/viewvc/delph ... st%20Core/ ?
Hello Christian,
You are right. All the missing files was in this folder.
I have download this. I have all older ASIO and VST components killed.
The new components I have compiled and installed.
The first program was VSTEditor
This program I have compiled and startet.
Nothing at all.
MAD means:

main thread ($d60):
004b3bfa +72 VSTEditor.exe DVSTHost 1120 +16 TVstPlugIn.Open
004b3b79 +09 VSTEditor.exe DVSTHost 1096 +1 TVstPlugIn.Activate
004bb8b9 +49 VSTEditor.exe EditorForm 71 +2 TFmVSTEditor.FormCreate
004bc370 +40 VSTEditor.exe VSTEditor 18 +3 initialization

A similar message comes, when I start MiniHost.
Have you any ideas ?

with best regards
Norbert

Post

Hmm ... have you changed paths/filenames given in original code?

Juha

Post

juha_p wrote:Hmm ... have you changed paths/filenames given in original code?

Juha
Hi,
shure. As entry is here only the path to the source folder.

Is anybody here who can send me a compiled version of
MiniHost ?

with best regards
Norbert

Post

I meaned this line in procedure TFmVSTEditor.FormCreate(Sender: TObject) :

VstHost[0].DLLFileName:='SineSynth.DLL';

I just looked the source code and IMO (though, never used delphi) the program tries to load mentioned plug-in and show it's properties --> if you don't have this plug-in, wouldn't you start getting errors like you see now?

Juha

Post

juha_p wrote:I meaned this line in procedure TFmVSTEditor.FormCreate(Sender: TObject) :

VstHost[0].DLLFileName:='SineSynth.DLL';

I just looked the source code and IMO (though, never used delphi) the program tries to load mentioned plug-in and show it's properties --> if you don't have this plug-in, wouldn't you start getting errors like you see now?

Juha
Hi,
thanks for answer.
I have changed this line to:
VstHost[0].DLLFileName:='';
MAD means now:
main thread ($d10):
0040591c +014 VSTEditor.exe System DynArraySetLength
004bd144 +038 VSTEditor.exe EditorForm 139 +2 TFmVSTEditor.ASIOHostReset
004bc5b2 +216 VSTEditor.exe EditorSetup 71 +21 TFmSetup.CBDriversChange
004bd654 +064 VSTEditor.exe VSTEditor 20 +5 initialization


with best regards
Norbert

Post

I suppose, you need to have some plugin set to be loaded as default (in this code) or you need to change the code the way it skips this section if no plugins is meant to be load.

Try by adding available plugin into ststement you edided ;

VstHost[0].DLLFileName:='';

Juha

Post

Hi Christian,
Thanks for sharing this code with us, :)
"BeroASIO.pas" now allows me to get rid of "OpenASIO.dll" in my own little host ... :D

Post

juha_p wrote:I suppose, you need to have some plugin set to be loaded as default (in this code) or you need to change the code the way it skips this section if no plugins is meant to be load.

Try by adding available plugin into ststement you edided ;

VstHost[0].DLLFileName:='';

Juha
Hi,
thanks for patient.
I have changed to:
VstHost[0].DLLFileName:='c:\programme\vstplugins\vstplugins\B4 II.dll';

After start I see the B4 II. But now another message
comes:

004b4466 +03a VSTEditor.exe DVSTHost 1207 +2 TVstPlugIn.ProcessReplacing
004bd0d4 +060 VSTEditor.exe EditorForm 134 +1 TFmVSTEditor.ASIOHostBufferSwitch
004bb817 +44f VSTEditor.exe DASIOHost 1128 +48 TASIOHost.BufferSwitchTimeInfo
004bb3b9 +075 VSTEditor.exe DASIOHost 1072 +7 TASIOHost.BufferSwitch
004bbb3d +015 VSTEditor.exe DASIOHost 1209 +1 TASIOHost.PMBufferSwitch
004b9c12 +032 VSTEditor.exe DASIOHost 542 +7 ASIOBufferSwitch

I cannot understand this.
I have programmed now over 1 year with the old code.
I had rarely problems.
And now, with the new code, I cannot start any program.
I am very unhappy.

with best regards
Norbert











[/code]

Post

I can't say much since I don't know the source well enough but, have you checked if there are some changes made in those DASIOHost.pas and DVSTHost.pas modules. I suppose the procedure TFmVSTEditor.ASIOHostBufferSwitch in EditorForm.pas or some ASIO buffer init/value is maybe the culprit for your errors.

Juha

Post

Norbert Stellberg wrote: thanks for patient.
I have changed to:
VstHost[0].DLLFileName:='c:\programme\vstplugins\vstplugins\B4 II.dll';

After start I see the B4 II. But now another message
comes:

004b4466 +03a VSTEditor.exe DVSTHost 1207 +2 TVstPlugIn.ProcessReplacing
004bd0d4 +060 VSTEditor.exe EditorForm 134 +1 TFmVSTEditor.ASIOHostBufferSwitch
004bb817 +44f VSTEditor.exe DASIOHost 1128 +48 TASIOHost.BufferSwitchTimeInfo
004bb3b9 +075 VSTEditor.exe DASIOHost 1072 +7 TASIOHost.BufferSwitch
004bbb3d +015 VSTEditor.exe DASIOHost 1209 +1 TASIOHost.PMBufferSwitch
004b9c12 +032 VSTEditor.exe DASIOHost 542 +7 ASIOBufferSwitch

I cannot understand this.
I have programmed now over 1 year with the old code.
I had rarely problems.
And now, with the new code, I cannot start any program.
I am very unhappy.

with best regards
Norbert
I can only guess here, but I think there are still some wrong references somewhere (the old code should be uninstalled to be sure, e.g. the newer units should be in the library part to be aware that the new and old code get mixed up)

Btw. what Delphi version are you using? Normally it is possible to set breakpoints to debug the program and to find out, what line is causing the bug. That would be nice for the community as well, so that others don't run into the same problems.

Alternatively you can wait for the next 'official' release rather then the SVN version. For example I will complete the sine synth example to compile directly out of the box. That example will also demonstrate how to code a simple synth. If I find some time I will also provide a simple sampler plugin.

You can still use the old version if it works for you, but you won't profit of all the new benefits.

Christian

Post

Christian Budde wrote:
Norbert Stellberg wrote:
Alternatively you can wait for the next 'official' release rather then the SVN version. For example I will complete the sine synth example to compile directly out of the box. That example will also demonstrate how to code a simple synth. If I find some time I will also provide a simple sampler plugin.

You can still use the old version if it works for you, but you won't profit of all the new benefits.

Christian
Hello Christian,
At first: I am shure, there ist not mixed code.
I have zipped the old code and the files deleted.
I have deleted the old BPL files.
The new version has a separate folder. The project has only 1 entry for search path.
Therefore, I think, it is ok.
I use Delphi 7.
-
Now I had considered, what is the different between the old and the new version.
And I found 1 different:
Sorry, in my compiler the name is "Ausrichtung von Recordfeldern"
In my programs it was "1", in the program MiniHost it was
"8". I have now change it to "8" and the most problems are solved. I can load any plugins and I can made setups
in the editor.
But any plugins does not work: B4 II, and
Steinberg Grand Piano. Here comes allways error messages.
-
A L L plugins are muted. I cannot hear any sound.
The volume is 100 for both, for volume overall and volume
plugin.
-
I think, this little mistakes we will find, too.

with best regards
Norbert

Post

Muted?
Is the ASIO driver loaded (/in use) at all?
Are you using OpenASIO.pas (openASIO.dll) or BeroASIO.pas component?

Juha

Post

juha_p wrote:Muted?
Is the ASIO driver loaded (/in use) at all?
Are you using OpenASIO.pas (openASIO.dll) or BeroASIO.pas component?
Juha
Hi,
sorry, I don't understand, what you mean. I have compiled
MiniHost without any changes.
I am wondering, at the last versions allways was a
file OpenAsio.dll in the download list. Now I missing this file.
What I must do ?

with best regards
Norbert

Post Reply

Return to “DSP and Plugin Development”