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.
    • L
      LeeC @ulrik
      last edited by LeeC

      Hey @ulrik,

      Really nice snippet that you've put together here.

      HiseSnippet 1709.3oc4X80aaaCDWJIpH1concqXXORXrGbvbisSRy5VwPUhSRa1RZ7hb61PQWAiDsEQkH0jnSiWQA12f80ZOtOB6iPecOscThxh1w0wMqcHCSOHYd7Nxe2e3cGc6XtKIIgGaXVpyfHhg4GX4LfI7a4ioLi811vrrUPWNRPRDFaMHBmjP7LLMm+9x4MKsfQ5yqu2V3.LykTPxv3wbpKYeZHUTPss82PCB1E6Q5PC03dc68b4rV7.de.Kya0vHB69bbOxCwR1lyxv7J63QE7XGAF.ig4Baw8F33yeAKi+GSSnGGPjCZZ3.KTF4c4AdRDKoZzxmF30NWmSLLLsZWXAlOyBbSqCndzgzKrDWOcBTgD51Cy4lF7ZpCuFyN7L0f2BYv6FVNtwzHQwLRrcUq8XBRbWL3BzgUFuFy8mVVs3.GLwJg3mS1MFFLThpaznQMzsazX46tTYvMjHPmfiQ6u6gGv85GfA0pI5qPoAFqziHFRsZEfGTASUjKvRkqWGgb3gDTr+.geHhbJNLJfjrTY4xlQLYy3XXMeRy5qWC0r9cpgVS9510atg7mx2Mqul7U5uZtp78pq+zga.mEL.0kGi7nIQA3Ann9wQ7DBpZhHlx5s736liHcCq.6XkZH3ycjeVK6ibeyFl8E16rOpQMWM66pqWICBYfniOMAkDP8HwH3WBeBJgFJsFDOTkGvSDaEEVIElBIqJKgtUVwD.sbGDXgawCi3LXP0gKhzzlyQBQ59iHwBJIA7kgesygOrf0ZuboxH3oRHkU4KQq2nV9X7ov3UaLjPhfD4P+YBPsY4WU385.JRbpgCgV4rO53+nL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6SXt5Y5skog1qHKl8uZKy3AWoMT0.0Pw2mzC1HcJcHPAUHi4HgFNgbNbaXVuQStcS6847ncXXvJ3ouHs8gfAnqYnO9QRY0OQvCywR5+QjCzwQZeelOwZi0k2Ts6mIe+EsfWqc36lwFu6h5laFi59nTO4PWlzmdIuihLDOLd5+.Hdp8.M++O6A5HdeAbN8.LjKGZu15g8CcfVObI.RXLRf71jlyIOKlMtgbbVuGLuzA+E7nlrobroZxl4S9uxdDhci4OyM6JkxCdKlRAzaV5eubIqCjiQMyuIokUiUZHurB8YttRy8s.6yjkY0KfLqcAjY8KfL29BHyFW.Y97KfL2YpxH6cay9P98rih.g16jkY2bXEBy4M9a.hWOVJ
      
      

      It might actually be a good work around for the temposync issues that I'm currently facing using scriptnode ( https://forum.hise.audio/topic/2120/flanger-in-scriptnode/17)

      One quick question.
      How did you go about getting the actual hostBPM from the host in your example, instead of simulating the Host using a slider?

      Appreciate your insight ☺

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

                            30

                            Online

                            1.7k

                            Users

                            11.8k

                            Topics

                            102.5k

                            Posts