Author Topic: Randomness of effects question  (Read 3156 times)

Offline BobinWV

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Randomness of effects question
« on: August 04, 2014, 10:34:57 AM »
Updated to the latest release today and started working on a couple of songs.  Not sure if it's my imagination or not, but the random effects generator seems to be VERY heavily weighted towards Butterfly and Waves. In one song 12 out of 20 effects were  a wave, butterfly or both.
I just tried on another machine with 3.4.6 version and things appear to be truly random.  After I upgraded to 3.4.8
and generated another routine 87 out of 139 time steps were either wave, butterfly or both.

Bob in WV

Offline scuba

  • Sr. Member
  • ****
  • Posts: 349
    • View Profile
Re: Randomness of effects question
« Reply #1 on: August 04, 2014, 05:26:50 PM »
On a related question...can you specify which effects are used in the 'randomness' of effects?  In particular the Glediator effects are currently of little interest to me (something new to learn and master), because of my mega trees and globe, the spirals are really cool effects.

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: Randomness of effects question
« Reply #2 on: August 04, 2014, 07:06:51 PM »
Updated to the latest release today and started working on a couple of songs.  Not sure if it's my imagination or not, but the random effects generator seems to be VERY heavily weighted towards Butterfly and Waves. In one song 12 out of 20 effects were  a wave, butterfly or both.
I just tried on another machine with 3.4.6 version and things appear to be truly random.  After I upgraded to 3.4.8
and generated another routine 87 out of 139 time steps were either wave, butterfly or both.

Bob in WV

ill take a look at the random number generator
Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: Randomness of effects question
« Reply #3 on: August 06, 2014, 09:28:11 AM »
Updated to the latest release today and started working on a couple of songs.  Not sure if it's my imagination or not, but the random effects generator seems to be VERY heavily weighted towards Butterfly and Waves. In one song 12 out of 20 effects were  a wave, butterfly or both.
I just tried on another machine with 3.4.6 version and things appear to be truly random.  After I upgraded to 3.4.8
and generated another routine 87 out of 139 time steps were either wave, butterfly or both.

Bob in WV

this has been fixed. what was happening is randomly select an effect. if the effect is
PIANO, PICTURES, GLEDIATOR,FACES,TEXT,NONE set the effect to either BARS or BUTTERFLY.
Now it will bump the choice to the next one in the list. If this next choice is one of the "Do not pick" effects, it will set the effect to NONE. So if you randomly create now, should be even distribution, sometimes it will select a NONE.
Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: Randomness of effects question
« Reply #4 on: August 06, 2014, 09:29:36 AM »
On a related question...can you specify which effects are used in the 'randomness' of effects?  In particular the Glediator effects are currently of little interest to me (something new to learn and master), because of my mega trees and globe, the spirals are really cool effects.

GLEDIATR was left out of the "Do not pick" list. This has been corrected.

Here is the current list of effects that will be skipped during a random effect generation.

 eff1 = (eff_NONE == eff1 || eff_TEXT == eff1 || eff_PICTURES == eff1 || eff_PIANO == eff1
                || eff_FACES == eff1 || eff_GLEDIATOR == eff1)? eff1+1:eff1;
Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62

Offline scuba

  • Sr. Member
  • ****
  • Posts: 349
    • View Profile
Re: Randomness of effects question
« Reply #5 on: August 06, 2014, 06:16:45 PM »
thanks