Welcome to %s forums

BrainModular Users Forum

Login Register

Set Layout Color

I need help on a Patch
Post Reply
User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 10 Aug 2011, 17:46

After few requests here is a small patch to show how to change dynamically the layout colors of a XY pad
It's a draft but can be adapted easily to all controls
Use NO CPU!! and no script!!!

http://www.sensomusic.com/forums/upload ... 0Color.pat

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 10 Aug 2011, 18:17

Whaoo, cool one !

Floego
Member
Posts: 319
Location: Venezuela
Contact:

Unread post by Floego » 10 Aug 2011, 18:22

Smart solution! :)

User avatar
GDLive
Member
Posts: 133
Location: Landes / Sud Ouest / France
Contact:

Unread post by GDLive » 10 Aug 2011, 19:33

Thanks a lot !
:)

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 10 Aug 2011, 19:44

sorry but in what consist your example ?
i open the patch and nothing happend.
what it's the function ?

User avatar
GDLive
Member
Posts: 133
Location: Landes / Sud Ouest / France
Contact:

Unread post by GDLive » 10 Aug 2011, 19:51

Normally, you can change the caption color with the sub patch "set color" (no caption in the example => switch to prm to the ball for ex.)

nb : The patch has to be active on usine's engine on

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 10 Aug 2011, 19:53

Awesome--this is such a great method!!! Easy, fast and flexible.

Is there a list of IML commands that can be applied to controls somewhere? Specifically, I'm wondering about loading bmps....

I'll look in the WiKi
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 » 10 Aug 2011, 20:16

I checked, and it looks like I may be able to load BMPs this way, but I have another question:

Will it be possible to use this technique in a poly patch? I have a patch that uses identical controls, but I'd like different BMPs for some switches.

Is there a way to rename the controls for each voice? Right now it seems like they would all have the same name, and therefore all receive the same IML.
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 » 10 Aug 2011, 23:54

Okay, I've tried to change the BMP, but there are too many questions!

What is the file delimiter--I can't find that in the WIKI. And when I put the filename in single-quotes, the last one disappears. When I use double quotes they both disappear.... and the property is in double-quotes in the wiki but single quotes in the example. And the example adds a single-quote at the end--so I'm not clear what's being displayed, versus what's actually in the strings...

Plus I have a feeling it's not going to work anyway, because the text in the field doesn't display the whole file path?

Also, is there a default directory that usine looks for files in?

If it's possible to do this, it would be great.

thanks!
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 11 Aug 2011, 12:42

All the layout numerical values can be set with this patch.
But unfortunately not strings (like bitmap file names, etc..)
Sorry but I'm not sure I'll have time to enable this possibility soon.

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 11 Aug 2011, 18:41

oh well. It would have solved my prob which required invisible controls.... the best solution, in fact ;)

but you have said someday you will have all controls' properties addressable from patching? I'll have to wait until then, I guess.
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

multiphone
Member
Posts: 303
Contact:

Unread post by multiphone » 11 Aug 2011, 20:13

Brillant !

Thanks Olivier !

H.
HB

Lines / Points / Squares

http://www.hervebirolini.com/

Post Reply

Who is online

Users browsing this forum: No registered users and 71 guests