boyofgreen Posted November 20, 2016 Share Posted November 20, 2016 Hi. I remember meeting a French guy who was very close with his brother (he talked about him a lot) and worked on the audio for Babylon.js. I have a question for him. I am looking at my audio files and trying to determine if they should be playing at any particular keyframe based on them being set to Play at an earlier key frame. Right now I'm looking at the soundFile._audioBuffer.duration and then doing some math to determine if it should be playing part way through at the current key frame. Two questions: 1. is there an easier way to do this? 2. is the "duration" accurate or is there a better way to get duration of a sound file? Thanks, Jeff Quote Link to comment Share on other sites More sharing options...
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.