r/xlights • u/virpio2020 • 7d ago
Help Light up random model of group based on timing track marks and fade out?
I find myself constantly missing what I assume to be the same effect in various configurations and I can't seem to create this effect. Maybe I'm missing something? I'm getting to the point were I consider compiling my own Xlights.
What I want all the time is 'dancing lights' based on key notes in my music. E.g. I have a Christmas song that has a piano playing a very distinct melody and I want a random prop to light up on every note, but that's obviously not exactly every beat. So my idea was to create a timing track with those key notes that I care about, then have some sort of effect light up a group as "Model as Pixel" randomly
I want the prop to light up on every mark and then, depending on config, either fade out with a constant time or until the next mark on the timing track.
I would envision something like single strand effect that I can give a timing track and configure as Model As Pixel so an entire prop lights up. But I want it to be random, not in a concrete order.
Is this really not achievable? Am I missing something really obvious?
4
u/HugsAllCats 7d ago edited 7d ago
There's probably a fair amount of fidgeting you'll need to do to get the fades working right - the audio track I was using had the notes going too fast to really notice.
0
u/KinzuaKid 7d ago
The thing you're missing I think is that xLights is a SEQUENCER. Literally. You define the sequence of events that happens, in what order, for each item in your collection of models and groups. Once the sequence is written, there is no such thing as "random". It's predetermined in the process of building the sequence. In other words, everything is in a concrete order, always. So no, you can't have random when it's playing back the show.
If we want to get close: Unless the song you're sequencing to is a 47-minute prog rock opus and making the lights look different every time you play it is the most important thing, you've already done 90% of the work- You built a timing track. Select the Master View on the layout tab (or create a new view with all the props you want to "randomly" use for this), make the timing track active by selecting its radio button, then make sure "Paste By Cell" is active. Create your first effect on your first model. Copy. Paste to a new one. Repeat until you have enough effects to select a handful at once and paste them all into a different section of the list. Repeat until finished. This is as close to "random" as you'll get.
I use this technique all the time with big groups of models I want the same effect to "bounce around" on.