Forum
    • Categories
    • Register
    • Login

    [Feature request] Click track overlay in wave editor

    Scheduled Pinned Locked Moved Feature Requests
    10 Posts 3 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.
    • David HealeyD
      David Healey
      last edited by David Healey

      This is a strange one but hear me out :)

      I'm trying to create loops that sync to tempo. In order to do this I need to put my loop points inline with the beats of the audio. My current method is I load my click track and my sample into audacity, to locate my beats, and then I eyeball it in HISE.

      What I would like is to have a grid overlay in the wave editor that matches the current HISE host tempo, so I can more accurately place my loop points.

      6a8ebd2e-ad81-4d0d-9a54-360e7fdc01c0-image.png

      And maybe this little drop down can have a beats option.

      d1baa791-6b9f-4b13-bd4f-aba1f5f47f95-image.png

      Or is there another obvious solution I'm missing?

      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 @David Healey
        last edited by

        @d-healey nope sounds like an easy addition (adding a new mode to the drop down menu)

        David HealeyD 1 Reply Last reply Reply Quote 1
        • David HealeyD
          David Healey @Christoph Hart
          last edited by

          @Christoph-Hart said in [Feature request] Click track overlay in wave editor:

          sounds like an easy addition

          This gave me confidence so thought I'd try and add it myself :)

          I've got the menu option working, easy.

          I've got something happening when selecting beats, but it's not what I expect. I've pushed it to this branch if you could give me any pointers that would be good. I'm assuming also I'll need to get the current time signature, and also add a tempo listener to trigger a redraw when/if HISE's tempo changes?

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

          1 Reply Last reply Reply Quote 1
          • David HealeyD
            David Healey
            last edited by

            I think I'm getting there :D

            b5624f81-4a86-4902-9973-67b8e1cafbd2-image.png

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

            1 Reply Last reply Reply Quote 4
            • David HealeyD
              David Healey
              last edited by David Healey

              @Christoph-Hart I'm changing the tempo in the HISE Controller popup, but my tempoListener isn't firing. Any hints?

              Edit: It fires when I change the tempo in the settings floating tile... so I'm guessing the HISE controller is totally separate then?

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

              C 1 Reply Last reply Reply Quote 1
              • C
                clevername27 @David Healey
                last edited by clevername27

                @d-healey I'm trying to remember from the last time you and I messed with this. I uncommented the related JUCE stuff so I could call it from HISE—are you familiar with that?

                David HealeyD 1 Reply Last reply Reply Quote 0
                • David HealeyD
                  David Healey @clevername27
                  last edited by

                  @clevername27 I'm not sure what you're referring to, more details please.

                  @Christoph-Hart I think I'm 99% there now. But I'm running into an assertion when I change the tempo, something about needing to remove my tempo listener, not sure exactly what I should be doing there. JUCE Assertion failure in MainController.cpp:1679

                  https://github.com/davidhealey/HISE/commit/1c7d93ff5d2d19d4c2e19d86bd235e292ac1a05e

                  I'm still wondering if the tempo listener should trigger when changing the tempo in the HISE controller, is there a bug there? The time signature listener is triggered correctly.

                  Peek 2025-01-29 23-13.gif

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

                  C 1 Reply Last reply Reply Quote 1
                  • C
                    clevername27 @David Healey
                    last edited by

                    @d-healey There were a bunch of transport-related parameters that are commented-out in HISE; @Christoph-Hart introduced the Transport object as a higher-level solution, if memory serves.

                    44a5f3f1-6d54-4638-adfe-b7f0120adb30-image.png

                    While searching, I also found this post, which kinda blew my mind lol…I didn't realise I knew how to do that.

                    David HealeyD 1 Reply Last reply Reply Quote 1
                    • David HealeyD
                      David Healey @clevername27
                      last edited by

                      @clevername27 I think that's unrelated to what I'm doing here.

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

                      1 Reply Last reply Reply Quote 1
                      • David HealeyD
                        David Healey
                        last edited by

                        Something occurred to me. If we adjust the start time of our sample, then the timeline doesn't make much sense because it always goes from 0. So in the branch I'm working on I've adjusted it so it always starts counting from the start position of the sample - any downsides to this approach?

                        efbc6c31-5459-4025-8352-9eb73b3fdc9a-image.png

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

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

                        24

                        Online

                        2.1k

                        Users

                        13.0k

                        Topics

                        112.6k

                        Posts