andy Posted May 30, 2016 Share Posted May 30, 2016 Hi all, I need something like fadeTo for sound, so the volume changes from 1.0 to 0.2. I looked at babylon source and decided to use private var _soundGain. introSound._soundGain.gain.setTargetAtTime(0.2, introSound._soundSource.context.currentTime + 1, 1); It works. But is there a way to apply Babylon animations to sound volume? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 31, 2016 Share Posted May 31, 2016 Our WebAudio god is @davrous. He will soon be able to help you Quote Link to comment Share on other sites More sharing options...
davrous Posted June 9, 2016 Share Posted June 9, 2016 Hi, I need to add this to my list of new features for 2.5. But I don't think I will couple it with Babylon Animations. I need to check that. Cheers, David Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.