Nutcracker: Enhancement, Fade in and fade out

Discussion in 'xLights (Nutcracker)' started by smeighan, Aug 9, 2012.

  1. smeighan

    smeighan Dedicated Elf

    Joined:
    Jan 19, 2012
    Messages:
    1,055
    Likes Received:
    4
    Location:
    4217 Greenfinch Dr CO 80126
    You may think i dont read the "What would you like to see in Nutcracker?". Steve Gase requested the ability to fade in and out the nutcracker effects last April 25th. Well Steve, you got it.


    Two new prompts on every effect (below the seq_duration) is
    Fade In (in seconds)
    Fade Out (In seconds)


    0 seconds disables the fades. You will see when i add new values onto an effect your current effects will have these prompts, but they will be blank. A blank also disables fades so your effects will work as they did before.


    Note the animated gif does NOT reflect your fades. To save disk space, i only show one rotation of an effect and let it repeat in the gif. Your sequences might have 5-10 of these rotations pasted together. In summary: Fades will not show on the animated gif's even though they are present.
    Try pasting the effect into your sequencer (I am using lsp), the fades appear there as expected.


    [​IMG]


    This required a change to every effect class and to the large library of code. i have tested lms, vixen and lsp.. let me know if you see any issues.


    thanks
     
  2. 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:
    Again Sean you are really making these effects so easy for so many people across many different sofware platforms, Thanks once again. Im looking forward to seeing how people use these effects in their displays this year.
     
  3. OP
    OP
    smeighan

    smeighan Dedicated Elf

    Joined:
    Jan 19, 2012
    Messages:
    1,055
    Likes Received:
    4
    Location:
    4217 Greenfinch Dr CO 80126
    Thanks. i get very little feedback from anyone saying they are using nutcracker. So either no one is using it very much or they are using and it works without problems.


    I have no open bugs on the effects which make sme nervous, i know i have some.


    Here some i know and will work on.
    Spiral Effect: One pixel is shifted at the very end of the rotation
    All effects: I was not handling the last end of a seq duration. If i had an effect that cycled every 5 seconds and you asked for a 27 second duration, you got 25 seconds instead. I fixed this yesterday.




    These small tweaks are to finish making the effects be pure. ill continue to work them
     
  4. kane

    kane Dedicated Elf

    Joined:
    Dec 23, 2010
    Messages:
    1,019
    Likes Received:
    0
    Location:
    Trigg (Northern suburbs of Perth)
    Find Me On:
    Hey Sean

    I think a lot of people are trying to work out how nutcracker effects will work within their whole sequence. Obviously it will help them do small animations for one part of the display (eg matrix or mega tree), they then need to try and work out how this ties in with the other elements.

    For me, the next issue is getting things in time to the music, as this is what I like to do. Ideally, it would be brilliant if an effect could be broken up into sections, and then these sections could be alligned to the music (either via beat matching, or matching to coloured intervals setup in LSP etc)

    I think everyone is impressed with what you've done, it's just that most people are working out how they can use it!

    Cheers

    Kane

    ps - did you ever get a chance to play around with that issue on the butterfly effect where there was a purple diagonal line that didn't seem to change?
     
  5. OP
    OP
    smeighan

    smeighan Dedicated Elf

    Joined:
    Jan 19, 2012
    Messages:
    1,055
    Likes Received:
    4
    Location:
    4217 Greenfinch Dr CO 80126

    For my Christmas show i will sequence an entire song in Nutcracker, all 3 minutes of it. I have started coding Nutcracker 2.0. I hope i have something to show in the next 1-2 weeks. I have finished marking two TSO songs (Wizards in Winter and a Mad Russians Christmas).


    Here is the label export that has my phrases marked to within one microsecond from audacity. I will prompt for this music object file in a form. I will then create a form where for each phrase you give me the nutcracker effect you want.


    I will create the effect exactly the length of the phrase. I will allow any single phrase to be created or i will batch create the whole song. With something like wizards.phrase1, wizards.phrase2 as the output files.
    When using Nutcracker 2.0 you will never give a seq_duration, you just put an effect to a phrase.



    0.261563 5.133486 phrase1
    5.133486 6.751756 phrase2
    6.749311 11.606566 phrase3
    11.606566 13.229726 phrase4
    13.212154 18.088345 phrase5
    18.076735 19.725351 phrase6
    19.702132 24.566712 phrase7
    24.566712 31.013586 phrase8
    31.013586 35.861063 phrase9
    35.861063 37.523447 phrase10
    37.488617 42.341587 phrase11
    42.353197 50.445351 phrase12
    50.445351 56.923719 phrase13
    56.912109 69.837404 phrase14
    69.837404 76.323991 phrase15
    76.300771 81.157962 phrase16
    81.157962 82.773787 phrase17
    82.773787 87.621264 phrase18
    87.621264 98.949156 phrase19
    98.949156 105.412458 phrase20
    105.412458 124.826812 phrase21
    124.826812 131.290114 phrase22
    131.290114 136.142480 phrase23
    136.161814 137.787211 phrase24
    137.775601 142.613117 phrase25
    142.613117 149.130159 phrase26
    149.095329 165.291247 phrase27
    165.268027 171.758005 phrase28
    171.746395 178.224762 phrase29
    178.189932 183.040308 phrase30






    I have not had a chance to look into the butterfly band. it doesnt always show up, depends on the radian value you pick , it seems.


    i also need to work on spirals, one pixel each rotation is in the wrong place.


    just more for the list
     
  6. Skunberg

    Skunberg Full Time Elf

    Joined:
    Jul 10, 2010
    Messages:
    194
    Likes Received:
    0
    Location:
    Eagan
    I'm still into my hardware. I plan to use Nutcracker but won't know anything till Oct. or Nov. about how it works for me. I feel fairly safe as others have already done a half mega tree. And arches are easy to sequence if the single string feature gives me trouble.

    Brian
     
  7. BillyTRichVa

    BillyTRichVa New Elf

    Joined:
    Jul 19, 2012
    Messages:
    4
    Likes Received:
    0
    I'm still in the process of getting my visualization in LOR together. I have gotten a few effects worked out and should start sequence work in the next week or two. I have noticed something strange with the snowflake effect, but I'm not sure it's the software or me with the problem.
     
  8. OP
    OP
    smeighan

    smeighan Dedicated Elf

    Joined:
    Jan 19, 2012
    Messages:
    1,055
    Likes Received:
    4
    Location:
    4217 Greenfinch Dr CO 80126

    i havent looked at the snowflake class for months. i am sure there are still some issues with it.
     

Share This Page