How Do I Find the Transport Position in Seconds
-
Could someone please guild me in finding the host transport position in seconds? Thank you.
-
Engine.getPlayHead()
with one of these conversion functions - https://docs.hise.audio/scripting/scripting-api/engine/index.html#getmillisecondsforsamples -
@d-healey Thank you for your reply, David. I can see how to get the current bar number, but nothing else. What am I missing?
-
@clevername27 I'm not sure I've never used it
-
@d-healey Yeah, it's not something that (according to the documentation) that it appears you can do. JUCE has hooks for it, and there's a section of HISE that has that places that information as member variables (presumably with public access), but it's commented out. I've recompiled with the code, but I can't reference the variables—it may be a syntax thing, but I can' tell. (There's no error message, just nothing happens.)