RGB Gradient Editor Util for Vixen

Discussion in 'Sequencers & Software Tools' started by BradsXmasLights, Sep 19, 2011.

  1. BradsXmasLights

    BradsXmasLights WiFi Interactive

    Joined:
    Dec 23, 2010
    Messages:
    499
    Likes Received:
    4
    Location:
    Brisbane, Australia
    Find Me On:
    I'm currently programming a RGB gradient editor utility that can export to Vixen 2 file format. Attached is an intial screen capture.

    This is work in progress still, but my two goals at this stage is to be able to...
    a) create basic RGB gradients/frades using an internal editor
    b) import images & sample a row of pixels colours horizontally so they can be mapped to RGB channel data. This way you can use photoshop (or whatever) to create any fancy RGB gradient pattern, then convert it to RGB channel data.

    Export functionality should have a timeline ability so the gradient can appear to scroll through an RGB pixel string.

    Hopefully I will have a beta ready soon if there is interest.
     

    Attached Files:

  2. ebrady

    ebrady New Elf

    Joined:
    Dec 26, 2010
    Messages:
    21
    Likes Received:
    0
    Location:
    Delaware, OH
    Nice! This will be a useful, and needed, tool.
     
  3. David_AVD

    David_AVD Good news, everyone!

    Joined:
    Jun 12, 2010
    Messages:
    3,340
    Likes Received:
    22
    Location:
    Victoria Point (Brisbane)
    Nice. Out of curiosity, what's it written in?
     
  4. fasteddy

    fasteddy I have C.L.A.P Global Moderator Generous Elf

    Joined:
    Apr 26, 2010
    Messages:
    6,471
    Likes Received:
    16
    Location:
    Albion Park NSW
    Find Me On:
    Great work, Im sure there will be a few interested in this.
     
  5. OP
    OP
    BradsXmasLights

    BradsXmasLights WiFi Interactive

    Joined:
    Dec 23, 2010
    Messages:
    499
    Likes Received:
    4
    Location:
    Brisbane, Australia
    Find Me On:
    Visual Basic 6. I'm thinking I'm really gonna have to start learning VB.NET - then I believe it could be a native Vixen addon - but programming isn't my day job :)

    I'll try and get a alpha version ready tonight that will demo the interface (so far) - but haven't programmed the export yet.
     
  6. OP
    OP
    BradsXmasLights

    BradsXmasLights WiFi Interactive

    Joined:
    Dec 23, 2010
    Messages:
    499
    Likes Received:
    4
    Location:
    Brisbane, Australia
    Find Me On:
    Attached is an alpha version - with what I hope is a mostly working interface.

    However, known issues:
    1) Validation of the step count text boxes is incomplete - entering non numbers will result in errors
    2) Increasing the "Number of Steps" (to make the gradient longer), when in the hundreds range may be slow depending on your PC speed. This is currently limited to 1000, my Core i7/Win7 machine locked up bigtime when i started putting in bigger names.

    Tomorrow night I will write the Export code :)
     

    Attached Files:

  7. OP
    OP
    BradsXmasLights

    BradsXmasLights WiFi Interactive

    Joined:
    Dec 23, 2010
    Messages:
    499
    Likes Received:
    4
    Location:
    Brisbane, Australia
    Find Me On:
    Now I've got my RGB gear from Ray I've recommenced some more development.

    I can now map the gradient against Vixen's Waveform generated data. eg: copy & paste 50 channels of (black & white) waveform/peak level matrix data from Vixen and the app will map the gradient against it, generating150 channels of completely unreadable RGB data / Vixen channels.

    Here's a video of the result like this... http://youtu.be/FFFgP6hPsd8

    If anyone's interested, I'll try to get a beta copy online.
     
  8. kevr

    kevr Full Time Elf

    Joined:
    May 2, 2010
    Messages:
    204
    Likes Received:
    0
    Location:
    Kaiapoi, New Zealand
    Find Me On:
    Tried to load but appears to be a broken link, keen to have a look.



    Kev :)
     
  9. OP
    OP
    BradsXmasLights

    BradsXmasLights WiFi Interactive

    Joined:
    Dec 23, 2010
    Messages:
    499
    Likes Received:
    4
    Location:
    Brisbane, Australia
    Find Me On:
  10. Mike

    Mike CLAP infected!

    Joined:
    Oct 22, 2010
    Messages:
    280
    Likes Received:
    0
    Location:
    Rockingham, WA
    Find Me On:
    Too bad something like this isn't in LSP :(
     
  11. fasteddy

    fasteddy I have C.L.A.P Global Moderator Generous Elf

    Joined:
    Apr 26, 2010
    Messages:
    6,471
    Likes Received:
    16
    Location:
    Albion Park NSW
    Find Me On:
    I would love to see something like this for LSP, great work there shame its only for vixen users :(
     
  12. OP
    OP
    BradsXmasLights

    BradsXmasLights WiFi Interactive

    Joined:
    Dec 23, 2010
    Messages:
    499
    Likes Received:
    4
    Location:
    Brisbane, Australia
    Find Me On:
    You could probably import the Vixen file in to LSP? :)

    I'm surprising LSP doesn't have something like this already. Technically to program this logic, it's just a matter of aligning the gradient (eg: an array of colour values) against the channels with the alignment point being where the peak level channel is.


    eg:
     
  13. smartalec

    smartalec Im a SmartAlec what can i say! Community Project Designer

    Joined:
    May 4, 2010
    Messages:
    1,183
    Likes Received:
    7
    Location:
    S.A.
    Find Me On:
    why cant i download the file? it keeps trying to download index.php
     
  14. OP
    OP
    BradsXmasLights

    BradsXmasLights WiFi Interactive

    Joined:
    Dec 23, 2010
    Messages:
    499
    Likes Received:
    4
    Location:
    Brisbane, Australia
    Find Me On:
    I'll upload a new version tonight which will actually generate Vixen code. :)
     
  15. OP
    OP
    BradsXmasLights

    BradsXmasLights WiFi Interactive

    Joined:
    Dec 23, 2010
    Messages:
    499
    Likes Received:
    4
    Location:
    Brisbane, Australia
    Find Me On:
    Attached is my latest build.


    Generated data appears in a Notepad file (copy2vixen.txt). Then can then be dumped back in to Vixen via copy & paste. (Note that often notepad will not come to focus when it opens, but it will appear on the taskbar)

    To 'wave-map' the gradient for level-meter style effect as per my previous video, you'll need to create a waveform effect in Vixen that matches the same number of steps/channels within the Gradient. Copy & paste this data in to the textbox at the bottom of the window. Note the text input is limited to ~65k charactors, so you'll probably need to do it in smaller sections for an entire song if there are lots of channels.

    Also, i found the transparent paste function in Vixen creates some fancy overlay effects. I had a mild scrolling red/black fade, then could transparent paste the waveform gradient over top. The colour blending then goes out (eg: increases due to Vixen blending it) - but it's still a very cool effect!
     

    Attached Files:

Share This Page