HISE Logo Forum
    • Categories
    • Register
    • Login

    *Feature Request* Extra tempo synced speeds for modulation

    Scheduled Pinned Locked Moved Feature Requests
    23 Posts 7 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.
    • d.healeyD
      d.healey @LeeC
      last edited by

      @LeeC I haven't looked at the code, but I would guess Engine.getHostBmp();

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

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

        @LeeC as David said "Engine.getHostBmp();"

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

        1 Reply Last reply Reply Quote 0
        • L
          LeeC @d.healey
          last edited by LeeC

          Thanks @ulrik and @d-healey 😊

          More specifically, the question was how do we get a change in BPM within a DAW to trigger an action in HISE using code?

          I guess, I was expecting there to be some kind of call back function.

          Thanks again

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

            @LeeC I guess you have to use a timer that continuous checks the host tempo

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

            L 1 Reply Last reply Reply Quote 0
            • L
              LeeC @ulrik
              last edited by LeeC

              @ulrik ok thanks.

              Any thoughts on how frequently to call Engine.getHostBmp(); using a timer?

              Also, will this method eat up unnecessary CPU?

              Thanks again 😊

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

                @LeeC I don't think the timer will eat up much cpu, but maybe some more qualified can answer that.
                I think you should try to set up a test plugin and run it in your host, you could even make button and a slider in your plugin, slider to change the timer freq and a button to restart it.

                I'm just speculating now but maybe the code
                "Engine.getHostBmp();"
                will check the host continuous already? or maybe when the host change tempo it spits out the information the plugin will respond immediately, I don't know?
                Maybe some with more knowledge can chime in?

                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

                  I think the timer is the only option at the moment. If would be nice to see some host callbacks for bpm and transport states @Christoph-Hart ;)

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

                  ulrikU 1 Reply Last reply Reply Quote 2
                  • ulrikU
                    ulrik @d.healey
                    last edited by

                    @d-healey but what about all modulators "Tempo Sync", they follow if the host change tempo, so there must be some inbuilt function there?

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

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

                      @ulrik I don't think we can access it through scripting though. Might be able to with scriptnode...

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

                      ulrikU 1 Reply Last reply Reply Quote 0
                      • ulrikU
                        ulrik @d.healey
                        last edited by

                        @d-healey Ok.

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

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          LeeC @ulrik
                          last edited by

                          @ulrik @d-healey

                          Yes I was excited to see @Christoph-Hart push some new features to the tempo.sync node in scriptnode a few days ago.
                          However, exported fx using this node sound very strange when using them in a DAW as mentioned in this thread https://forum.hise.audio/topic/2120/flanger-in-scriptnode/17).

                          I’m gonna keep exploring the timer solution for now šŸ˜€

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

                          27

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          102.5k

                          Posts