HISE Logo Forum
    • Categories
    • Register
    • Login

    Thoughts on the Playhead [Titled Changed]

    Scheduled Pinned Locked Moved Scripting
    18 Posts 4 Posters 598 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.
    • ustkU
      ustk @clevername27
      last edited by

      @clevername27 Oh I see it's commented out by default... Then we can push a pull request ourselves with all the lines un-commented

      Can't help pressing F5 in the forum...

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

        @ustk Lol, I just wrote that—it was the point of the post. 😀

        ustkU 2 Replies Last reply Reply Quote 1
        • ustkU
          ustk @clevername27
          last edited by

          @clevername27 Lol sorry my English isn't good enough, I thought you meant to ask Chris to do it 🙃

          Can't help pressing F5 in the forum...

          clevername27C Christoph HartC 2 Replies Last reply Reply Quote 1
          • ustkU
            ustk @clevername27
            last edited by

            @clevername27 Sorry but I don't see any pull request in the git :man_shrugging:

            Can't help pressing F5 in the forum...

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

              @ustk EDIT: I misunderstood; you mean the request is correct place for me to do it—you're right, and I will do.

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

                Not sure about that - it will increase the CPU load for each buffer callback (not much, but since 99% don't use it it will be too much).

                TransportHandler's init callbacks sometimes fail.

                When is this the case? I'd rather fix those than reintroduce the JSON object.

                clevername27C 1 Reply Last reply Reply Quote 2
                • ustkU
                  ustk @clevername27
                  last edited by ustk

                  @clevername27 said in Source Change Request:

                  @ustk I did; or somebody. I'm not an employee. 😀

                  Me neither... But that's the only option we have to add things sometimes since Chris can't do it all, unfortunately. Making simple stuff ourselves allows Chris to have more time for the things we can't do. I'd like to get a quicker reaction for our requests too. But participating to Hise at our level brings many advantages like having fixes and implementations as fast as we want, give more time to Chris for important things, and learn C++ and the Hise structure...

                  Can't help pressing F5 in the forum...

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

                    @Christoph-Hart Thank you for your response. My $0.2 is that since the TransportHandler (currently) doesn't provide access to the same data, and doesn't seem to allow it the same way, then there's no need to keep that code commented out—especially when the documentation says it is. As to when is the case, I appreciate you asking, but I'm not sure how to answer that—it happens in my code, but maybe I'm doing something wrong that breaks it. (That's why I wrote "seems to", instead of saying there was a problem; it works in your demo code.)

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

                      @ustk (Yes you're right; my bad.)

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

                        @clevername27

                        it happens in my code, but maybe I'm doing something wrong that breaks it.

                        Can you make a minimal snippet that triggers the issue?

                        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 I really appreciate the offer—it's just too much code to go through and untangle. But thank you, kindly.

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

                            What property are you missing in the TransportHandler? I don't think that reenabling those properties is a good default - it's old, deprecated and slow and is only there for people who started projects before the TransportHandler and I'd rather remove the entire method altogether than reenabling the properties.

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

                              @Christoph-Hart Thank you for your question. Just the kinds of things that lower-level access allows. I realize the struct is deprecated and may go away at some point.

                              • Polling parameters (e.g., bpm and time signature) when needed, instead of keeping track of them with callbacks — it's a cool feature when you need to know when something has changed, but otherwise can be a little clumsy?

                              • This may be my own issue, but the callbacks aren't being called at init. (They obviously work in your code example.)

                              • Writing your own callbacks — for example, I want to show the user the seconds and samples of the DAW's playhead with high granularity—like the display in the MIDI keyboard. Another is example is doing calculations on the playhead in real-time.

                              • The specific things in CurrentPositionInfo that simply aren't available in the Transport API, such as whether the DAW is recording or not.

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

                              18

                              Online

                              1.8k

                              Users

                              12.1k

                              Topics

                              104.9k

                              Posts