Share Posted May 14, 2016 Quick question - if it possible to add sound effects to a GSAP timeline? Link to comment Share on other sites More sharing options...
Share Posted May 14, 2016 Hi ald603 You can't add the sounds directly to a timeline as GSAP has no way to play them, but you can certainly add a function with sounds and call that when you need it. Happy tweening. 1 Link to comment Share on other sites More sharing options...
Author Share Posted May 17, 2016 Thank you, this is pointing me in the right direction for what I'm working on. Link to comment Share on other sites More sharing options...
Share Posted May 17, 2016 This thread might be helpful: http://greensock.com/forums/topic/8755-play-sound-clip-in-tweens/ Link to comment Share on other sites More sharing options...
Share Posted May 24, 2016 Hi ald603 You can't add the sounds directly to a timeline as GSAP has no way to play them... I see you need a certain song stuck in your head... See the Pen epLjrG by osublake (@osublake) on CodePen Lots of media properties can be tweened including playback. 1 Link to comment Share on other sites More sharing options...
Share Posted May 24, 2016 Well... where were you hiding when this question was asked. Originally, I thought she was asking about dropping a raw sound file right into the tween so I posted my answer. Later, I was actually thinking about your demo, but then got sidetracked and didn't make it back here. Of course, you never came along to correct me either... until now. Dang it Blake, you've got to show up to patrol these forums and keep me in line. ...and yes - thanks very much for putting that song in my head again. 2 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