Dynamic preset lists
-
woodslanding
- Member
- Posts: 1327
- Contact:
I think I asked for this a long time ago, but I thought I'd put it on the radar again.
When I drag a combobox from the PROGRAM input on a VST module, it is populated with the preset names. It would be nice to be able to get these names as commatext to drive a combobox or what have you.
As it is, every time I add or remove presets, I have to drag a dummy combobox from the presets input, copy its contents, clear the contents of my real combo, paste the new text in, and delete the dummy.... discourages me from adding presets very often.
Not sure what data is on this output--usine generally just sees a PCH number. But maybe there is a way to make this output do double duty as a commatext output somehow? Otherwise, I guess you'd just need an actual commatext PROGRAMS output. But maybe this is not a compatibility problem, since the PARAMS in/out has recently been added?
Or maybe there's a way to get this data via IML, since there is a template that does it????
[edit]
Okay, looks like it's not just a simple template, so I don't know how to look into it further..... maybe this is behind-the-scenes magic?
-e
When I drag a combobox from the PROGRAM input on a VST module, it is populated with the preset names. It would be nice to be able to get these names as commatext to drive a combobox or what have you.
As it is, every time I add or remove presets, I have to drag a dummy combobox from the presets input, copy its contents, clear the contents of my real combo, paste the new text in, and delete the dummy.... discourages me from adding presets very often.
Not sure what data is on this output--usine generally just sees a PCH number. But maybe there is a way to make this output do double duty as a commatext output somehow? Otherwise, I guess you'd just need an actual commatext PROGRAMS output. But maybe this is not a compatibility problem, since the PARAMS in/out has recently been added?
Or maybe there's a way to get this data via IML, since there is a template that does it????
[edit]
Okay, looks like it's not just a simple template, so I don't know how to look into it further..... maybe this is behind-the-scenes magic?
-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
thanx for this post. i always was wondering why i am not able to make some kind of "loop" from out to in to make it refresh the list. so: lots of ctrl+A ctrl+x ctrl+a ctrl+v ...
thinkpad t61, xp 32bit, 2gig ram, rme multiface // acer timelinex 3820t, win7 64bit, 4gig ram, NI komplete audio 6 // reaktor, battery, nuendo // roland hpd15
maybe something could be done via iml if GET_COMMATEXT would be implemented?
actually SET_COMMATEXT works, but in this case would need to get..
actually SET_COMMATEXT works, but in this case would need to get..
-
woodslanding
- Member
- Posts: 1327
- Contact:
Set commatext?? So you can rename VST presets from within usine?? That's useful!
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
Yes this can be done with a Script/IML. A job for 23fx? 
Olivier Sens
www.brainmodular.com
www.brainmodular.com
yes, but unfortunately the GET_COMMATEXT seems not activated in IML. while SET_COMMATEXT does work no??
we could certainly set the list, but we would need to get it first. any chance to make GET possible?
A job for senso?
we could certainly set the list, but we would need to get it first. any chance to make GET possible?
A job for senso?
the GET_COMMATEXT is now implemented (5.50.58 and above).
is it faster enough?
But by definition works only with list/comoboxes, Typically the 'program' parameter of a vst.GET_COMMATEXT modulename terminalname destvariable
Get the values of a listbox items and store it in destvariable. A comma text is a list of possible values separated by commas.
GET_COMMATEXT Listbox1 list value
is it faster enough?
Olivier Sens
www.brainmodular.com
www.brainmodular.com
-
woodslanding
- Member
- Posts: 1327
- Contact:
awesome!
anybody have an example pat to post??
anybody have an example pat to post??
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
we have to wait next build do get,
but if you create a combobox, name it ie 'COMBO' then if sending IML message:
SET_COMMATEXT COMBO listinputname 'a,b,c,d' (list input name is not the comma, it's the list pin)
then with get later we will be able to do stuff like :
GET_COMMATEXT MYCOMBO listinput COMMATEMP
SET_COMMATEXT MYVST program COMMATEMP to copy a listcomma to pgm list of vst
or in your cases you will be able to refresh the list when pgm changed:
GET_COMMATEXT MYVST program COMMATEMP
SET_COMMATEXT MYCOMBO listinput COMMATEMP, or
SET_STRING_VALUE MYCOMBO 'comma text' COMMATEMP
but if you create a combobox, name it ie 'COMBO' then if sending IML message:
SET_COMMATEXT COMBO listinputname 'a,b,c,d' (list input name is not the comma, it's the list pin)
then with get later we will be able to do stuff like :
GET_COMMATEXT MYCOMBO listinput COMMATEMP
SET_COMMATEXT MYVST program COMMATEMP to copy a listcomma to pgm list of vst
or in your cases you will be able to refresh the list when pgm changed:
GET_COMMATEXT MYVST program COMMATEMP
SET_COMMATEXT MYCOMBO listinput COMMATEMP, or
SET_STRING_VALUE MYCOMBO 'comma text' COMMATEMP
-
woodslanding
- Member
- Posts: 1327
- Contact:
Thanks, I'm looking forward to trying this out!
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:
I am close to getting this working. I seem to be getting the program text okay, but I'm not succeeding in writing it to the combo.
I just get the literal string value for the variable COMMATEMP
http://www.sensomusic.com/forums/upload ... matext.pat
help?
thanks!
-e
I just get the literal string value for the variable COMMATEMP
http://www.sensomusic.com/forums/upload ... matext.pat
help?
thanks!
-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
mm i fail too, the set seems to work, the get work and display the list when tracing,
but the variable seems not a string but 'evt' type and can't get it pass from get to set.
maybe there is something to do with quotes or i don't know...
any idea olivier?
but the variable seems not a string but 'evt' type and can't get it pass from get to set.
maybe there is something to do with quotes or i don't know...
any idea olivier?
-
woodslanding
- Member
- Posts: 1327
- Contact:
Do you need to escape the quotes? I don't know how to do that for IML....
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
ok I understand,
actually to set the value of a listbox from a vst program list you must enter :
it's a "set_value" instead of 'set_sommatext".
But in the next version, a more friendly syntax will be allowed:
It mean a compatibility between strings and events inside the IML
actually to set the value of a listbox from a vst program list you must enter :
Code: Select all
get_commatext VST program st
set_Value LB "comma text" stBut in the next version, a more friendly syntax will be allowed:
Code: Select all
get_commatextVST program st
set_commatext LB list stOlivier Sens
www.brainmodular.com
www.brainmodular.com
ah ok, didn't thout about using set value. cool thanks olivier!
-
woodslanding
- Member
- Posts: 1327
- Contact:
I get this:
process msg : SetValue PROGRAMS "comma text" TEMP
Invalid internal message : SetValue PROGRAMS "comma text" TEMP
process msg : SetValue PROGRAMS "comma text" TEMP
Invalid internal message : SetValue PROGRAMS "comma text" TEMP
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
oops it's
with underscore...
Code: Select all
set_Value
Set_Value PROGRAMS "comma text" TEMPOlivier Sens
www.brainmodular.com
www.brainmodular.com
-
woodslanding
- Member
- Posts: 1327
- Contact:
now I get:
process msg : SET_VALUE PROGRAMS "comma text" COMMATEMP
Var not found :"comma text"
Can't Set Value : PROGRAMS "comma text" COMMATEMP
process msg : SET_VALUE PROGRAMS "comma text" COMMATEMP
Var not found :"comma text"
Can't Set Value : PROGRAMS "comma text" COMMATEMP
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:
okay, there are not supposed to be quotes around comma text.
works now!
works now!
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
Who is online
Users browsing this forum: No registered users and 56 guests
