HISE Logo Forum
    • Categories
    • Register
    • Login

    Transport handler recognize daw record?

    Scheduled Pinned Locked Moved Feature Requests
    9 Posts 2 Posters 361 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.
    • ulrikU
      ulrik
      last edited by

      In my current project I could use a way to find out if the daw is recording or not, would it be possible to extend the TransportHandler functions to include that?

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

      ulrikU clevername27C 3 Replies Last reply Reply Quote 0
      • ulrikU
        ulrik @ulrik
        last edited by ulrik

        @ulrik I also wonder if there is a way for a plugin to find out if it's track is active or not (selected)?

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

        clevername27C 1 Reply Last reply Reply Quote 0
        • ulrikU
          ulrik @ulrik
          last edited by ulrik

          @ulrik I see that Juce has the "getIsRecording()" boolean check

          True if the transport is currently recording.
          

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

          1 Reply Last reply Reply Quote 0
          • clevername27C
            clevername27 @ulrik
            last edited by clevername27

            @ulrik Yes, you can - just uncomment the lines in the C++ for that, and use the Playhead API in HISE. (Ask me if you need more info.)

            ulrikU 1 Reply Last reply Reply Quote 1
            • clevername27C
              clevername27 @ulrik
              last edited by clevername27

              @ulrik Going from memory here - I think you need to use ARA for track selection. (That's what I used in SpectraLayers.)

              clevername27C 1 Reply Last reply Reply Quote 0
              • ulrikU
                ulrik @clevername27
                last edited by

                @clevername27 Please tell me more :)

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

                clevername27C 1 Reply Last reply Reply Quote 0
                • clevername27C
                  clevername27 @ulrik
                  last edited by

                  @ulrik In MainController.cpp, uncomment these four things:

                  Screenshot 2023-04-19 at 5.30.35 PM.png

                  var myPlayhead = Engine.getPlayHead();
                  var isRecording = myPlayhead. isRecording;

                  ulrikU 1 Reply Last reply Reply Quote 1
                  • clevername27C
                    clevername27 @clevername27
                    last edited by

                    @clevername27 ARA is a plugin format that allows access to host information. When I was designing the Steinberg version of SpectraLayers, I chose to make it an ARA plugin so we had access.

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

                      @clevername27 Thanks a lot! 👍

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

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

                      16

                      Online

                      1.8k

                      Users

                      12.1k

                      Topics

                      104.9k

                      Posts