Virtual Console Frames - Page Count

Archive of the non-categorized posts related to the QLC+ technical support.
Please do not create new threads here, instead, use the categories above !
Post Reply
Chris de Rock

Why is there a limit of 16 Pages for frames in the virtual console (and how to change this?)? For my show, i create a chaser for every song and it would be very nice to place every chaser on a separate page (for better midi-control)
Jano Svitok

Chris,

the number is here: https://github.com/mcallegari/qlcplus/b ... es.ui#L581 Just remove the property maximum altogether (delete lines 580-582).

The limit may be related to how the page # is encoded in the channel #. It may be still valid or may not be needed anymore -- I need to check the code. Paging implementation was changed few times.
Massimo Callegari

Page number is masked into MSB bits of the channel number.
Channel number requires 16 bits, while the whole variable holding it is 32 bit wide, so in theory there are 16bits available for page number.

I think I reserved just 4 bits (so 16 pages maximum) for future uses of the 'composite' channel number.
Also, I set the UI maximum value to 16 to avoid users cloning pages 65535 times.
At the time, 16 pages seemed a good number.
We could extend the maximum to 256, so reserve 8 bits for page.

Please try 256 and let us know if everything works as expected. I don't remember right now if I masked 4 bits somewhere in the code. Apparently I didn't.
Chris de Rock

i can test ist, but i think, 256 tracks are realy to much for a setlist ;) currently i have a maximum of 50 and it seems to work.
Post Reply