Autopopulate program combo for vst
-
woodslanding
- Member
- Posts: 1327
- Contact:
I think there was a discussion of this a while back, but I couldn't track it down.
WIth the current setup in usine, you can drag a combo box from the program input from a vst and it will populate the combobox with the program list.
But that data does not seem to be available any other way. We have an output for parameter names, but not one for program names.
When I start up usine, I'd like it to automatically get the list of programs from the VST and populate my combo with it automatically. So when I write new programs for my synths, I don't have to go and either update the combo comma text, or drag a new combo from the program input, and paste that data in.
Can this information be gotten through IML? I'm thinking you could tell IML ON INIT to create the link and combobox, copy the commatext from it, put it where you need it and delete the (now unnecessary, in fact dangerous if you forget to delete it!) combobox afterwards.
Do you think this is possible? Any IML gurus out there that could explain how??
It would be so nice to create new programs in my VSTs, and know that I can access them from my WKP without further hassle.....
Thanks,
-eric
WIth the current setup in usine, you can drag a combo box from the program input from a vst and it will populate the combobox with the program list.
But that data does not seem to be available any other way. We have an output for parameter names, but not one for program names.
When I start up usine, I'd like it to automatically get the list of programs from the VST and populate my combo with it automatically. So when I write new programs for my synths, I don't have to go and either update the combo comma text, or drag a new combo from the program input, and paste that data in.
Can this information be gotten through IML? I'm thinking you could tell IML ON INIT to create the link and combobox, copy the commatext from it, put it where you need it and delete the (now unnecessary, in fact dangerous if you forget to delete it!) combobox afterwards.
Do you think this is possible? Any IML gurus out there that could explain how??
It would be so nice to create new programs in my VSTs, and know that I can access them from my WKP without further hassle.....
Thanks,
-eric
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
This actually works..:
[c]SET_TARGET_PATCH SENDER_PATCH
GET_COMMATEXT VST_NAME program prg_list
SET_COMMATEXT CBOX_NAME 1 prg_list
[/c]
Put it inside a UsineMsg module. You obviously have to change CBOX_NAME and VST_NAME to something useful for you, and I can't guarantee that it will work for every VST out there. Using the terminal number 1 instead of a caption name (list, program, whatever...) makes it a bit more generic.
I just tested this by erasing some random part of the list in the combo box while it was still connected, and also tried saving a new preset in the VST. In both cases the combo box list was updated ok after using the above IML.
I can't really say I'm much of an IML expert, but I've found out that it's really instructive to have a look at the console while patching. In this case, I found out that the comma text was to be treated as an attribute of the program outlet, and also as an attribute of terminal 1 on the combo box, and not the "comma text" inlet, which was the first I had thought of trying.
[c]SET_TARGET_PATCH SENDER_PATCH
GET_COMMATEXT VST_NAME program prg_list
SET_COMMATEXT CBOX_NAME 1 prg_list
[/c]
Put it inside a UsineMsg module. You obviously have to change CBOX_NAME and VST_NAME to something useful for you, and I can't guarantee that it will work for every VST out there. Using the terminal number 1 instead of a caption name (list, program, whatever...) makes it a bit more generic.
I just tested this by erasing some random part of the list in the combo box while it was still connected, and also tried saving a new preset in the VST. In both cases the combo box list was updated ok after using the above IML.
I can't really say I'm much of an IML expert, but I've found out that it's really instructive to have a look at the console while patching. In this case, I found out that the comma text was to be treated as an attribute of the program outlet, and also as an attribute of terminal 1 on the combo box, and not the "comma text" inlet, which was the first I had thought of trying.
Bjørn S
cool one Bsork and useful, just test with Oatmeal and change of Bank are correctly update
only thing strange is that program outlet don't send change so i use the array outlet to a has change to trigger the send message module
only thing strange is that program outlet don't send change so i use the array outlet to a has change to trigger the send message module
Well, I just tested by clicking directly on the send message. In most situations it's better to automate the update like you do, of course.
Bjørn S
-
woodslanding
- Member
- Posts: 1327
- Contact:
Guys, this is awesome. It kind of seems like magic, although I also think it should be a default behavior 
For the VSTs that support it, it is going to do a LOT to encourage doing more sound design.....
cheers!
-e
For the VSTs that support it, it is going to do a LOT to encourage doing more sound design.....
cheers!
-e
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
-
woodslanding
- Member
- Posts: 1327
- Contact:
hmmm, not working for me here. As soon as I turn on usine, the list of programs is replaced with a single one called 'initial sound'.....
EDIT: never mind, user error!
EDIT: never mind, user error!
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
i am at the same problem now. automate update a list box after alter a preset in a vst, (not combo box).
but i am a bit dyslexia, so this mostly ends up in a steaming brain and lots of confusion.
i dont even know how to connect the moon box patch to my reaktor :rolleyes: ...
and on top of it i would like the listbox to follow if i select a preset direct in a vst.
and the list box should show the selection, if its out of the visible aerea of the list box.
is this possible?
i would be grateful for any help on this!
but i am a bit dyslexia, so this mostly ends up in a steaming brain and lots of confusion.
i dont even know how to connect the moon box patch to my reaktor :rolleyes: ...
and on top of it i would like the listbox to follow if i select a preset direct in a vst.
and the list box should show the selection, if its out of the visible aerea of the list box.
is this possible?
i would be grateful for any help on this!
thinkpad t61, xp 32bit, 2gig ram, rme multiface // acer timelinex 3820t, win7 64bit, 4gig ram, NI komplete audio 6 // reaktor, battery, nuendo // roland hpd15
remember Reaktor is not a classic VST, but a mini VST host, so i suppose you have to create a program midi out inside your Reaktor Ensemble, this way you can use a midi unpack module for example to send a feedback of your change in your listbox..?
to create a moon box, just drag a wire from your program inlet and choose moonbox..?
to create a moon box, just drag a wire from your program inlet and choose moonbox..?
ahem, of cause draging a wire creates a moonbox/listbox ... bad describtion, sorry
the midi idea would work, but i would have to copy/paste after every preset name change to keep the list updated.
its about the reading/updating list text thing. could not get the above link (moonbox combo) to work.
i want the listbox to be "auto synced" with the vst´s programm list, so altering one reflects in the other one.
goal: renaming/recalling a preset in the vst makes the list box do the same.
and auto scroll the selected entry into the visible area of the list box.
the midi idea would work, but i would have to copy/paste after every preset name change to keep the list updated.
its about the reading/updating list text thing. could not get the above link (moonbox combo) to work.
i want the listbox to be "auto synced" with the vst´s programm list, so altering one reflects in the other one.
goal: renaming/recalling a preset in the vst makes the list box do the same.
and auto scroll the selected entry into the visible area of the list box.
thinkpad t61, xp 32bit, 2gig ram, rme multiface // acer timelinex 3820t, win7 64bit, 4gig ram, NI komplete audio 6 // reaktor, battery, nuendo // roland hpd15
ok, so not really possible actually ,
to update the list you have to delete/recreate the listbox
and the list box can't ( as far i know) move to the selected item
to update the list you have to delete/recreate the listbox
and the list box can't ( as far i know) move to the selected item
Who is online
Users browsing this forum: No registered users and 89 guests
