HISE Logo Forum
    • Categories
    • Register
    • Login

    Midilist issues or?

    Scheduled Pinned Locked Moved Bug Reports
    10 Posts 2 Posters 353 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?

      Can't help pressing F5 in the forum...

      1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by

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

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        ustkU 2 Replies Last reply Reply Quote 1
        • ustkU
          ustk @d.healey
          last edited by

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

          Can't help pressing F5 in the forum...

          1 Reply Last reply Reply Quote 1
          • ustkU
            ustk @d.healey
            last edited by

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

            Can't help pressing F5 in the forum...

            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()....

              Can't help pressing F5 in the forum...

              1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.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 :)

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                ustkU 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @d.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

                  Can't help pressing F5 in the forum...

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @ustk
                    last edited by

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

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    ustkU 2 Replies Last reply Reply Quote 1
                    • ustkU
                      ustk @d.healey
                      last edited by

                      @d-healey 👍 🤓

                      Can't help pressing F5 in the forum...

                      1 Reply Last reply Reply Quote 0
                      • ustkU
                        ustk @d.healey
                        last edited by

                        @d-healey Done!

                        Can't help pressing F5 in the forum...

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

                        21

                        Online

                        1.8k

                        Users

                        12.0k

                        Topics

                        104.8k

                        Posts