Menu

Virtual Console Frames - Page Count

2015-01-12
2015-01-12
  • Chris de Rock

    Chris de Rock - 2015-01-12

    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

    Jano Svitok - 2015-01-12

    Chris,

    the number is here: https://github.com/mcallegari/qlcplus/blob/master/ui/src/virtualconsole/vcframeproperties.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

    Chris de Rock - 2015-01-12

    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.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.