HISE Logo Forum
    • Categories
    • Register
    • Login

    API Browser Revamp: Search Feedback

    Scheduled Pinned Locked Moved Solved Feature Requests
    12 Posts 3 Posters 1.1k 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.
    • A
      aaronventure
      last edited by

      Since the API browser is getting some love, here are my search suggestions:

      7e353f6b-9d06-4918-94ce-cf3e5646e216-image.png

      the order of the results is a bit weird. it seems to follow the class names alphabetically, even though some results are irrevelavnt.

      1f473f73-3486-4e6a-be0a-4798e96b53b0-image.png

      if I want to isolate just the class, I would add a . after the input. This sometimes works

      b97ed8d9-ba40-445a-8bf1-3082b1ea4839-image.png

      and sometimes it doesn't

      eb8e35a1-1382-4f36-8113-497ce8a4faa1-image.png

      Should the API browser have a consistent and reliable search/filtering behavior?

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

        @aaronventure Yeah good idea. I've changed it so that it prioritizes exact matches over occurences somewhere in the class name, so typing Sample will show the Sample and Sampler class before the other classes and methods that contain this string (eg. AudioSampleProcessor`).

        I've also added a few other polishes:

        • the font size of the doc popup scales with the font size of the code editor
        • Pressing escape will close the popup and move the focus back to the code editor
        • you can right or left click now to show the popup (since it's the single function). The code insertion is now only triggered by hitting return as using the double click cause many accidental triggers of that function which was super annoying.
        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @Christoph Hart
          last edited by

          @Christoph-Hart said in API Browser Revamp: Search Feedback:

          The code insertion is now only triggered by hitting return

          Just did a quick test and it's inserting the code at the top of the editor rather than at the cursor position.

          Also the module tree looks weird.

          5ef56acf-4ef1-490b-85bc-c9ffc7710268-image.png

          Also why did you remove the module browser? I use it often to look up magic numbers, what is the replacement?

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

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @d.healey
            last edited by

            Just did a quick test and it's inserting the code at the top of the editor rather than at the cursor position.

            Ah yes, that's a glitch that I could not reliably reproduce, but I think once you have more than one line it works.

            Also why did you remove the module browser?

            Because I noticed that with a fresh HISE installation it builds up a database by loading each module once, reads out the elements then deletes it again which crashed my system once I've run it again and the idea that this is the first time experience of HISE users made me go nuclear on the entire thing.

            I use it often to look up magic numbers, what is the replacement?

            We definitely need a replacement as I was using it for the exact same feature, but I think we can move that functionality into a context menu of the patch browser as you will only use it with modules that you have already loaded, right?

            Also the module tree looks weird.

            That's your fault why are you using so many global connections? Jokes aside, it might be a good idea to remove that visualisation once the connection amount exceeds sane numbers...

            d.healeyD 1 Reply Last reply Reply Quote 1
            • d.healeyD
              d.healey @Christoph Hart
              last edited by

              @Christoph-Hart said in API Browser Revamp: Search Feedback:

              Ah yes, that's a glitch that I could not reliably reproduce, but I think once you have more than one line it works.

              I tested this in the middle of one of my scripts and it jumps up to the top.

              @Christoph-Hart said in API Browser Revamp: Search Feedback:

              We definitely need a replacement as I was using it for the exact same feature, but I think we can move that functionality into a context menu of the patch browser as you will only use it with modules that you have already loaded, right?

              That would work, the only other time I find it useful is when using Synth.getIdList() and I can't remember the exact name I need to pass as a parameter, for example is it MidiMuter, MIDI Muter, MIDIMuter... I'm sure it's one of those :)

              @Christoph-Hart said in API Browser Revamp: Search Feedback:

              It might be a good idea to remove that visualisation once the connection amount exceeds sane numbers

              Yeah I never really benefited from them anyway. If you only have a few connections then you don't need the lines to tell you that, and if you have a lot of connections the lines become a mess. Maybe a better solution would be something similar to the broadcaster map.

              Also this grey on grey is a little hard to read for my not-so-old eyes.

              a67b2b7a-8d39-47c6-88c8-1c0a870755b9-image.png

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

              Christoph HartC A 2 Replies Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @d.healey
                last edited by

                @d-healey said in API Browser Revamp: Search Feedback:

                Yeah I never really benefited from them anyway. If you only have a few connections then you don't need the lines to tell you that, and if you have a lot of connections the lines become a mess.

                Yup, in the spirit of removing stuff that isn't very useful, be gone global mod connection display!

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

                  @Christoph-Hart Oh and I've added the parameter dump function. Just right click on the patch browser (when it's not in edit mode), then choose Dump Parameter IDs & values to see this:

                  a3fcdc7e-080c-4555-a24c-10a6e1d98455-image.png

                  That should give you the magic numbers you need (plus it might come handy in other use cases, who knows)...

                  d.healeyD 1 Reply Last reply Reply Quote 5
                  • d.healeyD
                    d.healey @Christoph Hart
                    last edited by

                    @Christoph-Hart Nice!

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

                    1 Reply Last reply Reply Quote 0
                    • A
                      aaronventure @d.healey
                      last edited by aaronventure

                      @d-healey said in API Browser Revamp: Search Feedback:

                      I tested this in the middle of one of my scripts and it jumps up to the top.

                      Still happens.

                      Maybe a we could get a way to copy it to clipboard as well/instead.

                      macOS

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

                        @aaronventure Yeah it's strange because in versions of HISE gone by it worked fine with a double click.

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

                        Christoph HartC 1 Reply Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart @d.healey
                          last edited by

                          @d-healey should be fixed now.

                          d.healeyD 1 Reply Last reply Reply Quote 1
                          • d.healeyD
                            d.healey @Christoph Hart
                            last edited by

                            @Christoph-Hart Yep, working here, thanks!

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

                            1 Reply Last reply Reply Quote 0
                            • A aaronventure marked this topic as a question on
                            • A aaronventure has marked this topic as solved on
                            • First post
                              Last post

                            23

                            Online

                            1.8k

                            Users

                            12.1k

                            Topics

                            105.2k

                            Posts