HISE Logo Forum
    • Categories
    • Register
    • Login

    Ability to move sampler / synth / container modules around

    Scheduled Pinned Locked Moved Solved Feature Requests
    21 Posts 8 Posters 1.3k 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

      Thought about this today as I was editing the XML -- don't know how much of a pain it is to set up drag and drop for the HISE IDE natively, but if it's anything like setting it up for our own GUI within HISE (and frankly in any other framework I used), it's a pain in the ass with a bunch of edge cases where things can go wrong.

      So I thought if buttons for up/down were visible on modules when the edit mode is enabled, it would be enough. the buttons would then be about shuffling the xml content around. Up/down would only move it up/down within the container.

      right clicking would have the option to "re-child into the container above" for a module that's right underneath a container (similar to how foldering works in Reaper), and then the buttons would move it within that container only. there would also be an option in the right click to "de-child", which would move it out of its current container and place it below it.

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

        @aaronventure said in Ability to move sampler / synth / container modules around:

        don't know how much of a pain it is to set up drag and drop for the HISE IDE

        Well we already have it for the component list.

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

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

          @d-healey That's true. But the realtime onTimer callback runs in seconds, the and the timer objects in milliseconds so I won't pretend to know how the sausage is made and what goes on in the meatshop behind the counter 馃槄

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

            Alright guys, here we go:

            Link Preview Image
            - added drag&drop of modules within the patch browser! 路 christophhart/HISE@888851e

            The open source framework for sample based instruments - - added drag&drop of modules within the patch browser! 路 christophhart/HISE@888851e

            favicon

            GitHub (github.com)

            I tried to cover a few common edge cases, but I'm sure there's lots to discover when doing monkey testing, so let me know if you find glitches...

            drag.gif

            d.healeyD A gorangroovesG Dan KorneffD Matt_SFM 5 Replies Last reply Reply Quote 13
            • d.healeyD
              d.healey @Christoph Hart
              last edited by

              @Christoph-Hart Excellent!

              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 @Christoph Hart
                last edited by

                christophhart Already? I can't imagine what we're getting for Christmas, then!

                1 Reply Last reply Reply Quote 0
                • gorangroovesG
                  gorangrooves @Christoph Hart
                  last edited by

                  @Christoph-Hart wow. Bravo! That looks great. This is a serious UX improvement. Thank you so much!

                  Goran Rista
                  https://gorangrooves.com

                  Handy Drums and Handy Grooves
                  https://library.gorangrooves.com

                  1 Reply Last reply Reply Quote 0
                  • Dan KorneffD
                    Dan Korneff @Christoph Hart
                    last edited by

                    @Christoph-Hart
                    Getting a couple build error on MacOS

                    HISE/hi_backend/backend/debug_components/PatchBrowser.cpp:1512:23 Ambiguous conversion from derived class 'hise::PatchBrowser::PatchItem' to base class 'hise::Processor::BypassListener':
                        class hise::PatchBrowser::PatchItem -> class hise::PatchBrowser::ModuleDragTarget -> class Processor::BypassListener
                        class hise::PatchBrowser::PatchItem -> class Processor::BypassListener
                    
                    HISE/hi_backend/backend/debug_components/PatchBrowser.cpp:1548:40 Ambiguous conversion from derived class 'hise::PatchBrowser::PatchItem' to base class 'hise::Processor::BypassListener':
                        class hise::PatchBrowser::PatchItem -> class hise::PatchBrowser::ModuleDragTarget -> class Processor::BypassListener
                        class hise::PatchBrowser::PatchItem -> class Processor::BypassListener
                    

                    Dan Korneff - Producer / Mixer / Audio Nerd

                    1 Reply Last reply Reply Quote 0
                    • Matt_SFM
                      Matt_SF @Christoph Hart
                      last edited by

                      @Christoph-Hart rules 馃

                      Develop branch
                      Win10 & VS17 / Ventura & Xcode 14. 3

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        tomekslesicki @Matt_SF
                        last edited by

                        @Christoph-Hart this is an awesome quality of life improvement! I'm on the latest Develop build but I can't see any of the extra stuff - there's no + and bin icons, and I still can't drag-and-drop the modules around. Is there something I need to enable to get this or is it another branch or what? ;-)

                        StraticahS 1 Reply Last reply Reply Quote 0
                        • StraticahS
                          Straticah @tomekslesicki
                          last edited by Straticah

                          @tomekslesicki did you go into edit mode first using the pen? ( i know it is a little bit confusing)
                          it would make sense to have the drag /re arrange option in both modes tho imo

                          building user interfaces in HISE :)
                          web: www.vst-design.com

                          Christoph HartC T 2 Replies Last reply Reply Quote 1
                          • Christoph HartC
                            Christoph Hart @Straticah
                            last edited by

                            it would make sense to have the drag /re arrange option in both modes tho imo

                            No I think this will lead to moving modules around accidentally too often, also from a UX standpoint I think it makes sense to restrict moving (aka editing the graph) to the edit mode.

                            StraticahS 1 Reply Last reply Reply Quote 2
                            • StraticahS
                              Straticah @Christoph Hart
                              last edited by Straticah

                              @Christoph-Hart yeah maybe, but people are kind of used to a certain workflow and i am not aware of any other "layer based" software that does not support dragging on the layer view.

                              I use bitwig, ableton, photoshop, figma, adobeXD, Illustrator, Blender and Cinema4D and they all have this layer drag behaviour.

                              But they are creative tools (and maybe not comparable to HISE) but they definitely are highly workflow optimized and therefore simplified from a UX standpoint.

                              building user interfaces in HISE :)
                              web: www.vst-design.com

                              1 Reply Last reply Reply Quote 0
                              • T
                                tomekslesicki @Straticah
                                last edited by

                                @Straticah ah, no, I didn鈥檛 know this was required! I鈥檒l look for that pen tomorrow when I鈥檓 back at the studo, thank you :-) Is it somewhere close to the graph or hidden in some smart place @Christoph-Hart ?

                                StraticahS 1 Reply Last reply Reply Quote 1
                                • StraticahS
                                  Straticah @tomekslesicki
                                  last edited by

                                  @tomekslesicki 8cd912af-5d68-49a2-820f-7b3bf98dd9c4-image.png

                                  building user interfaces in HISE :)
                                  web: www.vst-design.com

                                  gorangroovesG 1 Reply Last reply Reply Quote 0
                                  • gorangroovesG
                                    gorangrooves @Straticah
                                    last edited by

                                    @Straticah @Christoph-Hart Either way works equally well when you are aware of how to use it. But, being able to do it without unlocking first is more intuitive. I do see a point in preventing accidental moving. I just wonder how easy and likely it would be to accidentally move it...

                                    Goran Rista
                                    https://gorangrooves.com

                                    Handy Drums and Handy Grooves
                                    https://library.gorangrooves.com

                                    T 1 Reply Last reply Reply Quote 1
                                    • T
                                      tomekslesicki @gorangrooves
                                      last edited by

                                      @Christoph-Hart I agree, this should be the default interaction mode. It's very easy to click on the modules, I have not had a single accident when I dragged something around not intended.

                                      StraticahS 1 Reply Last reply Reply Quote 0
                                      • StraticahS
                                        Straticah @tomekslesicki
                                        last edited by

                                        @tomekslesicki i can imagine giving the components a bigger height might work aswell and is less fiddly. At least in the default view where quite a lot of vertical space is unused.

                                        building user interfaces in HISE :)
                                        web: www.vst-design.com

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

                                        25

                                        Online

                                        1.7k

                                        Users

                                        11.8k

                                        Topics

                                        102.3k

                                        Posts