charger un vst sans patcher
-
joffo78
- Member
- Posts: 1033
Bonjour à tous.
Dans l'idée d'exporter un workspace en standalone, je me demande si il n'y aurait pas une possibilité de charger un vst sans passer par le patching.
Je m'explique: en standalone on ne peut bien évidement pas patcher. Si j'exporte un workspace permettant de jouer avec des vsti,
comment pourrais je faire pour permettre à l'utilisateur de charger les vsti de son choix.
N'y aurait il pas une possibilité avec la fonction shell commande et un iml ?
Merci
Joffo
Dans l'idée d'exporter un workspace en standalone, je me demande si il n'y aurait pas une possibilité de charger un vst sans passer par le patching.
Je m'explique: en standalone on ne peut bien évidement pas patcher. Si j'exporte un workspace permettant de jouer avec des vsti,
comment pourrais je faire pour permettre à l'utilisateur de charger les vsti de son choix.
N'y aurait il pas une possibilité avec la fonction shell commande et un iml ?
Merci
Joffo
-
LevraiBernardo
- Site Admin
- Posts: 110
- Contact:
Ca me parait compliqué dans le sens où chaque VSTi a son propre jeu de "pins". Il faudrait avoir une sorte de tronc commun...
-
23fx23
- Member
- Posts: 2545
l'iml permet de créer n'importe quel module usine, incluant les vst
je n'ai pas trop le temps la mais regarde danss l'aide iml, il y a un listing de tout les id modules, et si je me souvient bien
la commande est quelque chose du genre:
CREATE_MODULE ID 'nameof vst.dll' X Y
et il y a un module VST 'allégé' a la fin de la liste
je n'ai pas trop le temps la mais regarde danss l'aide iml, il y a un listing de tout les id modules, et si je me souvient bien
la commande est quelque chose du genre:
CREATE_MODULE ID 'nameof vst.dll' X Y
et il y a un module VST 'allégé' a la fin de la liste
-
percuson
- Member
- Posts: 105
- Location: Leipzig, Germany
- Contact:
Bonjour Joffo!
Ton question était trop intéressante pour moi..... et après heures d'essayer...
Voila le patch:
download VST Loader
Ton question était trop intéressante pour moi..... et après heures d'essayer...
Voila le patch:
download VST Loader
-
joffo78
- Member
- Posts: 1033
Je ne comprends pas j'ai rajouté cette ligne:
Voici le script complet:
Normalement ça devrait fonctionner...SendInternalMsg('CREATE_LINK','midi in','in','VSTLoad','midi in');
Voici le script complet:
//////////////////////////////////////////////////////
// Script example
//////////////////////////////////////////////////////
//////////////////////////////////////////////////////
// Paramters declaration
//////////////////////////////////////////////////////
var VSTPath : Tparameter;
Var VSTtoLoad : String;
var create : Tparameter;
var delete : Tparameter;
var showVST : Tparameter;
var VSTcreated : Tparameter;
//////////////////////////////////////////////////////
// initialisation procedure
//////////////////////////////////////////////////////
procedure init;
begin
VSTPath := CreateParam('VSTPath',ptTextField); SetIsOutput(VSTPath,false);
create := CreateParam('create',ptButton); SetIsOutput(create,false); SetFastCallBack(create, false);
delete := CreateParam('delete',ptButton); SetIsOutput(delete,false); SetFastCallBack(delete, false);
showVST := CreateParam('showVST',ptButton); SetIsInput(showVST,false); SetFastCallBack(showVST, false);
end;
procedure callback (n:integer);
begin
if n = create then begin
if getValue(create) = 0 then begin
VSTtoLoad := GetStringValue(VSTPath); //GetVariableString('VST_TO_LOAD');
strace(VSTtoLoad);
SendInternalMsg('SET_TARGET_PATCH','SENDER_PATCH');
SendInternalMsg('DELETE_MODULE','VSTLoad');
SendInternalMsg('CREATE_MODULE','VSTLoad','184','300','200',VSTtoLoad);
SendInternalMsg('CREATE_LINK','bypass','bypass','VSTLoad','bypass');
SendInternalMsg('CREATE_LINK','show vst','show vst','VSTLoad','show vst');
SendInternalMsg('CREATE_LINK','midi in','in','VSTLoad','midi in');
SendInternalMsg('CREATE_LINK','VSTLoad','midi out','midi out','midi 1');
SendInternalMsg('CREATE_LINK','In L','1-L','VSTLoad','in 1');
SendInternalMsg('CREATE_LINK','In R','1-R','VSTLoad','in 2');
SendInternalMsg('CREATE_LINK','VSTLoad','out 1','Out l','1-L');
SendInternalMsg('CREATE_LINK','VSTLoad','out 2','Out R','1-R');
VSTcreated := 1;
end;
end;
if n = delete then begin
SendInternalMsg('DELETE_MODULE','VSTLOad');
end
end;
procedure process;
begin
if VSTcreated = 1 then
begin
setValue(showVst,1);
VSTcreated := 0;
end
else
begin
setValue(showVst,0);
end;
end;
-
percuson
- Member
- Posts: 105
- Location: Leipzig, Germany
- Contact:
Hi Joffo,
mon francais est trop mal pour comprendre...
If I understand right, you have problems when having the patch more than once.
Which ones? I tried with a few of "load vst" and only found a strange behaviour, when deleting...
But this was no problem to fix.... I'll upload later
mon francais est trop mal pour comprendre...
If I understand right, you have problems when having the patch more than once.
Which ones? I tried with a few of "load vst" and only found a strange behaviour, when deleting...
But this was no problem to fix.... I'll upload later
-
percuson
- Member
- Posts: 105
- Location: Leipzig, Germany
- Contact:
So I hope, all is fixed....
The main problem was the line
SendInternalMsg('SET_TARGET_PATCH','SENDER_PATCH');
it wasn't executed, when a VST was deleted.
And I tried to get a silent load (the old version always loaded unwanted VST, when creating the patch)
J'espère que le patch fonctionne bien à la fin...
download LoadVST
The main problem was the line
SendInternalMsg('SET_TARGET_PATCH','SENDER_PATCH');
it wasn't executed, when a VST was deleted.
And I tried to get a silent load (the old version always loaded unwanted VST, when creating the patch)
J'espère que le patch fonctionne bien à la fin...
download LoadVST
-
percuson
- Member
- Posts: 105
- Location: Leipzig, Germany
- Contact:
I don't know for shure.... I'm still learning the basics of IML.
I don't know how to call the sub patch, but I think this is also possible....
I don't know how to call the sub patch, but I think this is also possible....
-
percuson
- Member
- Posts: 105
- Location: Leipzig, Germany
- Contact:
... try the LOAD_PATCH command. Assigning wires should be the sames as with vst. The Problem will be, that there will be more different output names. If you modify all the patches in- and out-names, a "patch-load and wire" patch should work almost the same way.
-
percuson
- Member
- Posts: 105
- Location: Leipzig, Germany
- Contact:
... et aussi pour les germanophones 
I made a version for loading a patch:
download LoadPatch
The main problem when loading a patch this way is, that the inlets and outlets must have the correct names.
Try out with the "Dummy-Patch" inside the ZIP-file.
I made a version for loading a patch:
download LoadPatch
The main problem when loading a patch this way is, that the inlets and outlets must have the correct names.
Try out with the "Dummy-Patch" inside the ZIP-file.
