HISE Logo Forum
    • Categories
    • Register
    • Login

    A Code Example/Tutorial on Dragging Audio and MIDI to the DAW [UPDATED WITH VIDEO]

    Scheduled Pinned Locked Moved Scripting
    14 Posts 6 Posters 986 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.
    • Christoph HartC
      Christoph Hart @Natan
      last edited by

      Why is that

      Most likely a file permission issue - I see you're writing it to a location inside the app data directory, this might cause some issues.

      But it's a nice example of a heavily underdocument feature so I'm refactoring it a bit and will add this to the HISE snippet browser.

      C d.healeyD 3 Replies Last reply Reply Quote 1
      • C
        clevername27 @Christoph Hart
        last edited by clevername27

        @Christoph-Hart Thank you for the kind words. I thought so, as well about the permission – I tried the Documents and Downloads folder – on both cases, the OS asked permission and I granted it. Same result, tho. I'll try some other permutations. I've also amended my original post to see if someone can try this under Windows or GNU/Linux, where I suspect it might work fine.

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

          @Christoph-Hart said in A Code Example/Tutorial on Dragging Audio and MIDI to the DAW*:

          I'm refactoring it a bit and will add this to the HISE snippet browser

          I just saw the snippet browser link in the help menu. Clicking on it crashes HISE here.

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

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

            @d-healey can you check if it only happens on Linux?

            There‘s a lot going on there, it creates another HISE instance in a new window that you can use next to your currently loaded project but it might be a bit funky on Linux as I haven‘t tested this yet.

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

              @Christoph-Hart it works on Mac

              Hise Develop branch
              MacOs 15.3.1, Xcode 16.2
              http://musikboden.se

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

                Works on Windows here.

                It works on Linux in a debug build but not a release build. And it takes ages to open the snippet browser.

                I'm wondering, does the snippet browser thing respect the USE_LINUX_FONT_HANDLER flag? I remember if I have this enabled then it takes ages to open HISE so I always disable this in my release build but I have to enable it in the debug build otherwise it won't open.

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

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

                  @d-healey Does it take longer than the initial startup of HISE?

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

                    @Christoph-Hart The debug build of HISE takes about 6 seconds to open, from within there the snippet browser takes about 12 seconds. So roughly twice as long.

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

                    1 Reply Last reply Reply Quote 0
                    • C
                      clevername27 @Christoph Hart
                      last edited by

                      @Christoph-Hart Thanks for the suggestion - I notice that the MIDI file was getting written OK (to the App Data folder), so I tried the same with audio - same thing. I know you're busy - if you have a chance, do you have any further thoughts? Thank you.

                      HISEnbergH 1 Reply Last reply Reply Quote 0
                      • HISEnbergH
                        HISEnberg @clevername27
                        last edited by HISEnberg

                        @clevername27 Do you have the most up-to date version of this code? Just trying it out from the snippet browser but it crashes HISE instantly.

                        Edit @Christoph-Hart even if you just have the code for the Audio Render Example without fixing this issue I would appreciate the opportunity to have a look and study it 😁 If I can fix it I can push the fix to the snippet browser Github repo.

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

                        38

                        Online

                        2.0k

                        Users

                        12.8k

                        Topics

                        110.6k

                        Posts