Detecting how long is the sound file to sync lip animation

mshuraih mshuraih Member, PRO Posts: 179

is there away to tell GS when audio file is playing and when it stop playing so u can animate character lips or the same period

Comments

  • SocksSocks London, UK.Member Posts: 12,822

    @mshuraih said:
    is there away to tell GS when audio file is playing

    Yes! It will play when you tell it to play.

    @mshuraih said:
    and when it stop playing

    If you know the length of the audio file, you will know when it stops playing.

  • mshuraih mshuraih Member, PRO Posts: 179

    @Socks said:

    @mshuraih said:
    is there away to tell GS when audio file is playing

    Yes! It will play when you tell it to play.

    @mshuraih said:
    and when it stop playing

    If you know the length of the audio file, you will know when it stops playing.

    well its not that easy if u have many many dialog u need to set up the length of each animation manually for each sentence ( can be done but .. u know laziness ) , I just wonder if the GS will now when the audio file has reach to end .. well i think it can internally tell that because it can loop it .. but can we access that info somewhere

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Nope. I've done long animations synced. Just make a list of the audio lengths and add a timer to the next audio track. Or use a stepped integer to trigger each animation and audio. It's not that hard.

Sign In or Register to comment.