Page 1 of 1
Posted: 11 May 2009, 15:07
by moody33
Hi all.
Is there's a way to change patch names dynamically?
I need this because i use a sampler that save random name . so the first letters used are for those files are the patch name. then if I want to name a file before recording, I need to change the patch name!
there is probably a way to do this but I'm confused with ILM. anyone have an idea?
Thanks you.
Posted: 11 May 2009, 18:11
by martignasse
Hi moody33,
I made some test and found at least one way to do this
the IML, assuming the UsineMessage module is in the same patch as your sampler and the sampler is named BASS :
Usine seems to graphicly refresh the name of the module when you click in the patch area.
but in a complex workspace, it could be trick to set the TARGET_PATCH
Hope it help
Posted: 11 May 2009, 18:53
by moody33
awesome !
Thanks you martignasse. My needs was only to change the name of the patch, so I'va change the last argument and it works like a charm !
SET_TARGET_PATCH SENDER_PATCH
RENAME_PATCH "MARTIGNASSE ROCKS"
I was afraid about IML, and finally, it seems to be simple. I'll take a deeply look in ILM now. Thanks you !
Posted: 11 May 2009, 19:27
by woodslanding
Would there be a way to get the output of a particular module in the preset and have that automatically become the preset's name? I could use that!
Posted: 13 May 2009, 01:18
by woodslanding
I tried just using the 'patch name' object, and cabling to its input, but it looks like it doesn't like to take an input......
Posted: 13 May 2009, 01:57
by martignasse
hi woodslanding,
what do you mean by 'patch name object' ? and what input precisely ?
any picture to enlighten us ?
Posted: 13 May 2009, 22:45
by woodslanding
I don't have the pic thing down, but I used:
Interface control ->Usine Panels -> Current Patch Name
and double-clicked it so it shows a text input (it's apparently not active, though) and cabled to that input from the text out on a combo box. The combobox is fed from a commatext of the names of all the instruments, and that name is used to dynamically change all the outputs and sends in the patch. If it could change the name, that's one less thing I have to do manually each time I add an instrument.
-e
Posted: 14 May 2009, 19:19
by woodslanding
Seems like all I need is the syntax for accessing the data input to the message module.
Anybody know that syntax? Or if this will work??
or is there really an input to the message module at all?
thanks,
-e
Posted: 15 May 2009, 00:45
by woodslanding
okay, I am able to change the patch name, (cool!) but can't figure out how to get the output value of a module. How do you refer to an existing module? There are lots of tips about creating and naming modules, but I can't figure out a syntax that works for getting a value from an existing module output.
And then it seems like I need to store that value in a variable, which I can set the name to.
This is the kind of thing I've been experimenting with, but it's not working. I'm trying to get the value of the text output of a combobox called 'instrument'.
SET_TARGET_PATCH SENDER_PATCH
GET_VALUE Instrument text inst
RENAME_PATCH inst
Thoughts??
Thanks,
-eric