uiImageSlider and frames

Home Forums General Panels, Components, Macros uiImageSlider and frames

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #25519
    zeoka
    Participant
      • Topics: 73
      • Replies: 466
      • Total: 539
      • ★★★

      Hi
      I have an issue :
      sliders that have 01-7f value range and a checksum in the sysex formula editor
      I’ve set the Min val to 1 and max 127 and all is normal

      but my images can’t display “127” the last image
      tried various things (127 frames, start to “001”,etc..)
      in last moment I done this : image start to “000” to “127” = 128 frames
      that displays “001” to “126” it lacks the last image

      any idea ?

      Attachments:
      You must be logged in to view attached files.
      #25529
      zeoka
      Participant
        • Topics: 73
        • Replies: 466
        • Total: 539
        • ★★★

        I will try to be clearer
        I’ve mods with 1-127 values set in the properties
        I’ve images with 128 frames 000 to 127
        but that displays 001 to 126
        my theory is :
        modulators have always values 0 to 1 and it divides by the number of values
        normally 128 values
        now I have 127 values and 128 frames
        that’s why I don’t get 127 displayed
        Correct ??
        I’ve tried to put an image with 127 frames :001 to 127
        that gives : 002 to 127
        What can I do ?

        #25530
        dasfaker
        Keymaster
          • Topics: 80
          • Replies: 793
          • Total: 873
          • ★★★

          Try setting min value to 0 and max to 126, as this is the frame range you want to show. If you set min=1, frame 0 is omitted.

          #25531
          zeoka
          Participant
            • Topics: 73
            • Replies: 466
            • Total: 539
            • ★★★

            Thx Dasfaker
            I understand what you mean , in that case do I need a 127 frames image or 128 ?
            problem :
            I need to send 01-7f
            so I can put expression midiValue – 1 ,modulatorValue + 1
            problem :
            with checksum formula + expression or ms ls formula the mod is not able to receive midi

            other solution : remove images , add a layer and uiLabel or customComponent and a Lua script
            I would evitate this and simplify….

            #25563
            dasfaker
            Keymaster
              • Topics: 80
              • Replies: 793
              • Total: 873
              • ★★★

              You need the same number of frames as values has the modulator. If your modulator has 127 values (1-127), you need 127 frames.

              Instead using expressions, use a fixedSlider, there you can set what value has each “frame” (0=1, 1=2…127=128)

              • This reply was modified 9 years, 10 months ago by dasfaker.
            Viewing 5 posts - 1 through 5 (of 5 total)
            • The forum ‘Panels, Components, Macros’ is closed to new topics and replies.
            There is currently 0 users and 53 guests online
            No users are currently active
            Forum Statistics
            Threads: 2,495, Posts: 17,374, Members: 77,605
            Most users ever online was 12 on January 22, 2019 3:47 pm
            Ctrlr