HISE Logo Forum
    • Categories
    • Register
    • Login

    Easiest way to select midi input in a Standalone App

    Scheduled Pinned Locked Moved General Questions
    8 Posts 3 Posters 140 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.
    • MorphoiceM
      Morphoice
      last edited by

      I went through a couple of older posts and the way the settings floating tile works seem to have changed a lot over the years.

      What would currently be the easiest way to give the user a "dropdown" box to select the midi input e.g. at the bottom of the interface only visible when the plugin is standalone?
      without the need to display the entire settings floating tile...

      I'm hoping there is a way without a lot of custom scripting as I still suck at it a lot ;)

      https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

      A d.healeyD 2 Replies Last reply Reply Quote 0
      • A
        aaronventure @Morphoice
        last edited by

        @Morphoice call the method that returns the list of input devices, and populate a combo box with the list. On combo box control, unselecet all midi devices and select the newly selected one.

        MorphoiceM 1 Reply Last reply Reply Quote 0
        • MorphoiceM
          Morphoice @aaronventure
          last edited by

          @aaronventure got it thanks!

          https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

          1 Reply Last reply Reply Quote 0
          • A
            aaronventure
            last edited by

            Bonus: instead of having a refresh button you can use a mouse broadcaster to be refreshing the combobox list on mouse hover. You'll just have to make sure your selected device remains the same (by name) because the selection is based on item order, which can change if your device list changes.

            MorphoiceM 1 Reply Last reply Reply Quote 0
            • MorphoiceM
              Morphoice @aaronventure
              last edited by

              @aaronventure oh ok. I have around 24 midi ports over here... so I'm hoping nothing changes

              https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                @Morphoice said in Easiest way to select midi input in a Standalone App:

                What would currently be the easiest way to give the user a "dropdown" box to select the midi input

                That would limit the user to only one MIDI input at a time. Some keyboard (both of mine, and it's super annoying) present as two different MIDI devices, one sends controller data and the other sends notes, so you may want to allow the user to enable more than one device at a time.

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

                MorphoiceM 1 Reply Last reply Reply Quote 0
                • MorphoiceM
                  Morphoice @d.healey
                  last edited by

                  @d-healey will the list scroll if it exceeds the plugin height?

                  https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                    @Morphoice The list will scroll if it exceeds the height of the floating tile.

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

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

                    16

                    Online

                    1.7k

                    Users

                    11.9k

                    Topics

                    103.2k

                    Posts