Forum
    • Categories
    • Register
    • Login

    Midilist issues or?

    Scheduled Pinned Locked Moved Bug Reports
    10 Posts 2 Posters 711 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ustkU
      ustk
      last edited by

      Trying to play with midilist and facing 2 issues (or not?)

      • MidiList.getNumSetValues()shouldn't return the -1values but it does... (In fact after a fill(-1) numValues is automatically set to 128)
      • MidiList.setValue(n, -1) impossible to set an index to -1...

      Is there a particular reason for all of these or can I commit a fix?

      Hise made me an F5 dude, any other app just suffers...

      1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey
        last edited by

        Didn't you see my latest video 😱 Use -99 or something like that, not -1.

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        ustkU 2 Replies Last reply Reply Quote 1
        • ustkU
          ustk @David Healey
          last edited by

          @d-healey Oh shame on me!!! 🤗

          Hise made me an F5 dude, any other app just suffers...

          1 Reply Last reply Reply Quote 1
          • ustkU
            ustk @David Healey
            last edited by

            @d-healey But I love -1 !
            -1 is nice !
            -1 is beautiful !
            -1 is 😍

            Hise made me an F5 dude, any other app just suffers...

            1 Reply Last reply Reply Quote 0
            • ustkU
              ustk
              last edited by ustk

              In fact, clear() sets all indexes to -1, and getNumSetValues() also has something to do with -1, so I imagine setting manually an index to -1 is a good way to reset it right? If you use something else as reset value, there's no point having clear() or getNumSetValues()....

              Hise made me an F5 dude, any other app just suffers...

              1 Reply Last reply Reply Quote 0
              • David HealeyD
                David Healey
                last edited by

                I thought the same as you - https://forum.hise.audio/topic/1868/midilist-doesn-t-like-1

                Use -99 and life will be happier :)

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                ustkU 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @David Healey
                  last edited by ustk

                  @d-healey I hear you, but in that case there's no points for clear() and getNumSetValues()....
                  If you prefer not having a fix which is perfectly understandable, I'll make one on my side then

                  Hise made me an F5 dude, any other app just suffers...

                  David HealeyD 1 Reply Last reply Reply Quote 0
                  • David HealeyD
                    David Healey @ustk
                    last edited by

                    @ustk If you want to fix it I won't complain :D

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

                    ustkU 2 Replies Last reply Reply Quote 1
                    • ustkU
                      ustk @David Healey
                      last edited by

                      @d-healey 👍 🤓

                      Hise made me an F5 dude, any other app just suffers...

                      1 Reply Last reply Reply Quote 0
                      • ustkU
                        ustk @David Healey
                        last edited by

                        @d-healey Done!

                        Hise made me an F5 dude, any other app just suffers...

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        14

                        Online

                        2.2k

                        Users

                        13.4k

                        Topics

                        116.3k

                        Posts