HISE Logo Forum
    • Categories
    • Register
    • Login

    [Feature request] Click track overlay in wave editor

    Scheduled Pinned Locked Moved Feature Requests
    10 Posts 3 Posters 958 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.
    • d.healeyD
      d.healey
      last edited by d.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?

      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 nope sounds like an easy addition (adding a new mode to the drop down menu)

        d.healeyD 1 Reply Last reply Reply Quote 1
        • d.healeyD
          d.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?

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

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

            I think I'm getting there :D

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

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

            1 Reply Last reply Reply Quote 4
            • d.healeyD
              d.healey
              last edited by d.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?

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

              clevername27C 1 Reply Last reply Reply Quote 1
              • clevername27C
                clevername27 @d.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?

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.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

                  Link Preview Image
                  Attempt at implementing beats view on timeline · davidhealey/HISE@1c7d93f

                  The open source framework for sample based instruments - Attempt at implementing beats view on timeline · davidhealey/HISE@1c7d93f

                  favicon

                  GitHub (github.com)

                  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

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

                  clevername27C 1 Reply Last reply Reply Quote 1
                  • clevername27C
                    clevername27 @d.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.

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

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

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

                      1 Reply Last reply Reply Quote 1
                      • d.healeyD
                        d.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

                        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

                        6

                        Online

                        1.8k

                        Users

                        12.1k

                        Topics

                        104.9k

                        Posts