HISE Logo Forum
    • Categories
    • Register
    • Login

    Engine.getPlayHead() Examples?

    Scheduled Pinned Locked Moved General Questions
    12 Posts 4 Posters 569 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.
    • NatanN
      Natan
      last edited by

      Okay I'm Uncommented These Lines:

      /*newPosition*/
      //static const Identifier isPlaying("isPlaying");
      //ScopedLock sl(getLock());
      //hostInfo->setProperty(isPlaying, newPosition.isPlaying);
      

      Compiled Succefully.
      And...

      Is This the Way I Can Recall The Playhead?
      Example:

      if(Engine.getPlayHead().isPlaying )
      {
      // Some Codes Here  	 
            }
      

      Thanks

      1 Reply Last reply Reply Quote 0
      • NatanN
        Natan
        last edited by

        Okey, I Connected The Play Head to A Simple Gain Module To Check If It Works Correctly:

        But Not Sure No Idea if This is Correct Or Not:

            if(Engine.getPlayHead().isPlaying )
                {
                PlayHead.setBypassed(1);
                }
                else
                {
                PlayHead.setBypassed(0); 
                }
        

        Any Help Is such Appreciated

        1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart
          last edited by

          Use the TransportHandler I've added a few hours ago.

          Link Preview Image
          HISE | Docs

          favicon

          (docs.hise.audio)

          NatanN 2 Replies Last reply Reply Quote 1
          • NatanN
            Natan @Christoph Hart
            last edited by

            @Christoph-Hart Thank you Christoph :) God bless you man
            Recompiling Now :)

            1 Reply Last reply Reply Quote 0
            • NatanN
              Natan @Christoph Hart
              last edited by

              @Christoph-Hart said in Engine.getPlayHead() Examples?:

              e the TransportHandler I've added a few hours ago

              Christoph, Do you have a minimal Example Of How to Enable/Disable A Module Based on DAW TransportHandler?
              Thank in advance

              1 Reply Last reply Reply Quote 0
              • NatanN
                Natan
                last edited by

                @Christoph-Hart
                Excellent job :) I Found how :)

                alt text

                1 Reply Last reply Reply Quote 0
                • NatanN
                  Natan
                  last edited by

                  @Christoph-Hart
                  alt text

                  DanHD 1 Reply Last reply Reply Quote 0
                  • Y
                    yall
                    last edited by

                    @Christoph-Hart Can we now use the gain modulator without latency or mess problem? to create a sidechain effect for example?

                    1 Reply Last reply Reply Quote 2
                    • DanHD
                      DanH @Natan
                      last edited by

                      @Natan Can we use this to get LFOs in sync with FX Plugins?

                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                      https://dhplugins.com/ | https://dcbreaks.com/
                      London, UK

                      NatanN 1 Reply Last reply Reply Quote 0
                      • NatanN
                        Natan @DanH
                        last edited by

                        @DanH I Used this for My Graphic Ideas
                        Not Sure if this can help to sync The LFO Latency :/
                        @Christoph-Hart

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

                        44

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        101.9k

                        Posts