benoit Posted January 29, 2022 Share Posted January 29, 2022 Hi, I try to make my own player with timeline and sound butI don't know what's wrong in my codepen. Read the sound, is good in synch but seek and pause fail. In my case, I change the timeScale to make it easy to "snap" with half-note and use "progress" to "seek". The yellow circle is the open hit hat and is not good when I "seek" or "pause" the sound. Any idea, any similar tools (with sound, I know GSDEVtools) ? See the Pen MWOwRYo by benoitwimart (@benoitwimart) on CodePen Link to comment Share on other sites More sharing options...
OSUblake Posted January 29, 2022 Share Posted January 29, 2022 Hi benoit, I'm not exactly sure what you're looking for, but if want to keep everything in sync, it might be better to use something like rAF or GSAP's ticker to do the update. See the Pen ZEabWoN by GreenSock (@GreenSock) on CodePen 1 Link to comment Share on other sites More sharing options...
benoit Posted January 29, 2022 Author Share Posted January 29, 2022 I made another pen with tl.play (left and yellow bar) VS tick (right and blue bar)… tick version is faster (maybe timeScale + progress need a tricks) ? See the Pen JjOYbYg by benoitwimart (@benoitwimart) on CodePen Link to comment Share on other sites More sharing options...
benoit Posted January 29, 2022 Author Share Posted January 29, 2022 OK I found my error ! ```repeat:1``` is 1 time + 1 repeat See the Pen JjOYWRB?editors=1010 by benoitwimart (@benoitwimart) on CodePen 1 Link to comment Share on other sites More sharing options...
mikel Posted January 30, 2022 Share Posted January 30, 2022 Hey @benoit, I like DRUMS! See the Pen zYPvMQz by mikeK (@mikeK) on CodePen Happy drum ... Mikel 4 Link to comment Share on other sites More sharing options...
benoit Posted January 30, 2022 Author Share Posted January 30, 2022 YES! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now