Welcome to %s forums

BrainModular Users Forum

Login Register

Changing patch names dynamically.

I need help on a Patch
Post Reply
moody33
Member
Posts: 338
Contact:

Unread post by moody33 » 11 May 2009, 15:07

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.

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 11 May 2009, 18:11

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 :

Image

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
Martin FLEURENT - Usine Developer - SDK maintainer

moody33
Member
Posts: 338
Contact:

Unread post by moody33 » 11 May 2009, 18:53

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 !

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 11 May 2009, 19:27

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!
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 13 May 2009, 01:18

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......
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 13 May 2009, 01:57

hi woodslanding,

what do you mean by 'patch name object' ? and what input precisely ?

any picture to enlighten us ?
Martin FLEURENT - Usine Developer - SDK maintainer

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 13 May 2009, 22:45

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
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 14 May 2009, 19:19

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
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 15 May 2009, 00:45

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
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

Post Reply

Who is online

Users browsing this forum: No registered users and 51 guests