Question about chan...
 
Notifications
Clear all

Question about channelValues passed to Event function

4 Posts
3 Users
0 Reactions
2,564 Views
Posts: 1
Topic starter
(@stubbie)
New Member
Joined: 18 years ago
[#3295]

I've seen the Parallel12 example code and I've read the sparse Vixen SDK, but I'm confused on what is actually being sent to the to Vixen Event function.

I see that it is an array of bytes, is it one byte per channel? Does the actual byte represent a 255 level dimming number or how is dimming handled?

Thanks


3 Replies
Posts: 14
(@dman776)
Active Member
Joined: 19 years ago

yeah. are the "shimmer" effects just quickly passing level values??


Reply
A Marchini
Posts: 426
(@a-marchini)
Reputable Member
Joined: 19 years ago
dman776 wrote:yeah. are the "shimmer" effects just quickly passing level values??

As of my last look yes, the values passed to the event are arrays of each channel passed in in bulk.
I am not sure but I think each "plugin" can be assigned its own range of channels, and will be given that range at each event.

Effects are literally quickly passing levels.

There has been some talk about encoding the levels to mean certain behaviors, and this can be done on a plugin by plugin basis (level 251 is shimmer, 252 is sparkel) however the software doesn't currently have a "grid effect font" for overlaying on the grid, so all that would be displayed on the screen would be fixed levels, with no indication of what the underlying effect would be without looking at the channel level directly.
Currently there are no DIY designs with built in intelligence (hmm... actually not too sure on this point) that would accept one "level" value and initiate the effect on their own.

This works fine under most circumstances, however I imagine at larger and larger channel counts , having the effects passed in as a value may prove to be valuable.

On the opposite side, most people are using the DMX platform which lends itself to continuous streams of updating data.

Some of my comments may be out of date.
Tony


Reply
A Marchini
Posts: 426
(@a-marchini)
Reputable Member
Joined: 19 years ago
Stubbie wrote:I've seen the Parallel12 example code and I've read the sparse Vixen SDK, but I'm confused on what is actually being sent to the to Vixen Event function.

I see that it is an array of bytes, is it one byte per channel? Does the actual byte represent a 255 level dimming number or how is dimming handled?

Thanks

Just to make sure I understand your question I will state the following. In the case of the Parallel12 example code, each channel is a value from 0 to 255 , however, this particular plug-in target is On/off so there is no dimming going on. The 12 passed in channels are simply tested for being zero or non-zero and set accordingly.

In the case of the say a DMX plug-in, the array of values are repackaged as a DMX Stream of data and sent out a serial port.


Reply
Share: