Welcome to %s forums

BrainModular Users Forum

Login Register

DMX fade color to color

I need help on a Patch
Post Reply
User avatar
parityflux
Member
Posts: 83
Location: Tucson, AZ USA
Contact:

Unread post by parityflux » 05 May 2015, 21:44

Does anyone have a patching strategy for making a fade from one set of RGB values to another? I do not want to use the grid for it. It would be great to have a button either feed or select the new set of values and have the patch go from the old values to the new ones at a set speed.

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 05 May 2015, 22:04

not sure it would do the job, but have you seen the new 'smooth' color module in latest 0.68 version, from what i undestand you could swittch instantaneously from a color to another and the smooth time will allow a smooth transition during that defined time.

otherwise there are plentys of ways to do. a manual 'mix" from one RVB or HSL arrays to the new one seems the most simple & modular to me . ie lets say you got a fader 'mix' going from 0 to 1 acting as a cross fader . (note you will not direclty crossfade colors as that wouldn't work,, but demultiplex them first to hsl or rvb componments using color modules, and crossfade to the wanted next set compnments. afaik that works with single colors as also with arrays to morph a complet set.

out Color =. ( firstColorH,S,L * (1-mix) ) + ( NextColorH,S,L * mix) // or RVB values, then you can bind your fader to a time ramp like lines or ramp trigged by a button.

also if i well remember it's possible to morph presets.

User avatar
parityflux
Member
Posts: 83
Location: Tucson, AZ USA
Contact:

Unread post by parityflux » 05 May 2015, 22:13

Wow 23fx23, thanks for some direction!

Morphing presets? That would be cool since I already have the color sets as presets in the light rack.

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 05 May 2015, 22:30

mm i maybe spoke too speed, i was pretty sure at some point there was a timed preset morph option but i can't find it back..mm maybe was just for vstz infact sorry i think by wayitng the 'smooth color' module would be the easiest way in ur case. if i assume correctly , if tou got already done presets and add a smooth color module that will do an adjustable timed crossface betwenn the 2 sets... im searching if i can finf back

User avatar
parityflux
Member
Posts: 83
Location: Tucson, AZ USA
Contact:

Unread post by parityflux » 05 May 2015, 23:15

Smooth Color works great, thanks! It's designed for RGBa, where the lower case 'a' is alpha, but not for RGBA (upper case 'A' being the color Amber, not terribly common, but some lights have White LEDs as well, another special case). Anyway I'm making it work for now, the Amber values simply switch right away.
-j

User avatar
parityflux
Member
Posts: 83
Location: Tucson, AZ USA
Contact:

Unread post by parityflux » 07 May 2015, 01:07

I think that a Universal Fader Morpher would be an awesome addition to the Library/Modules. Something like a cross between the Autofader fastscript (which is really nice) and the Smooth Color module. Maybe with sets of 2, 4, 6, 8, 12, 16, 32 fader options. I have no complaints about using the Smooth Color module at the moment, but if it was "universal" (i.e. you could have any number of float inputs) it would be terrific in many other unforetold scenarios. For lighting alone, one would be able to handle all kinds of fixtures (ones with white LEDs, or Amber LEDs, and the Dimmer function common on many units, x-y-z motors, etc.). I could also see it used on VST parameters as well, so when you switch presets, the morpher does your bidding on whatever parameters you have selected, and whatever rate you decide for the module.

-j

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 07 May 2015, 02:29

Yes thats a good idea. The only problematic thing is that inputs varies and for exemple colors cannot be handled as simple floats. But a user module could request via popup on build what type wanna use, then amount of i-o. Ill try to test this. Alternatively, it s quite relatively fast and easy to build such thing using a polyphonic patch actually, with the wanted nb of imputs easilly changed.

User avatar
parityflux
Member
Posts: 83
Location: Tucson, AZ USA
Contact:

Unread post by parityflux » 07 May 2015, 04:02

Yeah, I see what you mean about the color values, but I wasn't thinking that color flux would be involved. Color appears more suited to UI and other interesting musical things, seeing that it is implemented as RGBa. It may be a while before I can get into looking into polyphonic patch. I have a show tomorrow and have expended a huge amount of time on learning and set up in the past month. I owe my family some Dad time ;-) I now know the program really well, but module use and programming patches this way is still noob territory for me.

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 07 May 2015, 12:42

Hehe ur right give them dad time and enjoy the show^^
we ll see that later but no worry poly parch is very simple to catch and apply compared to scripting and stuff, u ll like it

Post Reply

Who is online

Users browsing this forum: No registered users and 77 guests