HISE Logo Forum
    • Categories
    • Register
    • Login

    Store arrays in MIDI lists

    Scheduled Pinned Locked Moved Feature Requests
    2 Posts 2 Posters 624 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.
    • d.healeyD
      d.healey
      last edited by

      Is this something that would be possible to add? My use case here is a non-repeating round robin where I want to store an array of which groups have been played for each note. My current method is to flip it around so I have a MIDI list for each group but I think it would be better to have an array for each index of a single MIDI list.

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

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        I think this would be a case where it's better to just use a multidimensional array - the MidiList is a pretty small container which gets it's performance / usability advantages by limiting on numbers (its even not storing floating point, but simple 16bit integers). Making its slots dynamically resizable would defeat any performance advantage - you just end up with another multipurpose container type like the array :)

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

        49

        Online

        1.7k

        Users

        11.7k

        Topics

        101.8k

        Posts