Save this Matrix to a Sequence

Ask a generic question about the usage of QLC+, not related to a particular operating system
Post Reply
jeffnielson
Posts: 6
Joined: Tue Oct 22, 2019 12:01 am
Real Name: Jeff Nielson

Using 4.12.7
When I click "Save this Matrix to a Sequence" when playing with RGB matrix, the sequence only has 1 or 2 steps when I think it should have many more than that. THen it just loops over the first 2 steps.

Any ideas?
jeffnielson
Posts: 6
Joined: Tue Oct 22, 2019 12:01 am
Real Name: Jeff Nielson

OK I figured out that it is set in the js code. I just updated the function.
User avatar
GGGss
Posts: 3052
Joined: Mon Sep 12, 2016 7:15 pm
Location: Belgium
Real Name: Fredje Gallon

jeffnielson wrote: Tue Dec 26, 2023 4:56 pm OK I figured out that it is set in the js code. I just updated the function.
For future reference, please elaborate on your solution. Could you please tell me what you had to change to the .js code?
All electric machines work on smoke... when the smoke escapes... they don't work anymore
jeffnielson
Posts: 6
Joined: Tue Oct 22, 2019 12:01 am
Real Name: Jeff Nielson

The javascript in the RGBScripts has a function that you have to edit:

Code: Select all

algo.rgbMapStepCount
The return value is can be a number of mathematical equation.
I just changed mine to say:

Code: Select all

 return 200;
This way, it returns 200 steps rather than just the few that the author thought was enough.
I could have made it into a value that could be set each time by using "algo.proprieties.push", but didn't want to do the extra work.

Jeff
Post Reply